Skip to main content
← All vulnerabilities
CVE-2026-85152GHSA-VP8M-P9JH-Q5PM

undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.10.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

undici 8.10.0 omits the destination origin from the cache and request-deduplication keys when the cache or deduplicate interceptor is composed directly onto a Client or Pool. Because the internal cache key falls back to an empty origin string, a cacheable or in-flight response from one upstream origin is returned for a request to a different, trusted origin whenever the method, path, and relevant headers match, which permits cross-origin information disclosure and persistent cache poisoning. The reporter demonstrated a full authentication bypass in which a JWT signed with an attacker-controlled key was accepted as belonging to a trusted issuer, and the trusted origin was never contacted. This is a regression introduced in 8.10.0 and affects undici versions from 8.10.0 up to 8.10.2. Applications using an Agent, which carries the origin in its dispatch options, are not affected. Users should upgrade to undici 8.10.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • undici undici

    From 8.10.0 · fixed in 8.10.2

  • undicinpm

    From 8.10.0 · fixed in 8.10.2

References 2

GitHub · nodejs/undici

cna.openjsf.org