undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 6.24.1 to 6.29.1
7 releases in betweenevery note read
- 0
- changes to make
- 14
- advisories fixed
- 0
- new
- 3
- fixes
Security
Fixes 14 advisories affecting 6.24.1
- undici vulnerable to TLS certificate validation bypass via dropped tls options in Agenthigh · GHSA-2m5v-pch6-74hx
- undici vulnerable to HTTP response queue poisoning via keep-alive socket reuselow · GHSA-35p6-xmwp-9g52
- 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
- undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchinglow · GHSA-g8m3-5g58-fq7m
- 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 WebSocket client vulnerable to denial of service via fragment count bypasshigh · GHSA-vxpw-j846-p89q
- undici vulnerable to Denial of Service via unhandled error on excessive content-encodingshigh · GHSA-xjj6-f33q-929c
- 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.25.0nothing new or fixed in the note
1 other line we could not sort, mostly version bumps
- 6.29.0
Backport upgrade diagnostics lifecycle fixes to v6.x
1 internal line (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.