undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
7.30.2 is the newest release of 7.x.
In short
7 new2 faster18 fixed9 changed47 internal
Security
32 advisories affect 7.17.0; 7.30.1 fixes them
- Highundici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirectsGHSA-4w7w-5xrc-9h26 · 27 Oct 2026Fixed in 7.30.1
- Highundici vulnerable to TLS certificate validation bypass via dropped tls options in AgentGHSA-2m5v-pch6-74hx · 27 Oct 2026Fixed in 7.30.1
- Highundici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm · 27 Oct 2026Fixed in 7.30.1
- Highundici vulnerable to Denial of Service via unrequested WebSocket subprotocolGHSA-rfgv-xxqx-mfg5 · 29 Sep 2026Fixed in 7.29.1
- Highundici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directivesGHSA-4cwx-7wf7-3272 · 3 Aug 2026Fixed in 7.29.0
27 more
- Highundici WebSocket client vulnerable to denial of service via fragment count bypassGHSA-vxpw-j846-p89q · 19 Jun 2026Fixed in 7.28.0
- HighUndici has Unbounded Memory Consumption in WebSocket permessage-deflate DecompressionGHSA-vrm6-8vpv-qv8q · 13 Mar 2026Fixed in 7.24.0
- HighUndici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits ValidationGHSA-v9p9-hfj2-hcw8 · 13 Mar 2026Fixed in 7.24.0
- HighUndici: Malicious WebSocket 64-bit length overflows parser and crashes the clientGHSA-f269-vfmq-vjvj · 13 Mar 2026Fixed in 7.24.0
- Moderateundici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingGHSA-9fm3-97px-rjf6 · 27 Oct 2026Fixed in 7.30.1
- Moderateundici vulnerable to Denial of Service via unhandled exception in the decompress interceptorGHSA-55wc-3pg8-jfw6 · 27 Oct 2026Fixed in 7.30.1
- Moderateundici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685 · 23 Oct 2026Fixed in 7.30.1
- Moderateundici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokensGHSA-f72v-6w45-q472 · 23 Oct 2026Fixed in 7.30.1
- Moderateundici vulnerable to Denial of Service via orphaned RetryHandler response bodyGHSA-pmjh-fq2x-6v4x · 29 Sep 2026Fixed in 7.29.1
- Moderateundici vulnerable to Denial of Service via unbounded decompression of compressed responsesGHSA-3xpg-4rpp-hhhm · 29 Sep 2026Fixed in 7.29.1
- Moderateundici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesGHSA-2jfj-6hjv-fm6j · 29 Sep 2026Fixed in 7.29.1
- Moderateundici vulnerable to Denial of Service via WebSocketStream unclean closeGHSA-rx4f-c7p8-82vq · 29 Sep 2026Fixed in 7.29.1
- Moderateundici vulnerable to CRLF Injection via blob-like body 'type' propertyGHSA-m8rv-5g2x-5cg5 · 3 Aug 2026Fixed in 7.29.0
- Moderateundici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directivesGHSA-jr45-8vmc-qm54 · 3 Aug 2026Fixed in 7.29.0
- Moderateundici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsGHSA-v3r7-h72x-cjcm · 3 Aug 2026Fixed in 7.29.0
- Moderateundici vulnerable to downstream response desynchronization via retry interceptorGHSA-8xcm-r25x-g524 · 3 Aug 2026Fixed in 7.29.0
- Moderateundici vulnerable to HTTP header injection via Set-Cookie percent-decodingGHSA-p88m-4jfj-68fv · 19 Jun 2026Fixed in 7.28.0
- Moderateundici vulnerable to cross-user information disclosure via shared cache whitespace bypassGHSA-pr7r-676h-xcf6 · 18 Jun 2026Fixed in 7.28.0
- ModerateUndici has CRLF Injection in undici via `upgrade` optionGHSA-4992-7rv2-5pvq · 13 Mar 2026Fixed in 7.24.0
- ModerateUndici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoSGHSA-phc3-fgpg-7m6h · 13 Mar 2026Fixed in 7.24.0
- ModerateUndici has an HTTP Request/Response Smuggling issueGHSA-2mjp-6q6p-2qxm · 13 Mar 2026Fixed in 7.24.0
- ModerateUndici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustionGHSA-g9mf-h72j-4rw9 · 14 Jan 2026Fixed in 7.18.2
- Lowundici vulnerable to downstream response splitting via retry interceptorGHSA-r53p-7pc4-xj5r · 29 Sep 2026Fixed in 7.29.1
- Lowundici vulnerable to response truncation via oversized chunked responses in the dump interceptorGHSA-2gqq-gqf2-x968 · 29 Sep 2026Fixed in 7.29.1
- Lowundici vulnerable to caching and replay of unsafe HTTP method responsesGHSA-8436-99hf-9mmv · 29 Sep 2026Fixed in 7.29.1
- Lowundici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchingGHSA-g8m3-5g58-fq7m · 19 Jun 2026Fixed in 7.28.0
- Lowundici vulnerable to HTTP response queue poisoning via keep-alive socket reuseGHSA-35p6-xmwp-9g52 · 19 Jun 2026Fixed in 7.28.0
Release note
What's Changed
types: Use MessagePort instance type in MessageEvent
lint: Activate n/no-process-exit
H2: Correct CONNECT behaviour
Add runtime feature "detection"
Use less promises in extractBody
proxy-agent: Add missing return after callback-call
Remove redundant line in retry-handler
Use lazyloaders for runtime feature detection
Minor changes in dispatcher-base.js and types for Dispatcher
http2: Refactor and split tests of http2.js into multiple files
dns-interceptor test should await plan to complete
Keep promise chains intact
Add getUpstream() method to BalancedPool
fetch: Handle invalid priority values properly
types: Optional
statusinResponse.redirectcacheStores types and usage in README
Feat dns interceptor storage
304 not modifiedreply upon revalidation did not update cache.fetch: Improve regexes in data-uri.js
Optimize validate http token
fix(ws) onSocketClose being called multiple times
Prevent duplicate debug logs when multiple undici instances exist
Run the gc() in long-lived-abort-controller test
Do not destroy the HTTP2 stream twice in tests
Fix http2-dispatcher test
Fetch blob with range off-by-one error
Ensure HTTP/2 sends Content-Length for empty POST requests
#2458: WebSocket through HTTP/2
Don't freeze urlList for opaque filtered responses
Fix fd parsing unquoted attribute values
dispatcher/proxy-agent: New diagnostics event 'undici:proxy:connected'
Feat/round robin pool
Formdata ignore epilogue preamble
Snapshot url exclusion
Support h2c over unix domain sockets
Add deduplicate interceptor for request deduplication
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.