undici fetch() can crash Node.js process from a malicious server response
If your Node.js app fetches data from a website or API, a malicious server can send a specially crafted reply that makes your whole app shut down. Updating the undici library stops this.
| Severity | HighCVSS 7.5 of 10 |
|---|---|
| Being exploited? | UnclearNo reports either way yet |
| Fix available? | Yes6.29.1, 7.30.1, 8.12.2 · since 25 Oct 2026 |
| How sure is this? | Official sourceBacked by an official source |
How the attack works simplified
- 1Malicious serverControls the remote endpoint your app calls
- 2Crafted responseMore than five content codings, then early close
- 3fetch() in undiciCreates body stream before rejecting the response
- 4Unhandled errorOrphaned stream emits error with no listener
- 5Process crashesNode.js terminates the whole application
- ResultApplication process is terminated
What happened
undici's fetch() rejects responses with more than five content codings, but it creates an internal body stream before that check and does not attach an error listener. When the server closes the connection early, Node.js sees an unhandled 'error' event on the orphaned stream and terminates the process.
Are you affected?
You are affected if you run undici 6.23.0 to before 6.29.1, 7.18.0 to before 7.30.1, or 8.0.0 to before 8.12.2 and use fetch() to call remote servers.
| Package / product | Affected versions | Fixed in |
|---|---|---|
| undici · npm | >= 6.23.0, < 6.29.1 | 6.29.1 |
| undici · npm | >= 7.18.0, < 7.30.1 | 7.30.1 |
| undici · npm | >= 8.0.0, < 8.12.2 | 8.12.2 |
What to do
- Update undici to 6.29.1, 7.30.1, or 8.12.2, matching your major version
- Check your lockfile and dependency tree for other copies of undici and update them too
- Restart your Node.js services after the update so the fix takes effect
Timeline
- 23 Oct 2026, 22:14 UTCPublicly disclosed
- 23 Oct 2026, 22:14 UTCReported by GitHub Advisory · GitHub Advisory
Sources 1 report, oldest first
Official vendor, government CERT or advisory database
- GitHub Advisory23 Oct 2026, 22:14 UTC
Technical details
- ID
- CVE-2026-109869 · GHSA-xjj6-f33q-929c
- CVSS
- 7.5 / 10
- EPSS
- 0.3% chance of exploitation within 30 days
- Disclosed
- 23 Oct 2026, 22:14 UTC
- On Zero Radar
- before the radar started
- Last change
- 25 Oct 2026, 13:32 UTC
The plain-language parts and the attack diagram were written by an AI model (anthropic/claude-haiku-5.5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works