p PatchFirst

PatchFirst · Latest vulnerabilities

node.js 25.0.0: known vulnerabilities

Known vulnerabilities affecting node.js 25.0.0: 15. Compare the fixes below with your installed release.

Filter vulnerabilities
Clear filters

Early warnings

Fresh vulnerability reports from vendor announcements and security news. These warnings do not change the security rating.

Vulnerabilities: 15

  1. CVE-2026-126051

    High · CVSS 7.5EPSS 1.08%Fix available

    Node.js is vulnerable to a remotely triggerable uncaught exception in TLS servers via deferred handshake callbacks

    A deferred-callback use-after-destroy in Node.js TLS server handshake handling allows a remote, unauthenticated attacker to terminate the server process. When a TLS server uses any of the SNICallback, OCSPRequest, newSession, or resumeSession hooks, or server.addContext(), the corresponding OpenSSL callbacks are deferred, and the deferred code does not handle the underlying socket being destroyed between scheduling and execution. By sending a client hello that reaches the vulnerable path (for example, no SNI together with an OCSP request) followed by padding and a socket FIN, an attacker makes OpenSSL deliver the client hello and the end-of-f

    • Update to 26.13.1
    Published Updated
  2. CVE-2026-123875

    Medium · CVSS 5.9EPSS 0.57%Fix available

    Node.js is vulnerable to an HTTP/2 denial of service via a NULL pointer dereference when a respondWithFile() download is cancelled

    A NULL pointer dereference in Node.js HTTP/2 lets an unauthenticated client crash the server, over both TLS and cleartext, by cancelling file downloads. When the server serves a file with stream.respondWithFile() or stream.respondWithFD() and the client cancels the request, a StreamPipe used for the transfer is torn down in an order that leaves a NULL pointer which is then dereferenced, aborting the process. No crafted frames are needed, and a handful of cancelled requests against a default file-serving handler is enough. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

    • Update to 26.13.1
    Published Updated
  3. CVE-2026-123874

    High · CVSS 7.5EPSS 0.68%Fix available

    Node.js is vulnerable to an HTTP/2 use-after-free via respondWithFile() stream reset during a pending write

    A use-after-free in Node.js HTTP/2 lets an unauthenticated client corrupt server memory, over both TLS and cleartext, when the server serves files with respondWithFile() or respondWithFD(). A client can make the server free an Http2Stream while a write request that points to it is still queued on the socket; when that write completes, the code dereferences and makes a virtual call through the freed object. The only precondition is that the application serves a file with stream.respondWithFile() or stream.respondWithFD(), with default settings otherwise. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).

    • Update to 26.13.1
    Published Updated
  4. CVE-2026-123872

    High · CVSS 8.1EPSS 0.43%Fix available

    Node.js is vulnerable to a client certificate authentication bypass via TLS 1.2 renegotiation servername change

    A client certificate authentication bypass in Node.js TLS lets a client change the servername during TLS 1.2 renegotiation to reach endpoints it was not authorized for. On a server that applies different client-certificate policies per hostname, for example stricter admin-only client-cert auth on one host and ordinary client-cert auth on another, a client that authenticates for a permitted host can renegotiate the TLS 1.2 connection under a different servername and carry its existing authentication to the protected host, bypassing the stricter policy. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

    • Update to 26.13.1
    Published Updated
  5. CVE-2026-123877

    Medium · CVSS 6.8EPSS 0.29%Fix available

    Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy TLS session reuse

    A certificate validation bypass in Node.js https.Agent lets a cached TLS session authenticated under one CA policy be reused by a later request with a stricter policy. https.Agent.prototype.getName() assigns the same Agent and session-cache key to a request that omits ca and one that explicitly supplies ca: [], because an omitted value appends nothing to the key while an empty array stringifies to an empty string. The two policies differ: omitting ca uses the default trust store, while supplying ca replaces it. Since they share a key, a TLS session authenticated under the broader default policy is handed to a new connection made under the lat

    • Update to 26.13.1
    Published Updated
  6. CVE-2026-123871

    Medium · CVSS 6.2EPSS 0.22%Fix available

    Node.js is vulnerable to proxy credential disclosure via ERR_PROXY_INVALID_CONFIG error messages

    Node.js discloses proxy credentials in ERR_PROXY_INVALID_CONFIG error messages. CVE-2026-48615 established that a proxy credential must not appear in a Node.js error message and redacted the username and password from ProxyConfig.href, but that fix missed four error paths in the same subsystem, one of them inside the same constructor, which interpolate the raw proxy URL, credentials included, into an ERR_PROXY_INVALID_CONFIG message. The proxy URL comes from the environment, but the defect is the sink: a secret that Node.js redacts everywhere else is emitted verbatim into a much wider audience than the process environment, such as stderr, con

    • Update to 26.13.1
    Published Updated
  7. CVE-2026-123868

    Medium · CVSS 5.9EPSS 0.52%Fix available

    Node.js is vulnerable to an HTTP/2 memory exhaustion denial of service via unaccounted inbound DATA on an undrained stream

    An unauthenticated HTTP/2 client can exhaust Node.js server memory because inbound DATA queued on an undrained stream is charged to no session budget. Each inbound DATA frame creates one JavaScript Buffer view in the receiving stream's readable queue, but nothing charges that queue to current_session_memory_: the socket read buffer is accounted only during parsing and released immediately, so whatever stays queued is accounted to nothing. A peer that fills a stream's receive window with one-byte DATA frames pays about 10 wire bytes per frame while the server retains about 114 bytes per frame, so a single stream on one connection can retain hu

    • Update to 26.13.1
    Published Updated
  8. CVE-2026-123867

    Medium · CVSS 4.2EPSS 0.17%Fix available

    Node.js is vulnerable to a per-host mTLS authorization bypass via a CA-only SNI context failing open to the default CA

    A per-host mutual-TLS authorization bypass in Node.js lets a client authorized for the default hostname reach a protected hostname it is not authorized for. When a TLS server assigns a hostname a different client-certificate CA with `server.addContext(host, { ca: protectedCA })` but no server certificate in that SNI context, the per-host client CA is never installed and the handshake falls back to the default client CA. In `src/crypto/crypto_tls.cc`, `CertCbDone` installs the SNI context's CA only when `setSniContext` succeeds, but `setSniContext` returns `false` for a context with no server certificate, so a CA-only SNI context silently keep

    • Update to 26.13.1
    Published Updated
  9. CVE-2026-123866

    High · CVSS 7.5EPSS 0.59%Fix available

    Node.js is vulnerable to HTTP/2 response memory disclosure via a use-after-free during stream teardown

    A use-after-free in Node.js HTTP/2 stream teardown can leak response memory, including the contents of other connections' response buffers, to a peer. When a stream is torn down while a write is still backpressured, for example by a peer `RST_STREAM` or by the server's own per-stream timeout destroying the stream, the stream's response buffer is freed but a reference to it is still used, so freed or unrelated heap memory is written to the socket instead of the intended response. On Node.js 26.x and 24.x the teardown can be driven purely by a remote peer once the window-size change from 26.9.0 and 24.22.0 is present, and on all supported lines

    • Update to 26.13.1
    Published Updated
  10. CVE-2026-123865

    High · CVSS 7.5EPSS 0.68%Fix available

    Node.js is vulnerable to an HTTP/2 memory and file-descriptor leak via a protocol error during session shutdown

    An unauthenticated HTTP/2 client can permanently leak Node.js server memory and file descriptors. If a peer triggers a protocol error, for example an oversized frame header, while the session is already shutting down, nghttp2 tears the session down internally but Node.js never notices, leaving a dangling session: the socket stays in CLOSE_WAIT and all of Node.js's HTTP/2 state for that connection is held in memory indefinitely, with no further cost to the attacker. The attacker can start the shutdown remotely by sending GOAWAY(NO_ERROR), so it is reliable against default HTTP/2 servers. It is an incomplete-fix case of CVE-2026-48937: that fix

    • Update to 26.13.1
    Published Updated
  11. CVE-2026-123864

    High · CVSS 8.1EPSS 0.4%Fix available

    Node.js is vulnerable to cross-connection memory disclosure via TLS write re-entrancy in the HTTPS request parser

    A re-entrancy flaw in Node.js HTTPS lets an unauthenticated client read memory belonging to other connections, including TLS private keys and other users' requests. TLSWrap::DoWrite() calls ClearOut() directly when asked to write zero bytes; if that write is issued from JavaScript running inside the HTTP parser's on_body callback, ClearOut() decrypts the next TLS record while the parser is still mid-body, re-entering llhttp_execute() and causing a use-after-free and an out-of-bounds heap read. The server then copies that freed or unrelated heap memory into the response for the request body. Triggering it requires a handler that calls res.flus

    • Update to 26.13.1
    Published Updated
  12. CVE-2026-123863

    High · CVSS 8.2EPSS 0.57%Fix available

    Node.js is vulnerable to a remote HTTP/2 denial of service via a reachable assertion in Http2Session teardown

    A reachable assertion in Node.js HTTP/2 session teardown lets any unauthenticated client abort the server, over both TLS and cleartext. A client can arrange for an Http2Stream that still holds nghttp2-allocated header buffers to outlive its session: the stream is removed from the session's stream set but never detached, so when ~Http2Session() runs the memory accounting is nonzero and the CHECK_EQ(current_nghttp2_memory_, 0) assertion fails, terminating the process. The trigger needs only a default http2 server whose handler responds before the request body has ended, which is typical. It is a variant of CVE-2024-27983 that the earlier fix di

    • Update to 26.13.1
    Published Updated
  13. CVE-2026-123862

    Low · CVSS 2.9EPSS 0.18%Fix available

    Node.js is vulnerable to a zlib denial of service via a stream destroy during a pending params() call

    An uncatchable exception in the Node.js zlib streaming API lets a peer crash a process by disconnecting while data is being compressed. zlib.params() queues a flush and completes its work in that write's callback; if the stream is destroyed first, as pipeline() does when the peer goes away, Writable still invokes the callback with an error, but the callback ignores its arguments and asserts that the native handle still exists. The handle is gone, so an ERR_INTERNAL_ASSERTION is thrown from inside stream internals and bypasses the stream's error event, the params() callback, and the pipeline() callback, terminating the process. An application

    • Update to 26.13.1
    Published Updated
  14. CVE-2026-123829

    Low · CVSS 2.5EPSS 0.16%Fix available

    Node.js is vulnerable to Permission Model file-name disclosure via recursive fs.watch

    A Permission Model bypass in Node.js recursive file watching discloses the names of files and directories the process is not permitted to read. On macOS and Windows, fs.watch() and fs.promises.watch() in recursive mode are backed by the native libuv watcher: FSEventWrap::Start checks kFileSystemRead only once, on the watched root, and FSEventWrap::OnEvent then forwards every filename libuv reports (relative paths at any depth) to the JavaScript callback without checking that each path is covered by the read grant. Code running under --permission with an exact read grant on a directory can therefore learn names such as sub/secret.txt even thou

    • Update to 26.13.1
    Published Updated
  15. CVE-2026-123828

    Medium · CVSS 5.9EPSS 0.76%Fix available

    Node.js is vulnerable to a heap buffer overflow in HTTP/2 session.altsvc() via a long origin

    A one-byte heap buffer overflow in Node.js HTTP/2 Alt-Svc handling lets a remote, unauthenticated attacker corrupt process memory. When an application passes an attacker-controlled value such as a request's :authority header to Http2Session.altsvc(), the AltSvc implementation in src/node_http2.cc allocates a buffer sized to the origin length and then writes it with a null terminator, placing one byte past the end of the allocation. A single request carrying a long but syntactically valid :authority triggers the out-of-bounds write, which aborts the process and serves as a remote heap-corruption primitive. This vulnerability affects Node.js 26

    • Update to 26.13.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →