Skip to main content

undici CVE-2026-14643

| EUVDEUVD-2026-50567 HIGH
Interpretation Conflict (CWE-436)
2026-07-29 openjs GHSA-jr45-8vmc-qm54
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify undici app with shared-cache interceptor enabled
  2. Delivery
    Victim user sends authenticated request to protected endpoint
  3. Exploit
    Upstream returns padded no-cache/private directive, parser drops qualification
  4. Execution
    undici caches authenticated user's response
  5. Persist
    Attacker sends unauthenticated request to same cache-key endpoint
  6. Impact
    Attacker receives victim's cached authenticated response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
Exploitation Conditions

Exploitation requires all three of the following conditions to be simultaneously true: (1) the undici cache interceptor is explicitly instantiated in shared-cache mode via interceptors.cache() - this is a non-default, opt-in configuration that must be deliberately enabled by the developer; (2) the application forwards Authorization request headers to the upstream origin server; and (3) the upstream origin server sends private or no-cache Cache-Control directives with optional whitespace around the = delimiter, such as private =" authorization", no-cache= "authorization", or no-cache=authorization . Additionally, exploitation requires a second caller - potentially unauthenticated - to issue a request that resolves to the same cache key as the victim's authenticated request, meaning the same origin, method, path, and any other cache-key-contributing headers. This cache-key collision must occur within the cached response's max-age window. Exploitation is impossible against the default undici configuration (no cache interceptor), against private-cache mode, or when the upstream origin uses strictly formatted Cache-Control headers without OWS around =.

Impact

The NVD-assigned CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, score 7.5) overstates exploitability by rating AC:L - this does not capture the three simultaneous non-default application conditions required. In practice, SSVC rates exploitation as 'none' and automatable as 'no,' which is consistent with the 0.23% EPSS score at the 14th percentile, indicating very low current real-world exploitation probability. These signals collectively suggest this is not being actively or broadly exploited at time of analysis. However, a public proof-of-concept exists (GitHub Gist referenced in references), which meaningfully elevates risk for any applications that do meet all three deployment conditions. The confidentiality impact remains genuinely high - serving authenticated user session data to an unauthenticated caller represents a material access-control failure. Priority guidance: organizations running undici in a shared-cache proxy or gateway role that forwards Authorization headers should treat this as high urgency; organizations using undici in default (non-cache) or private-cache mode are not affected and can deprioritize.

Exploit ScenarioDerived

