Node.js 21.7.0 vulnerabilities

25 published vulnerabilities affect Node.js 21.7.0, 1 of them known to be exploited in the wild. The 21.7 line no longer gets security fixes.

25CVEs
2critical (CVSS 9+)
9high (CVSS 7–8.9)
1exploited in the wild

What to upgrade to

The newest release on the 21.7 line is 21.7.3, with 21 known CVEs. The newest Node.js release we know of is 26.14.0, with no known CVEs.

Upgrade toFixesStill openNew in that release
21.7.3newest 21.7 release4 of 251 critical21CVE-2026-111497, CVE-2026-123872, CVE-2026-123864 and 18 morenone
26.14.0newest releaseall 251 exploited, 2 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Node.js 21.7.0

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2026-111497Out-of-Bounds Write in Google Brotli Decoder9.8Exploited100%22.23.4NVD
CVE-2024-3566Command injection vulnerability in programing languages on Microsoft Windows operating system.9.8Proof of concept7%21.7.3CVE record
CVE-2024-27983An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 frames inside8.2None known84%21.7.2CVE record
CVE-2026-123872Node.js is vulnerable to a client certificate authentication bypass via TLS 1.2 renegotiation servername change8.1None knownunder 1%22.23.5CVE record
CVE-2026-123864Node.js is vulnerable to cross-connection memory disclosure via TLS write re-entrancy in the HTTPS request parser8.1None knownunder 1%22.23.5CVE record
CVE-2024-27980Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands…8.1None known1%21.7.3CVE record
CVE-2024-36138Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process.spawn /…8.1None known1%–CVE record
CVE-2025-23083With the aid of the diagnostics_channel utility, an event can be hooked into whenever a worker thread is created7.7None knownunder 1%–CVE record
CVE-2026-123866Node.js is vulnerable to HTTP/2 response memory disclosure via a use-after-free during stream teardown7.5None knownunder 1%22.23.5CVE record
CVE-2026-123865Node.js is vulnerable to an HTTP/2 memory and file-descriptor leak via a protocol error during session shutdown7.5None knownunder 1%22.23.5CVE record
CVE-2025-23166The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the…7.5None knownunder 1%–CVE record
CVE-2026-123877Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy TLS session reuse6.8None knownunder 1%22.23.5CVE record
CVE-2024-22020A security flaw in Node.js allows a bypass of network import restrictions. By embedding non-network imports in data URLs, an attacker can execute arbitrary…6.5None known1%–CVE record
CVE-2024-27982The team has identified a critical vulnerability in the http server of the most recent version of Node, where malformed headers can lead to HTTP request…6.5None known1%21.7.2CVE record
CVE-2026-123871Node.js is vulnerable to proxy credential disclosure via ERR_PROXY_INVALID_CONFIG error messages6.2None knownunder 1%22.23.5CVE record
CVE-2026-123875Node.js is vulnerable to an HTTP/2 denial of service via a NULL pointer dereference when a respondWithFile() download is cancelled5.9None knownunder 1%22.23.5CVE record
CVE-2025-23084A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the Windows environment5.5None known2%–CVE record
CVE-2025-23085A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification5.3None known1%–CVE record
CVE-2026-123867Node.js is vulnerable to a per-host mTLS authorization bypass via a CA-only SNI context failing open to the default CA4.2None knownunder 1%22.23.5CVE record
CVE-2025-23165In Node.js, the `ReadFileUtf8` internal binding leaks memory due to a corrupted pointer in `uv_fs_s.file`: a UTF-16 path buffer is allocated but subsequently…3.7Proof of conceptunder 1%–CVE record
CVE-2024-37372The Permission Model assumes that any path starting with two backslashes \ has a four-character prefix that can be ignored, which is not always true3.6None knownunder 1%–CVE record
CVE-2024-36137A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used. Node.js…3.3None knownunder 1%–CVE record
CVE-2026-123862Node.js is vulnerable to a zlib denial of service via a stream destroy during a pending params() call2.9None knownunder 1%22.23.5CVE record
CVE-2024-22018A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. This flaw arises…2.9None knownunder 1%–CVE record
CVE-2026-123829Node.js is vulnerable to Permission Model file-name disclosure via recursive fs.watch2.5None knownunder 1%22.23.5CVE record

Support for the 21.7 line

The 21.7 line was first released 17 October 2023. Security fixes for it ended 1 June 2024, so vulnerabilities found since then stay open on every 21.7 release. Its latest release is 21.7.3. Dates and latest release from endoflife.date.

Other Node.js 21.7 releases

21.7.321 21.7.223 21.7.125

All Node.js versions

How this list is made

These are the CVEs Dawnsentry matches to each Node.js version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.