CVE-2026-18149
undici: undici: Denial of Service due to orphaned response body in retry handler
Overview
Description
undici's retry handler can leave an already-exposed response body pending forever. When a server returns a successful response that declares a Content-Length, sends only part of the body, and closes the connection, the retry handler retries the request. If the retry returns a non-retryable status such as 400, the handler forwards that new response downstream and replaces its internal response stream, but the original response body that the application still holds is never ended or destroyed. As a result calls that read that body never settle, and the configured body timeout does not fire because its timer is tied to the connection parser rather than the orphaned body. An attacker-controlled server can trigger this with two short responses without keeping a connection open, and repeated requests accumulate pending promises and streams that can exhaust application concurrency or memory. This affects undici versions from 7.11.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-772
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=7.11.0, <7.29.1>=8.0.0, <8.10.2 | 7.29.18.10.2 |
| Seal npm | @seal-security/undici | >=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp2p2>=7.22.0-sp1, <7.22.0-sp999 | 7.18.2-sp9997.19.2-sp2p27.22.0-sp999 |
| Seal npm | undici | >=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp2p2>=7.22.0-sp0, <7.22.0-sp999 | 7.18.2-sp9997.19.2-sp2p27.22.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 38 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:24.21.0-1.azl3 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 | affected |
| 8 | openshift4-ose-monitoring-plugin-rhel9 | affected |
| 9 | openshift4-ose-monitoring-plugin-rhel9 | affected |
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs24-npm | 1:11.19.0-1.24.21.0.1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.21.0-1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.amzn2023.0.1 |
chainguard 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.0.1-r11 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 | |
| commercial-gitlab-rails-ee-19-4 +1 | 19.4.1-r1 |
4 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.10.2+dfsg+~cs3.2.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
minimos 1 release · 12 packages
| Release | Package | Fixed in |
|---|---|---|
| pi-cli | 0.86.0-r0 | |
| node-gyp | 13.1.0-r0 | |
| n8n | 2.41.3-r0 | |
| homepage | 2.5.0-r0 | |
| openclaw | 2026.9.2-r0 | |
| mcp-mongodb | 3.1.0-r0 |
6 more rows
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack24 +4 | 24.22.3-1.1 | openSUSE-SU-2026:12570-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.0.1-r11 | |
| code-server | 4.139.1-r2 | |
| prism | 5.16.0-r14 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-18149
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/3c6726599cea8646384dde846c97d630da472a74
- github.com https://github.com/nodejs/undici/commit/e905b5b87e6953bcc542af90557b2fee5b7b5974
- github.com https://github.com/nodejs/undici/releases/tag/v7.29.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.10.2
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-pmjh-fq2x-6v4x
- hackerone.com https://hackerone.com/reports/3892751
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-18149
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.