undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
5.29.0 is the newest release of 5.x.
In short
21 new8 fixed6 changed2 internal
Security
23 advisories affect 5.12.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 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
- 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
18 more
- HighRegular Expression Denial of Service in HeadersGHSA-r6ch-mqf9-qc9w · 16 Feb 2023Fixed in 5.19.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 5.28.5
- ModerateCRLF Injection in Nodejs ‘undici’ via hostGHSA-5r9g-qh6m-jxff · 16 Feb 2023Fixed in 5.19.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 5.29.0
- 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 5.28.4
- LowUndici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipelineGHSA-m4v8-wqvr-p9f7 · 4 Apr 2024Fixed in 5.28.4
- LowUndici proxy-authorization header not cleared on cross-origin redirect in fetchGHSA-3787-6prv-h9w3 · 16 Feb 2024Fixed in 5.28.3
- LowUndici's cookie header not cleared on cross-origin redirect in fetchGHSA-wqq4-5wpv-mx2g · 16 Oct 2023Fixed in 5.26.2
Release note
This release includes significant improvements to fetch code coverage and spec compliance as well as a new option to limit response body size.
What's Changed
fetch: Add
Request{Init}.duplexand add WPTsAdd
responseWPTswpt: Broken test
Add in Header WPTs
WPTs: Add in idlharness.any.js test
Add all File WPTs
Implement spec-compliant body mixins
fetch: Use structuredClone in clone body steps
Add in fetch/api/basic WPTs
Allow cloned stream to be unref'd
Add stream-safe-creation.any.js WPT
Add minesniff WPTs
Make File's
typemore strictfetch: re-calculate iterator after each iteration
wpt: Add
scheme-blob.sub.any.jswpt: Add remaining fetch/api/basic tests
Add parameter to ProxyAgent options, which is type of authentication
Add support for localaddress
Add abort reason support
wpt: Add remaining fetch/api tests
Implement FileReader
wpt: Remove tests that now succeed after implementing FileReader
wpt: Run tests in parallel (2.5x speed improvement)
wpt: Add two tests
wpt: Add FormData wpts
fetch: Implement new spec changes
fetch: Set default param value for
Response.jsonredirect: Ignore query config after redirection
Accept close as message complete
Update llhttp to the latest version v8.1.0
wpt: Update scheme-blob.sub.any.js
fetch: Remove terminated event listener on redirect
fetch: Update spec
wpt: Fail runner if expected failures don't fail
Client: Add max response size option
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.