undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
8.13.1 is the newest release of 8.x.
In short
25 fixed2 changed15 internal
Security
9 advisories affect 8.11.0; 8.12.2 fixes them
- Highundici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirectsGHSA-4w7w-5xrc-9h26 · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to TLS certificate validation bypass via dropped tls options in AgentGHSA-2m5v-pch6-74hx · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm · 27 Oct 2026Fixed in 8.12.2
- Highundici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshakeGHSA-qq8j-7v2v-3rwp · 27 Oct 2026Fixed in 8.11.2
- Highundici vulnerable to Denial of Service via unhandled error on excessive content-encodingsGHSA-xjj6-f33q-929c · 23 Oct 2026Fixed in 8.12.2
4 more
- Moderateundici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingGHSA-9fm3-97px-rjf6 · 27 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Denial of Service via unhandled exception in the decompress interceptorGHSA-55wc-3pg8-jfw6 · 27 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685 · 23 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokensGHSA-f72v-6w45-q472 · 23 Oct 2026Fixed in 8.12.2
Release note
What's Changed
Complete upgrade diagnostics lifecycle
decompress: Join a repeated content-encoding header
cookies: Keep a cookie named proto in getCookies
Selectively re-enable SIMD for ppc64
Use private fields for brand checks
h2: Do not unref a session with open streams
h2: Avoid pool fan-out during ALPN negotiation
Fix issue #5715
env-http-proxy-agent: NO_PROXY wildcard semantics
h2: Do not replay a request whose response already started after GOAWAY
proxy-agent: Preserve repeated iterable headers
Dataurl parsing improvements + update WPT
decompress: Treat inherited Object.prototype names as unsupported encodings
Preserve HTTP/2 for non-upgrade legacy requests
Skip drain dispatch for clientTtl-evicted clients in PoolBase
deduplicate: Settle requests when composed with retry
cache: Do not report aborted on successful cache hits
cookies: Keep an Expires of 0 when serializing a cookie
Honor backpressure in decompression interceptor
h2: Validate h2Options.maxConcurrentStreams itself
h2: Keep the session ref'd while requests are queued
Fix cache.addAll and cache.add hanging
retry: Settle responses after connection close
h2: Validate response content-length
redirect: Ignore informational responses in history
websocket: Reset the compressed flag when a message completes
h2: Keep queued requests alive when the last stream closes
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.