# CVE-2026-18149: undici vulnerable to Denial of Service via orphaned RetryHandler response body

- Severity: Medium 5.9 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-09-04T17:21:46.263Z
- Modified: 2026-09-29T18:30:41.164Z
- Also known as: GHSA-pmjh-fq2x-6v4x
- Weaknesses: CWE-772
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

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

(As written by CVE List.)

## Affected

- undici undici: from 7.11.0 before 7.29.1; from 8.0.0 before 8.10.2 (not affected: 7.29.1; 8.10.2)
- undici (npm): from 7.11.0 before 7.29.1; from 8.0.0 before 8.10.2
- nodejs undici: from 7.11.0 before 7.29.1; from 8.0.0 before 8.10.2

## Every score

- openjs: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-pmjh-fq2x-6v4x> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-18149> (advisory)
- <https://github.com/nodejs/undici/commit/3c6726599cea8646384dde846c97d630da472a74> (web)
- <https://github.com/nodejs/undici/commit/e905b5b87e6953bcc542af90557b2fee5b7b5974> (web)
- <https://hackerone.com/reports/3892751> (web)
- <https://github.com/nodejs/undici> (package)
- <https://github.com/nodejs/undici/releases/tag/v7.29.1> (web)
- <https://github.com/nodejs/undici/releases/tag/v8.10.2> (web)

## Sources

- CVE List: [CVE-2026-18149](https://www.cve.org/CVERecord?id=CVE-2026-18149), CVE Terms of Use, modified 2026-09-04
- GitHub Advisory Database: [GHSA-pmjh-fq2x-6v4x](https://github.com/advisories/GHSA-pmjh-fq2x-6v4x), CC-BY-4.0, modified 2026-09-29
- NVD: [CVE-2026-18149](https://nvd.nist.gov/vuln/detail/CVE-2026-18149), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-18149 · Whole record: https://cve.day/CVE-2026-18149.json · Rebuilt by cve.day 2026-11-25T22:59:36.376Z
