undici vulnerable to Denial of Service via orphaned RetryHandler response body
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 9 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-772.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NodeJS | undici | 7.11.0 to before 7.29.1; 8.0.0 to before 8.10.2 | 7.29.1, 8.10.2 | Patch available | CNA |
| — | undici (npm) | 7.11.0 to before 7.29.1 | 7.29.1 | Patch available | GHSA-pmjh-fq2x-6v4x |
| — | undici (npm) | 8.0.0 to before 8.10.2 | 8.10.2 | Patch available | GHSA-pmjh-fq2x-6v4x |
- undici VendorNodeJS Affected 7.11.0 to before 7.29.1; 8.0.0 to before 8.10.2 Fixed in 7.29.1, 8.10.2 Patch available CNA
- undici (npm) Vendor— Affected 7.11.0 to before 7.29.1 Fixed in 7.29.1 Patch available GHSA-pmjh-fq2x-6v4x
- undici (npm) Vendor— Affected 8.0.0 to before 8.10.2 Fixed in 8.10.2 Patch available GHSA-pmjh-fq2x-6v4x
Remediation
- Fix · CNA undici (undici) Fixed in 7.29.1, 8.10.2
- Fix · GHSA-pmjh-fq2x-6v4x undici (npm) Fixed in 7.29.1 Advisory →
- Fix · GHSA-pmjh-fq2x-6v4x undici (npm) Fixed in 8.10.2 Advisory →
Red Hat 3 advisories
- RHSA-2026:66008 Released 2026-09-09 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images grafana12.4-12.4.10-0.2.hum1@aarch64, grafana12.4-12.4.10-0.2.hum1@src, grafana12.4-12.4.10-0.2.hum1@x86_64
- RHSA-2026:54438 Released 2026-08-12 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs24-1:24.18.1-0.2.2.hum1@aarch64, nodejs24-1:24.18.1-0.2.2.hum1@src, nodejs24-1:24.18.1-0.2.2.hum1@x86_64 +14
- RHSA-2026:54389 Released 2026-08-12 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images nodejs26-1:26.7.0-1.5.2.hum1@aarch64, nodejs26-1:26.7.0-1.5.2.hum1@src, nodejs26-1:26.7.0-1.5.2.hum1@x86_64 +16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
undici 7.29.1, 8.10.2
7 records Highest priority Priority MEDIUM 1 MEDIUM, 6 LOW
Other records, highest priority first
- TI-2026-58384 undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPoolPriority MEDIUM 40
- TI-2026-58374 undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesPriority LOW 35
- TI-2026-58409 undici vulnerable to Denial of Service via WebSocketStream unclean closePriority LOW 33
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Pipelines | Affected | No fix yet: Fix deferred |
| Red Hat Build of Podman Desktop | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Affected | No fix planned: Will not fix |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Trusted Artifact Signer | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:54389, RHSA-2026:54438, RHSA-2026:66008 |
Not affected: 12 products
- Exploit Intelligence
- Red Hat AMQ Broker 7
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat Openshift Data Foundation 4
- Secrets Management Console for Red Hat OpenShift
- Self-service automation portal 2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-18149
- 2026-10-03 Alias added: GHSA-pmjh-fq2x-6v4x
- 2026-10-27 Affected versions changed · Red Hat
References
Advisory 3
Other 6
- https://github.com/nodejs/undici/commit/3c6726599cea8646384dde846c97d630da472a74
- https://github.com/nodejs/undici/commit/e905b5b87e6953bcc542af90557b2fee5b7b5974
- https://hackerone.com/reports/3892751
- https://github.com/nodejs/undici
- https://github.com/nodejs/undici/releases/tag/v7.29.1
- https://github.com/nodejs/undici/releases/tag/v8.10.2
More NodeJS Undici vulnerabilities
- TI-2026-01215 undici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') CVSS 3.1CRITICAL 9.8
- TI-2022-16376 `undici.request` vulnerable to SSRF using absolute URL on `pathname` CVSS 3.1CRITICAL 9.8
- TI-2023-09734 CRLF Injection in Nodejs ‘undici’ via host CVSS 3.1MEDIUM 6.5
- TI-2022-13193 CRLF injection in request headers CVSS 3.1MEDIUM 6.5
- TI-2022-16375 CRLF Injection in Nodejs ‘undici’ via Content-Type CVSS 3.1MEDIUM 5.3
- TI-2022-13194 Uncleared cookies on cross-host/cross-origin redirect in undici CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-18149 · CVE Program
- CVE-2026-18149 · NVD
- FIRST EPSS
- GHSA-pmjh-fq2x-6v4x · GitHub Advisory Database · CC BY 4.0
- CVE-2026-18149 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences