npm package
undici 3.2.0 vulnerabilities, and the version that fixes all of them
undici 3.2.0 has 24 known vulnerabilities (4 rated high or critical); 6.28.1 fixes all of them.
npm (opens in a new tab) describes it as “An HTTP/1.1 client, written from scratch for Node.js”
- Known vulnerabilities
- 24
- 4 rated high or critical
- Released
- Jan 13, 2021
- Latest is 8.12.2
- Downloads last week
- 1.4K
- Under 1% of undici downloads
- Licence
- MIT
- Dependencies
- None
- Resolved by deps.dev
What to upgrade to
6.28.1 is the closest release with no known vulnerabilities.
Newest 3.x release. Released Apr 24, 2021.
24 known vulnerabilities, worst rated warning6.28.1Upgrade to this
Fixes all 24 known vulnerabilities. Released Sep 4, 2026.
No known vulnerabilitiesLatest release. Released Oct 15, 2026.
No known vulnerabilities
6.28.1 came out on Sep 4, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
24 known vulnerabilities in undici 3.2.0
EPSS: top 21%4 rated high or critical. Most serious: CVE-2023-24807, Regular Expression Denial of Service in Headers. Upgrading to 6.28.1 fixes all of them.
- WarningOutdated
undici 3.2.0 is 5 major versions behind
Latest release is 8.12.2.
Every advisory for undici 3.2.0
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
WarningCVE-2022-35949 on OSV.dev (opens in a new tab)GHSA-8qr4-xgw6-wmr3EPSS: top 21%
`undici.request` vulnerable to SSRF using absolute URL on `pathname`
Fixed in 5.8.2. Published Aug 18, 2022.
WarningCVE-2022-31150 on OSV.dev (opens in a new tab)GHSA-3cvr-822r-rqccEPSS: top 26%
undici before v5.8.0 vulnerable to CRLF injection in request headers
Fixed in 5.8.0. Published Jul 21, 2022.
LowCVE-2023-45143 on OSV.dev (opens in a new tab)GHSA-wqq4-5wpv-mx2gEPSS: top 29%
Undici's cookie header not cleared on cross-origin redirect in fetch
Fixed in 5.26.2. Published Oct 16, 2023.
WarningCVE-2022-35948 on OSV.dev (opens in a new tab)GHSA-f772-66g8-q5h3EPSS: top 29%
Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type
Fixed in 5.8.2. Published Aug 18, 2022.
CriticalCVE-2023-24807 on OSV.dev (opens in a new tab)GHSA-r6ch-mqf9-qc9wEPSS: top 30%
Regular Expression Denial of Service in Headers
Fixed in 5.19.1. Published Feb 16, 2023.
CriticalCVE-2026-1526 on OSV.dev (opens in a new tab)GHSA-vrm6-8vpv-qv8qEPSS: top 34%
Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression
Fixed in 6.24.0. Published Mar 13, 2026.
WarningCVE-2023-23936 on OSV.dev (opens in a new tab)GHSA-5r9g-qh6m-jxffEPSS: top 35%
CRLF Injection in Nodejs ‘undici’ via host
Fixed in 5.19.1. Published Feb 16, 2023.
CriticalCVE-2026-2229 on OSV.dev (opens in a new tab)GHSA-v9p9-hfj2-hcw8EPSS: top 42%
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
Fixed in 6.24.0. Published Mar 13, 2026.
LowCVE-2024-30261 on OSV.dev (opens in a new tab)GHSA-9qxr-qj54-h672EPSS: top 45%
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
Fixed in 5.28.4. Published Apr 4, 2024.
CriticalCVE-2026-12151 on OSV.dev (opens in a new tab)GHSA-vxpw-j846-p89qEPSS: top 45%
undici WebSocket client vulnerable to denial of service via fragment count bypass
Fixed in 6.27.0. Published Jun 19, 2026.
LowCVE-2024-24758 on OSV.dev (opens in a new tab)GHSA-3787-6prv-h9w3EPSS: top 46%
Undici proxy-authorization header not cleared on cross-origin redirect in fetch
Fixed in 5.28.3. Published Feb 16, 2024.
LowCVE-2022-31151 on OSV.dev (opens in a new tab)GHSA-q768-x9m6-m9qpEPSS: top 47%
undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect
Fixed in 5.8.0. Published Jul 21, 2022.
LowCVE-2024-30260 on OSV.dev (opens in a new tab)GHSA-m4v8-wqvr-p9f7EPSS: top 47%
Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
Fixed in 5.28.4. Published Apr 4, 2024.
WarningCVE-2026-1525 on OSV.dev (opens in a new tab)GHSA-2mjp-6q6p-2qxmEPSS: top 58%
Undici has an HTTP Request/Response Smuggling issue
Fixed in 6.24.0. Published Mar 13, 2026.
WarningCVE-2026-22036 on OSV.dev (opens in a new tab)GHSA-g9mf-h72j-4rw9EPSS: top 62%
Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion
Fixed in 6.23.0. Published Jan 14, 2026.
LowCVE-2025-47279 on OSV.dev (opens in a new tab)GHSA-cxrh-j4jr-qwg3EPSS: top 75%
undici Denial of Service attack via bad certificate data
Fixed in 5.29.0. Published May 15, 2025.
WarningCVE-2026-9679 on OSV.dev (opens in a new tab)GHSA-p88m-4jfj-68fvEPSS: top 76%
undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
Fixed in 6.27.0. Published Jun 19, 2026.
WarningCVE-2026-1527 on OSV.dev (opens in a new tab)GHSA-4992-7rv2-5pvqEPSS: top 81%
Undici has CRLF Injection in undici via `upgrade` option
Fixed in 6.24.0. Published Mar 13, 2026.
LowCVE-2026-6733 on OSV.dev (opens in a new tab)GHSA-35p6-xmwp-9g52EPSS: top 83%
undici vulnerable to HTTP response queue poisoning via keep-alive socket reuse
Fixed in 6.27.0. Published Jun 19, 2026.
LowCVE-2026-18540 on OSV.dev (opens in a new tab)GHSA-r53p-7pc4-xj5rEPSS: top 87%
undici vulnerable to downstream response splitting via retry interceptor
Fixed in 6.28.1. Published Sep 29, 2026.
LowCVE-2026-11525 on OSV.dev (opens in a new tab)GHSA-g8m3-5g58-fq7mEPSS: top 87%
undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching
Fixed in 6.27.0. Published Jun 19, 2026.
WarningCVE-2026-15157 on OSV.dev (opens in a new tab)GHSA-m8rv-5g2x-5cg5EPSS: top 92%
undici vulnerable to CRLF Injection via blob-like body 'type' property
Fixed in 6.28.0. Published Aug 3, 2026.
WarningCVE-2026-16729 on OSV.dev (opens in a new tab)GHSA-v3r7-h72x-cjcmEPSS: top 92%
undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields
Fixed in 6.28.0. Published Aug 3, 2026.
WarningCVE-2026-16728 on OSV.dev (opens in a new tab)GHSA-8xcm-r25x-g524EPSS: top 94%
undici vulnerable to downstream response desynchronization via retry interceptor
Fixed in 6.28.0. Published Aug 3, 2026.
Who is still on a vulnerable undici
51% of last week’s 217.5M undici downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is undici the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly undici 3.2.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.