undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 5.0.0 to 5.29.0
58 releases in betweennotes for 53
Reading releases, release notes and advisories…
- ?
- changes to make
- 13
- advisories fixed
- 126+
- new
- 221+
- fixes
Counted from 53 of 58 release notes. Advisories are counted from the advisory database, in full.
Security
16 advisories still affect 5.29.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
Upgrading to 6.29.1 clears them.
Fixes 13 advisories affecting 5.0.0
- Undici proxy-authorization header not cleared on cross-origin redirect in fetchlow · GHSA-3787-6prv-h9w3
- undici before v5.8.0 vulnerable to CRLF injection in request headersmoderate · GHSA-3cvr-822r-rqcc
- CRLF Injection in Nodejs ‘undici’ via hostmoderate · GHSA-5r9g-qh6m-jxff
- `undici.request` vulnerable to SSRF using absolute URL on `pathname`moderate · GHSA-8qr4-xgw6-wmr3
- Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrectlow · GHSA-9qxr-qj54-h672
- Use of Insufficiently Random Values in undicimoderate · GHSA-c76h-2ccp-4975
- undici Denial of Service attack via bad certificate datalow · GHSA-cxrh-j4jr-qwg3
- Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Typemoderate · GHSA-f772-66g8-q5h3
- Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipelinelow · GHSA-m4v8-wqvr-p9f7
- ProxyAgent vulnerable to MITMhigh · GHSA-pgw7-wx7w-2w33
- undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirectlow · GHSA-q768-x9m6-m9qp
- Regular Expression Denial of Service in Headershigh · GHSA-r6ch-mqf9-qc9w
- Undici's cookie header not cleared on cross-origin redirect in fetchlow · GHSA-wqq4-5wpv-mx2g
- 5.28.5
Fixes CVE CVE-2025-22150 github.com/nodejs/undici/security/advisories/GH… (embargoed until 22-01-2025).
- 5.28.4
Fixes github.com/nodejs/undici/security/advisories/GH… CVE-2024-30260
- 5.28.4
Fixes github.com/nodejs/undici/security/advisories/GH… CVE-2024-30261
- 5.28.3
- 5.26.2
Security Release, CVE-2023-45143.
- 5.19.1
Regular Expression Denial of Service in Headers with CVE-2023-24807
- 5.19.1
CRLF Injection in Nodejs ‘undici’ via host with CVE-2023-23936
- 5.19.1
This release is part of the Node.js security release train: nodejs.org/en/blog/vulnerability/february-2023-…
- 5.8.2
CRLF Injection in Nodejs ‘undici’ via Content-Type GHSA-f772-66g8-q5h3 CVE-2022-35948
- 5.8.2
undici.requestvulnerable to SSRF using absolute URL onpathnameGHSA-8qr4-xgw6-wmr3 CVE-2022-35949
Release by release
- Fixed
Fix tests in v5.x for Node 20
- Fixed
- Security
Fixes CVE CVE-2025-22150 github.com/nodejs/undici/security/advisories/GH… (embargoed until 22-01-2025).
- Security
- Security
Fixes github.com/nodejs/undici/security/advisories/GH… CVE-2024-30260
- Security
Fixes github.com/nodejs/undici/security/advisories/GH… CVE-2024-30261
- Security
- Security
- New
Avoid Headers initialization
- Fixed
Remove optional chainning for compatible with Nodejs12 and below
- Fixed
Remove
node:prefix - Fixed
Handle SharedArrayBuffer correctly
- New
- New
Improve
normalizeMethod - New
request: Optimize if headers are given
- Fixed
Dispatch error handling
- New
- New
Optimize Readable.dump
- New
headers: Improve Headers
- New
Add additional http2 test with fetch
- New
Optimize HeadersList.get
- New
5.27.2no release note
77 other lines we could not sort, mostly version bumps
- 5.29.0
Removed clients with unrecoverable errors from the Pool #4088
- 5.28.2
Make call to onBodySent conditional in RetryHandler
- 5.28.0
Properly handle pseudo-headers in fetch
- 5.28.0
Remove http2 status pseudo header from headers
- 5.27.0
Use sets and reusable TextEncoder/TextDecoder instances
- 5.27.0
Skip bundle test on node 16
- 5.26.5
Drop race condition in connect-timeout test
- 5.26.5
Remove a couple of unnecessary async functions
- 5.26.5
Update namespace type with Fetch exports
- 5.26.4
Use esbuild define/hooks
145 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.