CVE-2026-85152

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

Published Sep 4, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

undici 8.10.0 through 8.10.2 fails to include the origin in cache and request‑deduplication keys when the cache or deduplicate interceptor is composed directly onto a Client or Pool. The internal key falls back to an empty string, causing a cacheable or in‑flight response from one upstream origin to be returned for a request to a different, trusted origin when the method, path, and relevant headers match. This flaw permits cross‑origin information disclosure and persistent cache poisoning, and a demonstrator achieved a JWT authentication bypass by having attacker‑controlled tokens accepted as trusted without contacting the issuing origin.

Affected Systems

Vulnerable versions are undici 8.10.0, 8.10.1, and 8.10.2. Applications that use an Agent that carries the origin in its dispatch options are not affected. The component affected is the undici HTTP/1.1 client library for Node.js.

Risk and Exploitability

The CVSS score of 7.4 indicates high impact. EPSS is not available, so the exploitation frequency cannot be quantified, but the vulnerability exists in multiple major releases and is not listed in CISA’s KEV catalog. The attack can be performed over arbitrary cross‑origin requests when interceptors are configured without origin isolation, enabling an attacker to serve poisoned cache entries or bypass authentication checks. The combination of high severity and ease of exploitation makes the risk significant for actively running services that rely on undici without origin protection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade undici to version 8.10.2 or later.
  • If an upgrade is not yet possible, temporarily disable the cache and dedupe interceptor until the patch is applied.
  • When configuring interceptors, ensure that an origin is supplied in the dispatch options or use an Agent that preserves the origin to prevent the omission bug.

Generated by OpenCVE AI on September 4, 2026 at 18:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vp8m-p9jh-q5pm undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors
History
Type Values Removed Values Added
First Time appeared Nodejs
Nodejs undici
CPEs cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
Vendors & Products Nodejs
Nodejs undici
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici
Type Values Removed Values Added
Description 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.
Title undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Sep 4, 2026, 7:29 PM
Reserved
Sep 3, 2026, 10:34 AM
Status
Analyzed
Published
Sep 4, 2026, 5:17 PM
Modified
Sep 16, 2026, 8:41 PM
Severity
Important
Public date
Sep 4, 2026, 4:36 PM