{"schema":"threatline.record/2","record":{"id":"CVE-2026-109869","aliases":["GHSA-xjj6-f33q-929c"],"summary":"undici vulnerable to Denial of Service via unhandled error on excessive content-encodings","details":"### Impact\n\nundici's `fetch()` crashes the Node.js process when a malicious server returns a response with more than five content codings and closes the connection before sending the body. undici rejects such responses (a content-encoding limit), but it created the internal response stream before that check and returned without attaching an error listener or aborting the request. The early close then surfaces a content-length mismatch on that orphaned internal stream, which Node.js treats as an unhandled `error` and terminates the process. A remote, unauthenticated server can trigger this with a single response, even when the application correctly catches the `fetch()` rejection. undici 6.x, 7.x, and 8.x are affected.\n\n### Patches\n\nUpgrade to `6.29.1`, `7.30.1`, or `8.12.2`. undici now validates the content-encoding chain before creating the internal body stream and aborts the response when the limit is exceeded, so no error can surface on an orphaned stream.\n\n### Workarounds\n\nNone.","categories":["Libraries & packages"],"product":"undici","vendor":"undici","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:14:32Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 6.23.0, < 6.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:14:32Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 7.18.0, < 7.30.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:14:32Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 8.0.0, < 8.12.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-109869","source_modified_at":"2026-10-16T20:06:00.782Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"undici","vendor":"undici","versions":[{"lessThan":"6.29.1","status":"affected","version":"6.23.0","versionType":"semver"},{"status":"unaffected","version":"6.29.1","versionType":"semver"},{"lessThan":"7.30.1","status":"affected","version":"7.18.0","versionType":"semver"},{"status":"unaffected","version":"7.30.1","versionType":"semver"},{"lessThan":"8.12.2","status":"affected","version":"8.0.0","versionType":"semver"},{"status":"unaffected","version":"8.12.2","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-15T16:01:26Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 6.23.0, < 6.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-15T16:01:26Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 7.18.0, < 7.30.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-15T16:01:26Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 8.0.0, < 8.12.2"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:30:05.007687918Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.23.0"},{"fixed":"6.29.1"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:30:05.007687918Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.18.0"},{"fixed":"7.30.1"}]}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:30:05.007687918Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.12.2"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:14:32Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"npm","name":"undici"},"version":"6.29.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:14:32Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"npm","name":"undici"},"version":"7.30.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:14:32Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"npm","name":"undici"},"version":"8.12.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-109869","source_modified_at":"2026-10-16T20:06:00.782Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":null},"version":"6.29.1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-109869","source_modified_at":"2026-10-16T20:06:00.782Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":null},"version":"7.30.1","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-109869","source_modified_at":"2026-10-16T20:06:00.782Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"undici","ecosystem":null},"version":"8.12.2","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:30:05.007687918Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"6.29.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:30:05.007687918Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"7.30.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","source_modified_at":"2026-10-23T22:30:05.007687918Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"8.12.2"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00343,"percentile":0.26665,"score_date":"2026-10-23"},"published_at":"2026-10-15T18:08:31.243Z","modified_at":"2026-10-23T22:30:05.007687918Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","fetched_at":"2026-10-24T00:31:04.721601Z","source_modified_at":"2026-10-23T22:14:32Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-109869","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-16T20:06:00.782Z"},{"source":"GitHub Advisory Database","url":"https://github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-15T16:01:26Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-xjj6-f33q-929c","fetched_at":"2026-10-24T00:31:04.721601Z","source_modified_at":"2026-10-23T22:30:05.007687918Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-109869","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-xjj6-f33q-929c"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109869","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/07ded4941b1e72afec862958c3b8ddf468f3b429","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/1325a87dfb3492f8e87e6b0a84b3bda4e82e3436","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/b5084c7dc239172d75c336b1cd51ddac023938a5","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/nodejs/undici/releases/tag/v6.29.1","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/releases/tag/v7.30.1","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/releases/tag/v8.12.2","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-xjj6-f33q-929c","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-10-16T20:05:44.033842Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T22:30:05.007687918Z","content_hash":"10e2dc4e20a499a3699297f4dab467404b2e2b00d5f2c3c0a0737248988a3ab6"}}
