{"id":"GHSA-pmjh-fq2x-6v4x","summary":"undici vulnerable to Denial of Service via orphaned RetryHandler response body","details":"### Impact\n\nundici's `RetryHandler` can leave a response body pending indefinitely. When a retried request receives a non-retryable response after a truncated one, the original `response.body` held by the application is never settled, so reads such as `response.body.text()` hang and `bodyTimeout` does not fire. A malicious server can repeat this to accumulate pending promises and streams, leading to denial of service.\n\n### Patches\n\nPatched in undici v7.29.1 and v8.10.2.\n\n### Workarounds\n\nImpose an independent request deadline and destroy the response body when it expires. `bodyTimeout` alone does not prevent this.","aliases":["CVE-2026-18149"],"modified":"2026-09-29T18:30:41.164240105Z","published":"2026-09-29T18:22:34Z","database_specific":{"nvd_published_at":"2026-09-04T18:17:49Z","cwe_ids":["CWE-772"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-09-29T18:22:34Z"},"references":[{"type":"WEB","url":"https://github.com/nodejs/undici/security/advisories/GHSA-pmjh-fq2x-6v4x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18149"},{"type":"WEB","url":"https://github.com/nodejs/undici/commit/3c6726599cea8646384dde846c97d630da472a74"},{"type":"WEB","url":"https://github.com/nodejs/undici/commit/e905b5b87e6953bcc542af90557b2fee5b7b5974"},{"type":"WEB","url":"https://hackerone.com/reports/3892751"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"PACKAGE","url":"https://github.com/nodejs/undici"},{"type":"WEB","url":"https://github.com/nodejs/undici/releases/tag/v7.29.1"},{"type":"WEB","url":"https://github.com/nodejs/undici/releases/tag/v8.10.2"}],"affected":[{"package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.11.0"},{"fixed":"7.29.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-pmjh-fq2x-6v4x/GHSA-pmjh-fq2x-6v4x.json"}},{"package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.10.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-pmjh-fq2x-6v4x/GHSA-pmjh-fq2x-6v4x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}