{"id":"GHSA-vp8m-p9jh-q5pm","revision":"1e16ed7ad7cb41ddb1e120e35bc245ea","records":[{"revision":"1e16ed7ad7cb41ddb1e120e35bc245ea","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vp8m-p9jh-q5pm","aliases":["CVE-2026-85152"],"title":"undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors","description":"## 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.","state":0,"publishedAt":"2026-09-29T18:15:13+00:00","modifiedAt":"2026-09-29T18:28:14.852486+00:00","affected":[{"ecosystem":"npm","name":"undici","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.10.0"},{"kind":"fixed","version":"8.10.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nodejs/undici/security/advisories/GHSA-vp8m-p9jh-q5pm","https://nvd.nist.gov/vuln/detail/CVE-2026-85152","https://github.com/nodejs/undici/commit/caf6194d3dae989b731ed87ab85f182befe5eb80","https://cna.openjsf.org/security-advisories.html","https://github.com/nodejs/undici","https://github.com/nodejs/undici/releases/tag/v8.10.2"],"sourceUrl":"https://github.com/advisories/GHSA-vp8m-p9jh-q5pm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vp8m-p9jh-q5pm","identifiers":["GHSA-vp8m-p9jh-q5pm","CVE-2026-85152"]},"retained":false,"historicalAffected":[]}],"coverage":[]}