Node.js

Page 2 of 4 — Node.js CVEs from a corpus of 303, newest first, with CVSS severity and publication dates.

Node.js CVEs — newest first (page 2 of 4)
CVESeverityScorePublishedSummary
CVE-2025-59464High7.52026-01-20A memory leak in Node.js’s OpenSSL integration occurs when converting `X.509` certificate fields to UTF-8 without freeing the allocated buffer. When applicatio…
CVE-2025-55132Medium5.32026-01-20A flaw in Node.js's permission model allows a file's access and modification timestamps to be changed via `futimes()` even when the process has only read permi…
CVE-2025-55131High7.12026-01-20A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when using the `vm` module with the timeout optio…
CVE-2025-55130Critical9.12026-01-20A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted relative symlink paths. By…
CVE-2026-22036Medium5.92026-01-14Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize…
CVE-2025-27210High7.52025-07-18An incomplete fix has been identified for CVE-2025-23084 in Node.js, specifically affecting Windows device names like CON, PRN, and AUX. This vulnerability…
CVE-2025-27209High7.52025-07-18The V8 release used in Node.js v24.0.0 has changed how string hashes are computed using rapidhash. This implementation re-introduces the HashDoS vulnerability…
CVE-2025-23167Medium6.52025-05-19A flaw in Node.js 20's HTTP parser allows improper termination of HTTP/1 headers using `\r\n\rX` instead of the required `\r\n\r\n`. This inconsistency enables…
CVE-2025-23166High7.52025-05-19The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the…
CVE-2025-23165Low3.72025-05-19In 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 o…
CVE-2025-47279Low3.12025-05-15Undici is an HTTP/1.1 client for Node.js. Prior to versions 5.29.0, 6.21.2, and 7.5.0, applications that use undici to implement a webhook-like system are vuln…
CVE-2025-23085Medium5.32025-02-07A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected…
CVE-2025-23084Medium5.52025-01-28A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the Windows environment. Certain Node.js functions do not…
CVE-2025-23083High7.72025-01-22With the aid of the diagnostics_channel utility, an event can be hooked into whenever a worker thread is created. This is not limited only to workers but also…
CVE-2025-22150Medium6.82025-01-21Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses `Math.random()` to choose the boundary for…
CVE-2024-37372Low3.62025-01-09The Permission Model assumes that any path starting with two backslashes \ has a four-character prefix that can be ignored, which is not always true. This subt…
CVE-2024-27980High8.12025-01-09Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands a…
CVE-2024-36138High8.12024-09-07Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process.spawn / ch…
CVE-2024-36137Low3.32024-09-07A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used. Node.js Permiss…
CVE-2023-46809High7.42024-09-07Node.js versions which bundle an unpatched version of OpenSSL or run against a dynamically linked version of OpenSSL which are unpatched are vulnerable to the…
CVE-2023-39333Medium5.32024-09-07Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code. The injected code may be able to access data and functions that…
CVE-2023-30587High7.52024-09-07A vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-permission flag using the built-in inspector module (node:ins…
CVE-2023-30584High7.72024-09-07A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improper handling of pat…
CVE-2023-30583High7.52024-09-07fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in Node.js 20. This fl…
CVE-2023-30582Medium5.32024-09-07A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a no…
CVE-2024-22018Low2.92024-07-10A 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 fr…
CVE-2024-22020Medium6.52024-07-09A 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 co…
CVE-2024-38372Low2.02024-07-08Undici is an HTTP/1.1 client, written from scratch for Node.js. Depending on network and process conditions of a `fetch()` request, `response.arrayBuffer()` mi…
CVE-2024-27982Medium6.52024-05-07The 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 smuggl…
CVE-2024-3566Critical9.82024-04-10A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function whe…
CVE-2024-27983High8.22024-04-09An 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 inside. It is…
CVE-2024-30260Low3.92024-04-04Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear t…
CVE-2024-30261Low2.62024-04-04Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can alter the `integrity` option passed to `fetch()`, allowing `fetch()` to accept…
CVE-2024-22025Medium6.52024-03-19A vulnerability in Node.js has been identified, allowing for a Denial of Service (DoS) attack through resource exhaustion when using the fetch() function to re…
CVE-2024-22017High7.32024-03-19setuid() does not affect libuv's internal io_uring operations if initialized before the call to setuid(). This allows the process to perform privileged operati…
CVE-2024-22019High7.52024-02-20A vulnerability in Node.js HTTP servers allows an attacker to send a specially crafted HTTP request with chunked encoding, leading to resource exhaustion and d…
CVE-2024-21896Critical9.82024-02-20The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a…
CVE-2024-21892High7.82024-02-20On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privilege…
CVE-2024-21891High8.82024-02-20Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementati…
CVE-2024-21890Medium6.52024-02-20The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` -…
CVE-2024-24758Low3.92024-02-16Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Prox…
CVE-2024-24750Medium6.52024-02-16Undici is an HTTP/1.1 client, written from scratch for Node.js. In affected versions calling `fetch(url)` and not consuming the incoming body ((or consuming it…
CVE-2023-30590High7.52023-11-28The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key…
CVE-2023-30588Medium5.32023-11-28When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible t…
CVE-2023-30585High7.52023-11-28A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install Node.js using the .msi…
CVE-2023-30581High7.52023-11-23The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This…
CVE-2023-39332Critical9.82023-10-18Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Arr…
CVE-2023-39331High7.52023-10-18A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6. The new path traversal vulnerability arises because the imp…
CVE-2023-38552High7.52023-10-18When the Node.js policy feature checks the integrity of a resource against a trusted manifest, the application can intercept the operation and return a forged…
CVE-2023-45143Low3.92023-10-12Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects…
CVE-2023-44487High7.52023-10-10The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the w…
CVE-2023-32558High7.52023-09-12The use of the deprecated API `process.binding()` can bypass the permission model through path traversal. This vulnerability affects all users using the expe…
CVE-2023-32005Medium5.32023-09-12A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a no…
CVE-2023-32559High7.52023-08-24A privilege escalation vulnerability exists in the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. The use of the deprecated A…
CVE-2023-32002Critical9.82023-08-21The use of `Module._load()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability a…
CVE-2023-32006High8.82023-08-15The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. …
CVE-2023-32004High8.82023-08-15A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improper handling of Buf…
CVE-2023-32003Medium5.32023-08-15`fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass the permission model check using a path traversal attack. This flaw arises from a missing check in…
CVE-2023-30589High7.52023-07-01The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling…
CVE-2023-30586High7.52023-07-01A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled, whi…
CVE-2023-23920Medium4.22023-02-23An untrusted search path vulnerability exists in Node.js. <19.6.1, <18.14.1, <16.19.1, and <14.21.3 that could allow an attacker to search and potentially load…
CVE-2023-23919High7.52023-02-23A cryptographic vulnerability exists in Node.js <19.2.0, <18.14.1, <16.19.1, <14.21.3 that in some cases did does not clear the OpenSSL error stack after opera…
CVE-2023-23918High7.52023-02-23A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (h…
CVE-2023-24807High7.52023-02-16Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers.set()` and `Headers.append()` methods are vulnerable to Regular Expression Deni…
CVE-2023-23936Medium6.52023-02-16Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from…
CVE-2022-43548High8.12022-12-05A OS Command Injection vulnerability exists in Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1 due to an insufficient IsAllowedHost check that can easil…
CVE-2022-35256Medium6.52022-12-05The llhttp parser in the http module in Node v18.7.0 does not correctly handle header fields that are not terminated with CLRF. This may result in HTTP Request…
CVE-2022-35255Critical9.12022-12-05A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/c…
CVE-2022-3786High7.52022-11-01A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain si…
CVE-2022-3602High7.52022-11-01A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain si…
CVE-2022-35948Medium5.32022-08-15undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection_ on headers when using unsanitized inp…
CVE-2022-35949Medium5.32022-08-12undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forgery) when an application takes in **user…
CVE-2022-31151Low3.72022-07-21Authorization headers are cleared on cross-origin redirect. However, cookie headers which are sensitive headers and are official headers found in the spec, rem…
CVE-2022-31150Medium5.32022-07-19undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5…
CVE-2022-32223High7.32022-07-14Node.js is vulnerable to Hijack Execution Flow: DLL Hijacking under certain conditions on Windows platforms.This vulnerability can be exploited if the victim h…
CVE-2022-32222Medium5.32022-07-14A cryptographic vulnerability exists on Node.js on linux in versions of 18.x prior to 18.40.0 which allowed a default path for openssl.cnf that might be access…
CVE-2022-32215Medium6.52022-07-14The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly handle multi-line Transfer-Encoding headers. This can lead…
CVE-2022-32214Medium6.52022-07-14The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not strictly use the CRLF sequence to delimit HTTP requests. This can le…
CVE-2022-32213Medium6.52022-07-14The llhttp parser <v14.20.1, <v16.17.1 and <v18.9.1 in the http module in Node.js does not correctly parse and validate Transfer-Encoding headers and can lead…
CVE-2022-32212High8.12022-07-14A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypas…
CVE-2022-32210Medium6.52022-07-14`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that p…
CVE-2022-0778High7.52022-03-15The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this functi…
CVE-2022-21824High8.22022-02-24Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while s…
CVE-2021-44533Medium5.32022-02-24Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subj…
CVE-2021-44532Medium5.32022-02-24Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certifica…
CVE-2021-44531High7.42022-02-24Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-const…
CVE-2021-4044High7.52021-12-14Internally libssl in OpenSSL calls X509_verify_cert() on the client side to verify a certificate supplied by a server. That function may return a negative retu…
CVE-2021-3672Medium5.62021-11-23A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS (Domain Name Servers) can lead to output of wrong host…
CVE-2021-22959Medium6.52021-11-15The parser in accepts requests with a space (SP) right after the header name before the colon. This can lead to HTTP Request Smuggling (HRS) in llhttp < v2.1.4…
CVE-2021-22960Medium6.52021-11-03The parse function in llhttp < 2.1.4 and < 6.0.6. ignores chunk extensions when parsing the body of chunked requests. This leads to HTTP Request Smuggling (HRS…
CVE-2021-22930Critical9.82021-10-07Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to chang…
CVE-2021-22940High7.52021-08-16Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to chang…
CVE-2021-22939Medium5.32021-08-16If the Node.js https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to se…
CVE-2021-22931Critical9.82021-08-16Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names retu…
CVE-2021-22921High7.82021-07-12Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specificall…
CVE-2021-22918Medium5.32021-07-12Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is re…
CVE-2021-3450High7.42021-03-25The X509_V_FLAG_X509_STRICT flag enables additional security checks of the certificates present in a certificate chain. It is not set by default. Starting from…
CVE-2021-3449Medium5.92021-03-25An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the…
CVE-2021-22884High7.52021-03-03Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not p…
CVE-2021-22883High7.52021-03-03Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to a denial of service attack when too many connection attempts with an 'unknownProtocol' a…