undici — CVE history (npm)

undici

46 CVEs affect the undici npm package (highest CVSS 7.5). Latest disclosed: 2026-09-04. Full CVE history sourced from NVD.

Summary

Package
undici (npm)
Total CVEs
46
Actively exploited (CISA KEV)
0
Highest CVSS
7.5
Latest disclosed
2026-09-04

Recent CVEs (top 20)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-84890Medium5.9—2026-09-04undici's decompress interceptor decompresses response bodies according to the untrusted Content-Encoding header.
CVE-2026-19534High7.5—2026-09-04undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested.
CVE-2026-18540Low3.7—2026-09-04undici's retry interceptor can append the body of a ranged retry response to bytes already delivered from an earlier partial response while still presenting the original response's status and headers.
CVE-2026-18149Medium5.9—2026-09-04undici's retry handler can leave an already-exposed response body pending forever.
CVE-2026-85152High7.4—2026-09-04undici 8.10.0 omits the destination origin from the cache and request-deduplication keys when the cache or deduplicate interceptor is composed directly onto a Client or Pool.
CVE-2026-85024Medium5.9—2026-09-04undici bundles a WebSocket client whose permessage-deflate size-limit cleanup removes all listeners from the internal zlib inflate stream, including its error listener, while that stream can still emit.
CVE-2026-85014Medium5.9—2026-09-04undici's experimental WebSocketStream client crashes the whole Node.js process when a remote peer closes the TCP connection without a WebSocket close handshake.
CVE-2026-85008Low3.7—2026-09-04undici's cache interceptor documents that only safe HTTP methods are cached, but its logic to skip caching is built by subtracting the configured methods from the set of safe methods, so an unsafe method such as POST, PUT, or DELETE is nev…
CVE-2026-84961High7.4—2026-09-04undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON.
CVE-2026-84947Low3.7—2026-09-04undici's dump interceptor reads and discards a response body up to a configurable maximum size.
CVE-2026-84933Medium6.5—2026-09-04undici's cache interceptor does not handle the Set-Cookie response header anywhere in its cache path, so it neither refuses to store nor strips that header.
CVE-2026-15157Medium4.2—2026-07-29undici does not validate the type property of a duck-typed blob-like request body before using it as the Content-Type header on the HTTP/1.1 dispatcher.
CVE-2026-14643Medium5.9—2026-07-29undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive.
CVE-2026-16728Medium4.8—2026-07-29undici's retry interceptor can deliver a response whose body length does not match the Content-Length header exposed to the application after a retry or resume of a partial response.
CVE-2026-16729Medium4.8—2026-07-29undici's setCookie function does not fully sanitize cookie attributes.
CVE-2026-13697High7.4—2026-07-29undici's cache interceptor mishandles malformed Cache-Control private directives.
CVE-2026-9697High7.4—2026-06-17Impact: undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://).
CVE-2026-9679Medium5.9—2026-06-17Impact: undici's cookie parser in parseSetCookie percent-decodes cookie values via qsUnescape, turning encoded sequences like %0D%0A, %00, %3B, and %3D into their literal byte equivalents.
CVE-2026-9678Medium5.9—2026-06-17Impact: Undici's cache interceptor incorrectly classifies some responses as cacheable when the upstream Cache-Control header uses whitespace-padded qualified private or no-cache field names such as private=" authorization" or no-cache="\ta…
CVE-2026-6734High7.5—2026-06-17Impact: When using Socks5ProxyAgent, undici reuses a single connection pool across different origins without verifying that the pool's origin matches the requested origin.

All-time worst (top 10 by CVSS)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-19534High7.5—2026-09-04undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested.
CVE-2026-6734High7.5—2026-06-17Impact: When using Socks5ProxyAgent, undici reuses a single connection pool across different origins without verifying that the pool's origin matches the requested origin.
CVE-2026-9675High7.5—2026-06-17Impact: The undici WebSocket client enforces maxPayloadSize per-frame but does not enforce the cumulative size of fragmented uncompressed messages.
CVE-2026-12151High7.5—2026-06-17Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments.
CVE-2026-2229High7.5—2026-03-12ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension.
CVE-2026-1528High7.5—2026-03-12ImpactA server can reply with a WebSocket frame using the 64-bit length form and an extremely large length.
CVE-2026-1526High7.5—2026-03-12The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression.
CVE-2023-24807High7.5—2023-02-16Undici is an HTTP/1.1 client for Node.js.
CVE-2026-85152High7.4—2026-09-04undici 8.10.0 omits the destination origin from the cache and request-deduplication keys when the cache or deduplicate interceptor is composed directly onto a Client or Pool.
CVE-2026-84961High7.4—2026-09-04undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON.