undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
8.13.1 is the newest release of 8.x.
In short
2 new7 faster37 fixed4 changed9 internal
Security
Fixes 1 advisory that affected 8.1.0
- Highundici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuseGHSA-hm92-r4w5-c3mj · 19 Jun 2026Fixed in 8.2.0
30 advisories affect 8.2.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 vulnerable to Denial of Service via unhandled error on excessive content-encodingsGHSA-xjj6-f33q-929c · 23 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via unrequested WebSocket subprotocolGHSA-rfgv-xxqx-mfg5 · 29 Sep 2026Fixed in 8.10.2
25 more
- Highundici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPoolGHSA-w293-vg96-wgc3 · 29 Sep 2026Fixed in 8.10.2
- Highundici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directivesGHSA-4cwx-7wf7-3272 · 3 Aug 2026Fixed in 8.9.0
- Highundici WebSocket client vulnerable to denial of service via fragment count bypassGHSA-vxpw-j846-p89q · 19 Jun 2026Fixed in 8.5.0
- Highundici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgentGHSA-vmh5-mc38-953g · 18 Jun 2026Fixed in 8.5.0
- Highundici WebSocket client vulnerable to denial of service via cumulative fragment bypassGHSA-38rv-x7px-6hhq · 18 Jun 2026Fixed in 8.5.0
- 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
- Moderateundici vulnerable to Denial of Service via orphaned RetryHandler response bodyGHSA-pmjh-fq2x-6v4x · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to Denial of Service via unbounded decompression of compressed responsesGHSA-3xpg-4rpp-hhhm · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesGHSA-2jfj-6hjv-fm6j · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to Denial of Service via WebSocketStream unclean closeGHSA-rx4f-c7p8-82vq · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompressionGHSA-3wwx-pv8p-q78v · 28 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to CRLF Injection via blob-like body 'type' propertyGHSA-m8rv-5g2x-5cg5 · 3 Aug 2026Fixed in 8.9.0
- Moderateundici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directivesGHSA-jr45-8vmc-qm54 · 3 Aug 2026Fixed in 8.9.0
- Moderateundici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsGHSA-v3r7-h72x-cjcm · 3 Aug 2026Fixed in 8.9.0
- Moderateundici vulnerable to downstream response desynchronization via retry interceptorGHSA-8xcm-r25x-g524 · 3 Aug 2026Fixed in 8.9.0
- Moderateundici vulnerable to HTTP header injection via Set-Cookie percent-decodingGHSA-p88m-4jfj-68fv · 19 Jun 2026Fixed in 8.5.0
- Moderateundici vulnerable to cross-user information disclosure via shared cache whitespace bypassGHSA-pr7r-676h-xcf6 · 18 Jun 2026Fixed in 8.5.0
- Lowundici vulnerable to downstream response splitting via retry interceptorGHSA-r53p-7pc4-xj5r · 29 Sep 2026Fixed in 8.10.2
- Lowundici vulnerable to response truncation via oversized chunked responses in the dump interceptorGHSA-2gqq-gqf2-x968 · 29 Sep 2026Fixed in 8.10.2
- Lowundici vulnerable to caching and replay of unsafe HTTP method responsesGHSA-8436-99hf-9mmv · 29 Sep 2026Fixed in 8.10.2
- Lowundici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchingGHSA-g8m3-5g58-fq7m · 19 Jun 2026Fixed in 8.5.0
- Lowundici vulnerable to HTTP response queue poisoning via keep-alive socket reuseGHSA-35p6-xmwp-9g52 · 19 Jun 2026Fixed in 8.5.0
Release note
What's Changed
Fix the logic for the UNDICI_NO_WASM_SIMD environment variable
http2: Send body for non-expectsPayload methods with content
webidl: Correct signed integer bounds in ConvertToInt
fetch: Use || for CRLF check in multipart formdata-parser
websocket: Correct argument order in WebSocketStream UTF-8 failure
pool: Propagate useH2c to connector when connections > 1
cache: Return immutable staleAt in milliseconds
socks5-proxy-agent: Use per-origin pools to prevent cross-origin routing
cache: Evict oldest entries first in SqliteCacheStore prune
socks5: Correctly expand IPv6 '::' compressed notation
Remove unused func and unnecessary shim
Reject malformed content-length request headers
request: Reject NaN highWaterMark during option validation
fetch: Prefer filename* over filename in multipart form-data
http2: Reject websocket upgrades on non-200 responses
Support username-only proxy authentication in ProxyAgent
client-h2: Stop double-decrementing kOpenStreams on stream timeout
http2: Reject upgrade streams closed before response headers
http2: Allow GET and HEAD request bodies over h2
cache: Include query in cache key when opts.path is undefined
Avoid premature cleanup of dispatcher in Agent
http2: Record ping failures on the socket
Add undici security policy
mock: Make filterCalls AND operator actually intersect results
socks5: Enforce authenticated state before CONNECT
cache: Skip expired sqlite vary entries during lookup
Enforce maxCachedSessions in TLS session cache
socks5: Encode embedded IPv4 tails in IPv6 literals correctly
Handle invalid HTTP/2 connection headers
interceptor: Add throwOnMaxRedirect to types and interceptor opts
websocket: Avoid double-closing canceled stream readers
cache: Persist vary when updating sqlite cache entries
client: Cache llhttp wasm buffer view
http2: Preserve accepted streams after GOAWAY
Reuse parser WeakRef for timeout callbacks
Stop buffering data after SOCKS5 connect
http2: Avoid response header reserialization
cache: Enforce sqlite maxCount after insert
Reduce EventSourceStream parser allocations
types(dispatcher): use OutgoingHttpHeaders for request headers
cleanup: Delete redundant .gitkeep file
http2: Respect peer max concurrent streams
client: Parse h1 content-length statelessly
http2: Reduce writeH2 per-request callback allocations
Use byteLength property for binary body chunks
cache: Allow streamed entries at maxEntrySize limit
http2: Avoid cloning headers when removing status
Validate H2CClient maxConcurrentStreams option
Avoid redundant scans in BalancedPool dispatcher selection
Replace stale pool clients under connection limit
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.