Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. undici
  4. ›
  5. CVE-2026-85152

CVE-2026-85152: undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors

September 29, 2026

When 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.

An 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.

Applications 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.

This was introduced in undici 8.10.0 and affects 8.10.0 and 8.10.1.

References

  • cna.openjsf.org/security-advisories.html
  • github.com/advisories/GHSA-vp8m-p9jh-q5pm
  • github.com/nodejs/undici/commit/caf6194d3dae989b731ed87ab85f182befe5eb80
  • github.com/nodejs/undici/releases/tag/v8.10.2
  • github.com/nodejs/undici/security/advisories/GHSA-vp8m-p9jh-q5pm
  • nvd.nist.gov/vuln/detail/CVE-2026-85152

Code Behaviors & Features

Detect and mitigate CVE-2026-85152 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.10.0 before 8.10.2

Fixed versions

  • 8.10.2

Solution

Upgrade to version 8.10.2 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

npm/undici/CVE-2026-85152.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:22:03 +0000.