undici vulnerable to Denial of Service via unhandled error on excessive content-encodings
CVE-2026-109869 · GHSA-xjj6-f33q-929c · published 23 Oct 2026
How serious is it
- Severity: high, CVSS score 7.5 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-109869?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
undici(npm) >= 6.23.0, < 6.29.1undici(npm) >= 7.18.0, < 7.30.1undici(npm) >= 8.0.0, < 8.12.2
How to check
- Run
npm ls undiciin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- On >= 6.23.0, < 6.29.1: Upgrade
undicito 6.29.1 or later, commit the lockfile and redeploy. - On >= 7.18.0, < 7.30.1: Upgrade
undicito 7.30.1 or later, commit the lockfile and redeploy. - On >= 8.0.0, < 8.12.2: Upgrade
undicito 8.12.2 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
### Impact
undici's `fetch()` crashes the Node.js process when a malicious server returns a response with more than five content codings and closes the connection before sending the body. undici rejects such responses (a content-encoding limit), but it created the internal response stream before that check and returned without attaching an error listener or aborting the request. The early close then surfaces a content-length mismatch on that orphaned internal stream, which Node.js treats as an unhandled `error` and terminates the process. A remote, unauthenticated server can trigger this with a single response, even when the application correctly catches the `fetch()` rejection. undici 6.x, 7.x, and 8.x are affected.
### Patches
Upgrade to `6.29.1`, `7.30.1`, or `8.12.2`. undici now validates the content-encoding chain before creating the internal body stream and aborts the response when the limit is exceeded, so no error can surface on an orphaned stream.
### Workarounds
None.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c
- nvd.nist.gov/vuln/detail/CVE-2026-109869
- github.com/nodejs/undici/commit/07ded4941b1e72afec862958c3b8ddf468f3b429
- github.com/nodejs/undici/commit/1325a87dfb3492f8e87e6b0a84b3bda4e82e3436
- github.com/nodejs/undici/commit/b5084c7dc239172d75c336b1cd51ddac023938a5
- cna.openjsf.org/security-advisories.html
- github.com/nodejs/undici/releases/tag/v6.29.1
- github.com/nodejs/undici/releases/tag/v7.30.1
- github.com/nodejs/undici/releases/tag/v8.12.2
- github.com/advisories/GHSA-xjj6-f33q-929c
- github.com/nodejs/undici
Merged from GitHub Advisory Database, OSV. Last updated 26 Oct 2026. All vulnerabilities · RSS · JSON