{"schema":"threatline.record/2","record":{"id":"CVE-2026-85152","aliases":["GHSA-vp8m-p9jh-q5pm"],"summary":"undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors","details":"## Impact\n\nWhen `interceptors.cache()` or `interceptors.deduplicate()` is used with a dispatcher that does not carry a single authoritative origin, or when a request supplies its own `origin`, undici builds the cache and deduplication keys without the actual destination origin. If a cache store or interceptor instance is shared across more than one origin, otherwise-identical requests to different origins are keyed together.\n\nAn attacker who controls the response from one origin can then have that response returned for a request to a different, trusted origin when the method, path, and relevant headers match. This allows cross-origin information disclosure and persistent cache poisoning, including chains such as JWKS cache poisoning where a token signed with an attacker-held key is accepted as belonging to a trusted issuer.\n\nApplications that share `interceptors.cache()` or `interceptors.deduplicate()` state across origins are affected. An `Agent` is not affected, because its dispatch options include the request origin.\n\nThis was introduced in undici 8.10.0 and affects 8.10.0 and 8.10.1.\n\n## Patches\n\nUpgrade to undici v8.10.2.\n\n## Workarounds\n\nUse a separate cache store and a separate interceptor instance for each origin, and do not share them across origins.","categories":["Libraries & packages"],"product":"undici","vendor":"undici","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-vp8m-p9jh-q5pm","source_modified_at":"2026-09-29T18:15:14Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"undici"},"range":">= 8.10.0, < 8.10.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-85152","source_modified_at":"2026-09-04T19:29:29.802Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"undici","vendor":"undici","versions":[{"versionType":"semver","status":"affected","version":"8.10.0","lessThan":"8.10.2"},{"versionType":"semver","status":"unaffected","version":"8.10.2"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-vp8m-p9jh-q5pm","source_modified_at":"2026-09-29T18:28:14.852486023Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.10.0"},{"fixed":"8.10.2"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-vp8m-p9jh-q5pm","source_modified_at":"2026-09-29T18:15:14Z","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-85152","source_modified_at":"2026-09-04T19:29:29.802Z","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-vp8m-p9jh-q5pm","source_modified_at":"2026-09-29T18:28:14.852486023Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"undici","ecosystem":"npm","purl":"pkg:npm/undici"},"version":"8.10.2"}],"cvss":7.4,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00164,"percentile":0.05348,"score_date":"2026-10-23"},"published_at":"2026-09-04T16:36:28.085Z","modified_at":"2026-09-29T18:28:14.852486023Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-vp8m-p9jh-q5pm","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-29T18:15:14Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85152","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-04T19:29:29.802Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-vp8m-p9jh-q5pm","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-29T18:28:14.852486023Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85152","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-vp8m-p9jh-q5pm"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85152","source":"GitHub Advisory Database"},{"url":"https://github.com/nodejs/undici/commit/caf6194d3dae989b731ed87ab85f182befe5eb80","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/nodejs/undici/releases/tag/v8.10.2","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-vp8m-p9jh-q5pm","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-09-04T19:29:18.959401Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-29T18:28:14.852486023Z","content_hash":"419ce2c54b09d12af233db764ddf6ce38f64aae3f5b78a157617838f376910f9"}}
