undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 7.18.2 to 7.30.2
27 releases in betweenevery note read
- 0
- changes to make
- 32
- advisories fixed
- 10
- new
- 59
- fixes
Security
Fixes 32 advisories affecting 7.18.2
- undici vulnerable to response truncation via oversized chunked responses in the dump interceptorlow · GHSA-2gqq-gqf2-x968
- undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesmoderate · GHSA-2jfj-6hjv-fm6j
- 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 vulnerable to Denial of Service via unbounded decompression of compressed responsesmoderate · GHSA-3xpg-4rpp-hhhm
- Undici has CRLF Injection in undici via `upgrade` optionmoderate · GHSA-4992-7rv2-5pvq
- undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directiveshigh · GHSA-4cwx-7wf7-3272
- undici vulnerable to Denial of Service via unbounded memory in the EventSource parsermoderate · GHSA-4qv8-2p9j-2685
- undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirectshigh · GHSA-4w7w-5xrc-9h26
- undici vulnerable to Denial of Service via unhandled exception in the decompress interceptormoderate · GHSA-55wc-3pg8-jfw6
- undici vulnerable to caching and replay of unsafe HTTP method responseslow · GHSA-8436-99hf-9mmv
- 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: Malicious WebSocket 64-bit length overflows parser and crashes the clienthigh · GHSA-f269-vfmq-vjvj
- undici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokensmoderate · GHSA-f72v-6w45-q472
- undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchinglow · GHSA-g8m3-5g58-fq7m
- undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directivesmoderate · GHSA-jr45-8vmc-qm54
- 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 has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoSmoderate · GHSA-phc3-fgpg-7m6h
- undici vulnerable to Denial of Service via orphaned RetryHandler response bodymoderate · GHSA-pmjh-fq2x-6v4x
- undici vulnerable to cross-user information disclosure via shared cache whitespace bypassmoderate · GHSA-pr7r-676h-xcf6
- 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 Denial of Service via WebSocketStream unclean closemoderate · GHSA-rx4f-c7p8-82vq
- 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
- undici vulnerable to Denial of Service via unhandled error on excessive content-encodingshigh · GHSA-xjj6-f33q-929c
- 7.30.2
This release fixes six vulnerabilities.
- 7.30.1
CVE-2026-87018 · GHSA-qrxm-fqhp-jwvm
- 7.30.1
CVE-2026-109383 · GHSA-2m5v-pch6-74hx
- 7.30.1
CVE-2026-109829 · GHSA-4w7w-5xrc-9h26
- 7.30.1
CVE-2026-109869 · GHSA-xjj6-f33q-929c
- 7.30.1
CVE-2026-87029 · GHSA-55wc-3pg8-jfw6
- 7.30.1
CVE-2026-109841 · GHSA-f72v-6w45-q472
- 7.30.1
CVE-2026-109924 · GHSA-4qv8-2p9j-2685
- 7.30.1
CVE-2026-109932 · GHSA-9fm3-97px-rjf6
- 7.29.1
GHSA-w293-vg96-wgc3:
BalancedPoolcould drop function-valued connection options while cloning its configuration, including custom TLS certificate validation callbacks. Undici now preservesconnectand legacytlsoptions when creating upstreams. Fixed by f690157d.
Release by release
- Security
This release fixes six vulnerabilities.
- Fixed
decompress: Join a repeated content-encoding header
- Fixed
h1: Backport ignore type of service errors to v7.x
- Security
- Security
CVE-2026-87018 · GHSA-qrxm-fqhp-jwvm
- Security
CVE-2026-109383 · GHSA-2m5v-pch6-74hx
- Security
CVE-2026-109829 · GHSA-4w7w-5xrc-9h26
- Security
CVE-2026-109869 · GHSA-xjj6-f33q-929c
- Security
- Fixed
Selectively re-enable SIMD for ppc64
- Fixed
Honor backpressure in decompression interceptor
- Fixed
Close rejected HTTP/2 WebSocket streams on v7.x
- Fixed
- Security
GHSA-w293-vg96-wgc3:
BalancedPoolcould drop function-valued connection options while cloning its configuration, including custom TLS certificate validation callbacks. Undici now preservesconnectand legacytlsoptions when creating upstreams. Fixed by f690157d. - 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 6615e017. - 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 63cf698b.
- Security
GHSA-rx4f-c7p8-82vq: an unclean
WebSocketStreamclose could create an unobserved rejected promise when its writable stream was locked, potentially terminating the process. Undici now propagates the failure through the retained writable stream controller. Fixed by 1858656e.
- Security
- Security
GHSA-4cwx-7wf7-3272: malformed qualified
privateCache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by 9f10f1e9, with regression coverage in 466e99d1. - 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 33928bc2. - Security
GHSA-jr45-8vmc-qm54: optional whitespace around
=in qualifiedno-cacheandprivatedirectives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by 98011a86. - 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 1b5a5312, with corrected fixtures in 4a9dafb1. - 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 3bf91ddb.
- Security
- Security
This release line addresses 7 security advisories, all shipped in v7.28.0.
- Security
The v7 line is not affected by GHSA-38rv-x7px-6hhq (CVE-2026-9675), which is
- Security
Note on GHSA-hm92-r4w5-c3mj: this fix shipped in v7.28.0, not the
- Security
GHSA-vxpw-j846-p89q · CWE-400, CWE-770
- Security
- Fixed
Use legacy global dispatcher in v7
- Fixed
- Fixed
Preserve raw headers in dispatch handler bridge
- Fixed
9 other lines we could not sort, mostly version bumps
- 7.30.2
extractBody fixes 2
- 7.30.0
Backport upgrade diagnostics lifecycle fixes to v7.x
- 7.24.7
Ignore AGENTS.md
- 7.24.5
Formdata tests
- 7.24.2
Remove maxDecompressedMessageSize
- 7.23.0
webidl: Access keys in lexicographical order
- 7.20.0
extractBody fixes
- 7.19.2
Minor code cleanups to decompress interceptor
- 7.19.2
Return response when receiving 401 instead of network error
34 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.