Threat intel4 min read
Node.js 24.23.0 closes a BlockList bypass on reset connections
Node.js 24.23.0 and 26.14.0 now close incoming connections when a server with a BlockList can't read the client's address. Before, those connections skipped the IP check entirely.
4Tify Team

Node.js 24.23.0, released on 30 November 2026 for the Krypton long-term support line, closes a gap in net.BlockList. A server that filters incoming connections by IP address could let a connection through without checking it at all, if Node.js failed to read the client's address. That connection is now rejected.
What happened
A net.Server can be given a blockList: a set of addresses, ranges and subnets it should refuse. Before handing a new connection to the application, Node.js asks the operating system for the peer's address and checks it against that list.
The lookup can fail. If the client resets the connection between the moment it is accepted and the moment Node.js asks for the address, the system call returns ENOTCONN and no address comes back. Until now, Node.js skipped the BlockList check in that case and passed the connection to the application's connection handler anyway. The maintainers' own description for this behaviour is "fail open".
The change, written by Matteo Collina and listed in the Node.js 24.23.0 release notes, makes the server close any connection whose peer address it cannot determine while a BlockList is configured. If the address is unknown, the server can't show the client is allowed, so it doesn't let it in.
The reporter's test showed that it depends on timing and that an abortive close from the client can trigger it, so whoever controls the client can cause it on purpose.
Who is affected
Only servers that use the blockList option of net.Server (or net.createServer) to refuse traffic by IP. Applications that don't configure a BlockList see no difference.
- Node.js 24.x before 24.23.0 is affected. The fix is in 24.23.0.
- The same change shipped in Node.js 26.14.0 on the same day.
- The latest Node.js 22 release at the time of writing (22.23.5, 11 November) does not list it.
The Node.js project has not assigned a CVE or a severity score to this change, and no exploitation has been reported. It is separate from CVE-2026-21636, the January 2026 flaw that let Unix domain socket connections bypass the permission model in Node.js 25.
What else is in the release
Node.js 24.23.0 also adds http.isValidHeaderName() and http.isValidHeaderValue(), so code can check a header's name and value before setting it. On the HTTP/2 side, data queued for a stream is now released from memory when that stream is cancelled.
What to do now
- Find where Node.js actually runs. Check the version inside the container image or on the host that serves production traffic (
node --version), not on a developer laptop. - If you rely on
net.BlockListfor inbound filtering, move to 24.23.0 (or 26.14.0 on the newer LTS line). Rebuild and redeploy images: updating the base image tag alone does nothing for containers that are already running. - After the update, test both sides: an allowed client still connects, and an address on the list is still refused.
- Check what address the BlockList really sees. Behind a reverse proxy or load balancer, the socket's peer is the proxy, not the visitor, so a rule written for the visitor's IP never matches. Enforce that kind of rule at the proxy, firewall or load balancer, where the original address is known.
- Don't treat an IP blocklist as access control on its own. Keep authentication in front of anything sensitive.
An IP filter inside the application is easy to forget once it's in place, and so is the runtime version under it. Our vulnerability scanning looks for exposed services and outdated software it can identify on your public hosts, so a gap like this one is more likely to show up on a report than in an incident.