A public proof-of-concept is available as a GitHub Gist (https://gist.github.com/alon710/dbd628dcf4d2ee2986aea22ad7d6f2b4). In a realistic attack, a Node.js API gateway or reverse proxy built on undici with shared-cache mode enabled serves both authenticated and unauthenticated clients. User A makes a GET request to /api/profile with an Authorization: Bearer <token> header; the upstream origin responds with user-specific data and a Cache-Control: public, max-age=60, private=" authorization" header containing OWS. The undici parser fails to recognize the private qualification, stores the authenticated response in cache, and when User B - potentially unauthenticated - subsequently requests the same /api/profile endpoint with matching cache-key headers, undici serves User A's sensitive profile data directly from cache.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 04, 2026

Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from a shared cache to subsequent callers, including unauthenticated ones, when the upstream origin sends qualified no-cache or private Cache-Control directives with optional whitespace (OWS) around the = delimiter. Affected deployments are those explicitly running undici 7.0.0-7.28.x or 8.0.0-8.8.x with interceptors.cache() in shared mode while forwarding Authorization headers upstream. This is a bypass of the earlier CVE-2026-9678 fix; a public proof-of-concept exists and vendor-released patches are available in undici 7.29.0 and 8.9.0.

Earlier versions of this analysis (1)
v1 Jul 29, 2026 - 21:51 CVSS 5.9

Cross-user cache poisoning in undici's cache interceptor (versions 7.0.0-7.28.x and 8.0.0-8.8.x) allows an unauthenticated caller to receive a cached HTTP response containing another authenticated user's private data when both requests share the same cache key. The parser fails to handle optional whitespace surrounding the equals sign in qualified no-cache or private Cache-Control directives, causing it to either discard the directive or misstore it with literal quote characters - in either case, treating the response as fully cacheable. This is a bypass of the fix for CVE-2026-9678, which addressed a related parsing gap but did not cover the whitespace-around-equals variant. No public exploit has been identified at time of analysis.

RemediationAI

Upgrade to undici 7.29.0 (for 7.x deployments) or 8.9.0 (for 8.x deployments) - these are the vendor-confirmed patched releases per GHSA-jr45-8vmc-qm54 (https://github.com/nodejs/undici/security/advisories/GHSA-jr45-8vmc-qm54), with fixes applied in commits 85a240551c9feb8b8a0ecc56c84b2b3015add8a9 and cb105d7c79069150982fa11acada0dd94a60dbbc. If an immediate upgrade is not feasible, the GHSA documents three compensating controls: first, disable shared-cache mode for any traffic path that includes Authorization headers - this eliminates the cross-user risk but removes caching benefits for authenticated flows; second, avoid caching responses to authenticated requests entirely - safest option but eliminates all caching utility for authenticated sessions; third, add Vary: Authorization to upstream server responses - this causes the cache to key on the Authorization header value, preventing cross-user cache collisions, but requires upstream server control and will significantly increase cache miss rates and origin load. None of the workarounds address the underlying parser defect; upgrading remains the definitive fix.

Affected VersionsENISA

undici 7.0.0 <7.29.0
undici 8.0.0 <8.9.0

Affected Packages

npm undici fix: 7.29.0, 8.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

undici is the Node.js native HTTP/1.1 client library, maintained under the Node.js project and distributed via npm (CPE: cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:*). The defect is in lib/util/cache.js's parseCacheControlHeader function, classified under CWE-436 (Interpretation Conflict): RFC 7234 permits optional whitespace (OWS) around the = in qualified Cache-Control directives such as private ="authorization" or no-cache= "authorization", but the undici parser did not trim this whitespace. Consequently, the parser either silently drops the entire directive or stores the field name with embedded literal quote and whitespace characters, neither of which matches the normalized field name the cache decision logic subsequently looks for. The result is that the response is written to cache as if it were publicly shareable, when the origin clearly intended to restrict it to specific header fields. The commit diff shows the fix is a targeted .trim() applied both to the overall field-name value and to each individual name in a comma-separated list. This vulnerability is the whitespace-around-equals variant that the prior fix for CVE-2026-9678 (GHSA-pr7r-676h-xcf6) did not normalize.

Know when Undici gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (openjs) PRIMARY MEDIUM
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

AC:H reflects the non-default shared-cache configuration, Authorization forwarding, OWS-padded upstream headers, and same-cache-key timing all being required simultaneously; PR:N because the attacker needs no credentials of their own.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (openjs).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 16:14 vuln.today
v2 - CVSS changed
Severity Changed
Aug 04, 2026 - 16:08 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 16:08 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch available
Jul 29, 2026 - 22:02 EUVD
CVE Published
Jul 29, 2026 - 21:08 cve.org
MEDIUM 5.9

DescriptionNVD

undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field name with literal quote characters, so the cache decision fails to recognize the qualification and the response is stored. In shared-cache mode, this lets a response containing one user's authenticated data be served from cache to a later caller, including an unauthenticated one, when both requests resolve to the same cache key. It affects applications that enable the cache interceptor in shared mode, forward Authorization headers upstream, and receive cacheable responses with qualified directives padded with whitespace around the equals sign. This is the whitespace-around-equals variant that the fix for CVE-2026-9678 did not normalize, and it is fixed in undici 7.29.0 and 8.9.0.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 28 npm packages depend on undici (16 direct, 23 indirect)

Ecosystem-wide dependent count for version 7.0.0.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-14643 in undici HTTP client (versions 7.0.0-7.28.x and 8.0.0-8.8.x) allows authenticated users' cached responses to be served to unauthenticated callers, creating a cross-user data disclosure risk. Publicly available exploit code exists for this vulnerability, and it bypasses a previous fix (CVE-2026-9678). Organizations using shared cache interceptors with Authorization headers forwarded upstream face exposure of sensitive customer data, authentication tokens, and confidential information.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
widely used Node.js HTTP client, common dependency across npm ecosystem
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Undici

View all
CVE-2022-35949 CRITICAL POC
9.8 Aug 12

undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge

CVE-2026-12151 HIGH POC
7.5 Jun 17

Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com

CVE-2026-16729 MEDIUM POC
6.5 Jul 29

Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent

CVE-2022-31151 MEDIUM POC
6.5 Jul 21

Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo

CVE-2022-32210 MEDIUM POC
6.5 Jul 14

`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th

CVE-2026-15157 MEDIUM POC
5.4 Jul 29

CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic

CVE-2023-23936 MEDIUM POC
5.4 Feb 16

Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,

CVE-2022-35948 MEDIUM POC
5.3 Aug 15

undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection

CVE-2026-13697 CRITICAL
9.1 Jul 29

Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions

CVE-2026-109383 CRITICAL POC
9.1 Oct 15

Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0

CVE-2026-109829 CRITICAL POC
9.1 Oct 15

Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug

CVE-2026-84961 CRITICAL
9.1 Sep 04

TLS certificate validation bypass in undici's BalancedPool dispatcher silently discards function-valued options - includ

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy