{"schema":"threatline.record/2","record":{"id":"CVE-2026-18149","aliases":["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.","categories":["Libraries & packages"],"product":"undici","vendor":"undici","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:22:35Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 7.11.0, < 7.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:22:35Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 8.0.0, < 8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-18149","source_modified_at":"2026-09-04T17:49:50.163Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"undici","vendor":"undici","versions":[{"versionType":"semver","status":"affected","version":"7.11.0","lessThan":"7.29.1"},{"versionType":"semver","status":"unaffected","version":"7.29.1"},{"versionType":"semver","status":"affected","version":"8.0.0","lessThan":"8.10.2"},{"versionType":"semver","status":"unaffected","version":"8.10.2"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:30:41.164240105Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.11.0"},{"fixed":"7.29.1"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:30:41.164240105Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.10.2"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:22:35Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"version":"7.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:22:35Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"version":"8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-18149","source_modified_at":"2026-09-04T17:49:50.163Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":null},"version":"7.29.1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-18149","source_modified_at":"2026-09-04T17:49:50.163Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":null},"version":"8.10.2","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:30:41.164240105Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"7.29.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-pmjh-fq2x-6v4x","source_modified_at":"2026-09-29T18:30:41.164240105Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"8.10.2"}],"cvss":5.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.0036,"percentile":0.28591,"score_date":"2026-10-23"},"published_at":"2026-09-04T17:21:46.263Z","modified_at":"2026-09-29T18:30:41.164240105Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-pmjh-fq2x-6v4x","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-29T18:22:35Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-18149","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-04T17:49:50.163Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-pmjh-fq2x-6v4x","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-29T18:30:41.164240105Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-18149","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/nodejs/undici/security/advisories/GHSA-pmjh-fq2x-6v4x"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18149","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/3c6726599cea8646384dde846c97d630da472a74","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/e905b5b87e6953bcc542af90557b2fee5b7b5974","source":"GitHub Advisory Database"},{"url":"https://hackerone.com/reports/3892751","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/nodejs/undici/releases/tag/v7.29.1","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/releases/tag/v8.10.2","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-pmjh-fq2x-6v4x","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-04T17:49:39.921559Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-29T18:30:41.164240105Z","content_hash":"a3c5323e0459f5eca222ccb385f0b1088064d61d10125948805a2bd22066d108"}}
