undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 6.12.0 to 6.29.1
36 releases in betweennotes for 29
Counted from 29 of 36 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated6.19.2
Security
Fixes 21 advisories affecting 6.12.0
- undici vulnerable to TLS certificate validation bypass via dropped tls options in Agenthigh · GHSA-2m5v-pch6-74hx
- Undici has an HTTP Request/Response Smuggling issuemoderate · GHSA-2mjp-6q6p-2qxm
- undici vulnerable to HTTP response queue poisoning via keep-alive socket reuselow · GHSA-35p6-xmwp-9g52
- Undici has CRLF Injection in undici via `upgrade` optionmoderate · GHSA-4992-7rv2-5pvq
- undici vulnerable to Denial of Service via unbounded memory in the EventSource parsermoderate · GHSA-4qv8-2p9j-2685
- undici vulnerable to downstream response desynchronization via retry interceptormoderate · GHSA-8xcm-r25x-g524
- undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingmoderate · GHSA-9fm3-97px-rjf6
- Use of Insufficiently Random Values in undicimoderate · GHSA-c76h-2ccp-4975
- undici Denial of Service attack via bad certificate datalow · GHSA-cxrh-j4jr-qwg3
- Undici: Malicious WebSocket 64-bit length overflows parser and crashes the clienthigh · GHSA-f269-vfmq-vjvj
- undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchinglow · GHSA-g8m3-5g58-fq7m
- Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustionmoderate · GHSA-g9mf-h72j-4rw9
- undici vulnerable to CRLF Injection via blob-like body 'type' propertymoderate · GHSA-m8rv-5g2x-5cg5
- undici vulnerable to HTTP header injection via Set-Cookie percent-decodingmoderate · GHSA-p88m-4jfj-68fv
- undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationhigh · GHSA-qrxm-fqhp-jwvm
- undici vulnerable to downstream response splitting via retry interceptorlow · GHSA-r53p-7pc4-xj5r
- undici vulnerable to Denial of Service via unrequested WebSocket subprotocolhigh · GHSA-rfgv-xxqx-mfg5
- undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsmoderate · GHSA-v3r7-h72x-cjcm
- Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validationhigh · GHSA-v9p9-hfj2-hcw8
- Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompressionhigh · GHSA-vrm6-8vpv-qv8q
- undici WebSocket client vulnerable to denial of service via fragment count bypasshigh · GHSA-vxpw-j846-p89q
- 6.29.1
CVE-2026-87018 · GHSA-qrxm-fqhp-jwvm
- 6.29.1
CVE-2026-109383 · GHSA-2m5v-pch6-74hx
- 6.29.1
CVE-2026-109869 · GHSA-xjj6-f33q-929c
- 6.29.1
CVE-2026-109924 · GHSA-4qv8-2p9j-2685
- 6.29.1
CVE-2026-109932 · GHSA-9fm3-97px-rjf6
- 6.28.1
GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught
TypeErrorthat could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 2af0faf8. - 6.28.1
GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 07c60d9c.
- 6.28.1
GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates
Content-Rangeagainst the original response framing before resuming. Fixed by ce31bc82. - 6.28.0
GHSA-m8rv-5g2x-5cg5: a malicious
typeproperty on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generatedcontent-typeheader. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c. - 6.28.0
GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale
Content-Lengthafter resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whoseContent-Lengthis inconsistent withContent-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.
Release by release
- Security
CVE-2026-87018 · GHSA-qrxm-fqhp-jwvm
- Security
CVE-2026-109383 · GHSA-2m5v-pch6-74hx
- Security
CVE-2026-109869 · GHSA-xjj6-f33q-929c
- Security
CVE-2026-109924 · GHSA-4qv8-2p9j-2685
- Security
CVE-2026-109932 · GHSA-9fm3-97px-rjf6
- Fixed
fetch: Fix aborting Streams
- Security
- Fixed
retry: Settle exposed body on terminal failure
- Fixed
- Security
GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught
TypeErrorthat could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 2af0faf8. - Security
GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 07c60d9c.
- Security
GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates
Content-Rangeagainst the original response framing before resuming. Fixed by ce31bc82.
- Security
- Security
GHSA-m8rv-5g2x-5cg5: a malicious
typeproperty on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generatedcontent-typeheader. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c. - Security
GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale
Content-Lengthafter resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whoseContent-Lengthis inconsistent withContent-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6. - Security
GHSA-v3r7-h72x-cjcm: unsanitized
domainandunparsedvalues passed tosetCookie()could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404. - Security
GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.
- Security
- Security
This release line addresses 4 security advisories.
- Security
of the security fixes below.
- Security
The v6 line is not affected by the SOCKS5 advisories (GHSA-vmh5-mc38-953g,
- Security
GHSA-vxpw-j846-p89q · CWE-400, CWE-770
- Security
- Fixed
Validate EOF for chunked h1 responses
- Fixed
6.24.1 – 6.25.02 releases, nothing new or fixed; 1 without a note
- Security
This release backports fixes for security vulnerabilities affecting the v6 line.
- Security
GHSA-2mjp-6q6p-2qxm / CVE-2026-1525 (Medium) Inconsistent interpretation of HTTP requests (request/response smuggling class issue).
- Security
GHSA-f269-vfmq-vjvj / CVE-2026-1528 (High) Malicious WebSocket 64-bit frame length handling could crash the client.
- Security
GHSA-4992-7rv2-5pvq / CVE-2026-1527 (Medium) CRLF injection via the
upgradeoption.
- Security
43 other lines we could not sort, mostly version bumps
- 6.29.0
Backport upgrade diagnostics lifecycle fixes to v6.x
- 6.22.0
feat(ProxyAgent) improve Curl-y behavior in HTTP->HTTP Proxy connections
- 6.22.0
Backport 4472 to v6.x
- 6.21.3
Append crlf to formdata body
- 6.21.2
Removed clients with unrecoverable errors from the Pool #4088
- 6.21.0
web: Mark as uncloneable when possible
- 6.20.0
Remove patched dom types (
v6.xbranch) - 6.20.0
Ignore leading and trailing crlfs in formdata body
- 6.19.0
Remove websocket experimental warning
- 6.19.0
Export interceptor to type def file
53 internal lines (docs, tests, tooling) left out.
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.