npm package

undici 6.25.0 vulnerabilities, and the version that fixes all of them

undici 6.25.0 has 10 known vulnerabilities (2 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
10
2 rated high or critical
Released
Apr 14, 2026
Latest is 8.12.2
Downloads last week
2.3M
1% of undici downloads
Licence
MIT
OpenSSF Scorecard
8.1/10
nodejs/undici (opens in a new tab)

What to upgrade to

6.28.1 is the closest release with no known vulnerabilities.

  • 6.28.1Upgrade to this

    Fixes all 10 known vulnerabilities. Released Sep 4, 2026.

    No known vulnerabilities
  • 6.29.1

    Newest 6.x release. Released Oct 15, 2026.

    No known vulnerabilities
  • 8.12.2

    Latest 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

Every advisory for undici 6.25.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.

  1. 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.

  2. WarningCVE-2026-85024 on OSV.dev (opens in a new tab)GHSA-3wwx-pv8p-q78vEPSS: top 67%

    undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression

    Fixed in 6.28.1. Published Sep 28, 2026.

  3. CriticalCVE-2026-19534 on OSV.dev (opens in a new tab)GHSA-rfgv-xxqx-mfg5EPSS: top 69%

    undici vulnerable to Denial of Service via unrequested WebSocket subprotocol

    Fixed in 6.28.1. Published Sep 29, 2026.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly undici 6.25.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.