Skip to main content
EPSS 0.2%top 95%

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

0
High
Published: 09/29/2026 (09/29/2026, 18:15:13 UTC)
Source: GCVE Database
Product: undici

Description

A vulnerability in the undici HTTP client library (versions 8.10.0 and 8.10.1) allows cross-origin cache poisoning due to missing origin isolation in cache and deduplication interceptors. This flaw causes cache keys to omit the destination origin, enabling an attacker controlling one origin's response to poison the cache for another trusted origin. This can lead to information disclosure and authentication bypass scenarios, such as accepting attacker-signed tokens as valid. The issue does not affect the default Agent-based dispatch path. A patch is available in undici version 8.10.2.

CVSS v3.1

Score 7.4high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

npmghsa
undici
Affected versions
>=8.10.0 <8.10.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 21:38:33 UTC

Technical Analysis

The undici HTTP client library versions 8.10.0 and 8.10.1 contain a vulnerability where the cache and deduplicate interceptors, when composed directly onto a Client or Pool, omit the destination origin from cache and request deduplication keys. This omission allows responses from one origin to be incorrectly served for requests to a different origin if method, path, and relevant headers match. An attacker controlling responses from one origin can exploit this to perform cross-origin cache poisoning, leading to information disclosure and potentially full authentication bypass, such as accepting attacker-controlled JWT tokens as valid for a trusted issuer. The default Agent dispatch path is not affected because it includes the origin in dispatch options. The vulnerability was introduced in version 8.10.0 and fixed in 8.10.2.

Potential Impact

An attacker who controls responses from one origin can cause those responses to be returned for requests to a different trusted origin, resulting in cross-origin information disclosure and persistent cache poisoning. This can lead to severe consequences including authentication bypass, where attacker-signed tokens are accepted as valid by the application without contacting the legitimate issuer. The vulnerability affects applications that share cache or deduplicate interceptor state across origins by composing these interceptors directly onto Client or Pool objects. The default Agent-based dispatch path is not vulnerable.

Mitigation Recommendations

A fix is available in undici version 8.10.2. Users should upgrade to version 8.10.2 or later to remediate this vulnerability. As a workaround, do not share cache stores or interceptor instances across multiple origins; instead, use separate cache stores and interceptor instances per origin. Applications using the default Agent dispatch path are not affected. No other practical mitigations have been identified by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:54438
Cve Count
1

Threat ID: 6a9c258bacd9273b49fa8a24

Added to database: 09/05/2026, 14:22:03 UTC

Last enriched: 09/29/2026, 21:38:33 UTC

Last updated: 10/11/2026, 18:48:23 UTC

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses