undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 6.29.1 to 7.30.1
51 releases in betweenevery note read
- 7
- changes to make
- 0
- advisories fixed
- 94
- new
- 228
- fixes
Before you upgrade
Tick each one off as you go- Breaking7.16.0
- Breaking7.13.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
Security
- 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. - 7.29.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 6615e017.
Release by release
- 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
- Fixed
Support Node 26 and legacy global dispatcher
- Fixed
129 other lines we could not sort, mostly version bumps
- 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
- 7.18.1
Test and Fix running without SSL
- 7.17.0
types: Use MessagePort instance type in MessageEvent
277 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.