Node.js Fixes 16 Flaws, Including HTTP/2 Bugs That Crash Servers and Leak Other Connections' Data
About 4 min read
securityaisoftwarepayments
Node.js released emergency patches this week that close 16 security flaws, three of which could let unauthenticated attackers crash HTTP/2 servers or steal memory from other connections. The most urgent issues affect the runtime’s built‑in HTTP/2 implementation on the 24.x and 26.x release lines, where a specially crafted request can cause the server process to terminate or to leak portions of its own memory, including data meant for other clients. The patches are available in version 22.23.5, 24.22.3 and 26.13.1, covering all three actively supported branches of Node.js.
The first critical vulnerability, catalogued as CVE‑2026‑123863, is a denial‑of‑service flaw that requires only a default HTTP/2 server that begins to send a response before the request body has been fully received. The Node.js project describes this behavior as “typical” for many HTTP/2 services. An attacker can exploit the bug over both TLS‑encrypted and clear‑text connections, forcing the server to crash without needing any authentication. The condition is common enough that many production services using Node’s native HTTP/2 stack could be taken offline simply by sending a malformed request that triggers the premature reply.
A second HTTP/2 issue, CVE‑2026‑123866, is a memory‑exposure flaw that can cause a server to transmit fragments of its own memory to a client. This bug is present across all three supported lines. Starting with Node 24.22.0 and 26.9.0, a remote client alone can provoke the leak. On earlier 22.x releases and older 24.x and 26.x builds, the leak can still be triggered when the server itself aborts a stream partway through a response—for example, after an idle‑timeout shutdown. In both cases, the attacker can obtain data that belongs to other connections, potentially including sensitive application payloads.
A third vulnerability, CVE‑2026‑123864, targets Node.js HTTPS servers rather than HTTP/2 specifically. It allows an unauthenticated client to read memory belonging to other connections, with the advisory warning that the leaked data could include TLS private keys and other users’ request bodies. The exploit requires a handler that calls res.flushHeaders() before the request body is fully received and later calls res.end() with data. Additionally, the route must echo back or otherwise store the request body, creating a path for the leaked memory to be returned to the attacker. Plain HTTP servers built with the node:http module are not affected by this particular flaw.
All three of these high‑severity bugs are part of a broader set of sixteen vulnerabilities disclosed in the same advisory. Seven of the sixteen are rated “high,” and the remaining high‑rated issues also reside in Node’s own HTTP/2, HTTPS and TLS server code. Because the flaws are embedded in the core server implementations, any application that accepts HTTP/2, HTTPS or TLS connections directly with Node.js is potentially at risk. The advisory lists no work‑arounds; the only mitigation is to upgrade to the patched releases for each line. Servers that cannot be updated immediately are left without a viable short‑term fix.
The patches do not extend to end‑of‑life branches such as 20.x and 25.x, which remain vulnerable. The Node.js security team explicitly states that those versions are “always affected,” meaning users of those branches must migrate to a supported line to obtain protection. The advisory does not cite any known real‑world attacks exploiting these flaws, nor does it advise whether operators who have been exposed should rotate TLS private keys or other secrets after applying the updates.
Five of the disclosed flaws, including CVE‑2026‑123863 and CVE‑2026‑123864, were reported by security researcher Chris Rohlf in collaboration with the AI research organizations Claude and Anthropic. Their involvement underscores the growing role of AI‑assisted vulnerability discovery in the open‑source ecosystem.
For developers and operators who rely on Node.js for backend services, the practical impact is clear: any service that uses the built‑in HTTP/2 server must be upgraded immediately to version 24.22.3 or later, and HTTPS services must move to 22.23.5, 24.22.3 or 26.13.1 depending on the branch in use. Failure to do so could result in sudden service outages or inadvertent disclosure of confidential data, including cryptographic keys. Organizations should also audit their deployment pipelines to ensure that outdated Node.js versions are not being pulled in by container images or CI/CD scripts, and consider retiring legacy branches altogether. Updating now eliminates the immediate risk, while also aligning with the broader security posture recommended by the Node.js project.
A new technique called Weight2Shell has been disclosed by cybersecurity researchers, which allows artificial intelligence (AI) models to produce different behavior on different machines, eve…
Season 2: Legacy for Gears of War: E‑Day launches tomorrow, marking the franchise’s twentieth anniversary and offering a wave of new content for both veteran players and newcomers. The updat…
Hela: of Mice & Magic is set to launch on December 1, 2026 for Xbox Series X|S, and the title will be available on day one through Xbox Game Pass. The game presents an open‑world adventure i…