undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
6.29.1 is the newest release of 6.x.
In short
1 removed9 new11 faster22 fixed20 changed57 internal
- Removed
Remove useless options in web streams
Security
23 advisories affect 6.7.0; 6.29.1 fixes them
- Highundici vulnerable to TLS certificate validation bypass via dropped tls options in AgentGHSA-2m5v-pch6-74hx · 27 Oct 2026Fixed in 6.29.1
- Highundici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm · 27 Oct 2026Fixed in 6.29.1
- Highundici vulnerable to Denial of Service via unrequested WebSocket subprotocolGHSA-rfgv-xxqx-mfg5 · 29 Sep 2026Fixed in 6.28.1
- Highundici WebSocket client vulnerable to denial of service via fragment count bypassGHSA-vxpw-j846-p89q · 19 Jun 2026Fixed in 6.27.0
- HighUndici has Unbounded Memory Consumption in WebSocket permessage-deflate DecompressionGHSA-vrm6-8vpv-qv8q · 13 Mar 2026Fixed in 6.24.0
18 more
- HighUndici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits ValidationGHSA-v9p9-hfj2-hcw8 · 13 Mar 2026Fixed in 6.24.0
- HighUndici: Malicious WebSocket 64-bit length overflows parser and crashes the clientGHSA-f269-vfmq-vjvj · 13 Mar 2026Fixed in 6.24.0
- Moderateundici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingGHSA-9fm3-97px-rjf6 · 27 Oct 2026Fixed in 6.29.1
- Moderateundici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685 · 23 Oct 2026Fixed in 6.29.1
- Moderateundici vulnerable to CRLF Injection via blob-like body 'type' propertyGHSA-m8rv-5g2x-5cg5 · 3 Aug 2026Fixed in 6.28.0
- Moderateundici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsGHSA-v3r7-h72x-cjcm · 3 Aug 2026Fixed in 6.28.0
- Moderateundici vulnerable to downstream response desynchronization via retry interceptorGHSA-8xcm-r25x-g524 · 3 Aug 2026Fixed in 6.28.0
- Moderateundici vulnerable to HTTP header injection via Set-Cookie percent-decodingGHSA-p88m-4jfj-68fv · 19 Jun 2026Fixed in 6.27.0
- ModerateUndici has CRLF Injection in undici via `upgrade` optionGHSA-4992-7rv2-5pvq · 13 Mar 2026Fixed in 6.24.0
- ModerateUndici has an HTTP Request/Response Smuggling issueGHSA-2mjp-6q6p-2qxm · 13 Mar 2026Fixed in 6.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 6.23.0
- ModerateUse of Insufficiently Random Values in undiciGHSA-c76h-2ccp-4975 · 21 Jan 2025Fixed in 6.21.1
- Lowundici vulnerable to downstream response splitting via retry interceptorGHSA-r53p-7pc4-xj5r · 29 Sep 2026Fixed in 6.28.1
- Lowundici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchingGHSA-g8m3-5g58-fq7m · 19 Jun 2026Fixed in 6.27.0
- Lowundici vulnerable to HTTP response queue poisoning via keep-alive socket reuseGHSA-35p6-xmwp-9g52 · 19 Jun 2026Fixed in 6.27.0
- Lowundici Denial of Service attack via bad certificate dataGHSA-cxrh-j4jr-qwg3 · 15 May 2025Fixed in 6.21.2
- LowUndici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrectGHSA-9qxr-qj54-h672 · 4 Apr 2024Fixed in 6.11.1
- LowUndici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipelineGHSA-m4v8-wqvr-p9f7 · 4 Apr 2024Fixed in 6.11.1
Release note
What's Changed
Fix flaky debug test
HTTP2 tweaks
Remove redundant operation in FormData
Add support for passing iterable objects as headers
- Removed
Remove useless options in web streams
Let's add superagent to the benchmark. closes #2730
Convert node build to latin1
Simplify formData body parsing
Always use the same prototype Iterator
Dont ship wasm files of llhttp via npm
Handle request body as late as possible
tree: Avoid recursive calls
Improve mock error breadcrumbs
Expose MessageEvent in fetch bundle
Add node prefix for util to fix issue in env with min version node 18
Improve perf of parseRawHeaders
Make mock-agent.js test more resilient
mock: Improve validateReplyParameters
Improve TernarySearchTree
Convert HeadersInit to sequence/dictionary correctly
Add RetryHandler to sidebar
Add RetryAgent
Improve sort algorithm
s/ dispactgher/dispatcher/Use paralellelRequests instead of connections to calculate req/sec in benchmarks
Split out documentation into separate directory
Move CNAME and .nojekyll to root
Remove all fetchParam event handlers
Refactor ProxyAgent constructor to also accept single URL argument
isCTLExcludingHtab
Add dispatcher option to Request
Fix url referrer wpt
fetch: Prevent crash when
fetchis aborted withnullas theAbortSignal'sreasontree: Reduce overhead of build TernarySearchTree
webidl: Implement resizable arraybuffer checks
Websocket server only needs to reply with a single subprotocol
Unite webidl stringification
Deflake connect-timeout test
Coverage reporting
Pipelining logic is not relevant for h2
processBody doesn't need to return a promise
Improve performance of isValidSubprotocol
Reuse TextDecoder instance
cookies: Improve perf of toIMFDate
cookies: Fix validateCookiePath
mock: Improve test coverage of buildHeadersFromArray
Remove broken build request hack
Make pipelining limit work for h2
http2 doesn't have pipelining queue
Minor connect cleanup
Request headers types
Prefer queueMicrotask
cookies: Improve validateCookieValue
cookies: Improve validateCookieName
Properly parse set-cookie header using http2
Doc deprecate bodymixin.formData
Optimize check invalid field-vchar
Fix issue 2898
websocket: Remove dead code in parseCloseBody
Tests dont need process.exit
headers: A single set-cookie
websocket: Improve .close()
Add sending data benchmark
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.