Skip to main content

Undici EUVDEUVD-2026-37766

| CVE-2026-9678 MEDIUM
Use of Cache Containing Sensitive Information (CWE-524)
2026-06-17 openjs GHSA-pr7r-676h-xcf6
5.9
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

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

  1. Access
    Upstream emits whitespace-padded Cache-Control directive
  2. Delivery
    Undici parser retains whitespace, field-name comparison to 'authorization' fails
  3. Exploit
    Response mis-classified as cacheable and stored in shared cache
  4. Execution
    Attacker issues request matching same cache key
  5. Persist
    Shared cache serves prior authenticated user's response
  6. Impact
    Confidential authenticated data disclosed to attacker

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Cache-Control for sensitive pages
Exploitation Conditions

Exploitation requires all three of the following conditions to be true simultaneously: (1) Undici's cache interceptor is explicitly configured in shared mode via interceptors.cache() with shared-cache enabled - this is a deliberate, non-default developer choice, not an out-of-the-box behavior; (2) the application forwards client Authorization headers to the upstream HTTP server without stripping or transforming them; (3) the upstream server returns Cache-Control responses with whitespace-padded qualified private or no-cache field names - for example Cache-Control: private=" authorization" (space before field name) or Cache-Control: no-cache=" authorization" (tab before field name) - a non-canonical but RFC 9111-compliant format. Exploitation is bounded by this three-way precondition: applications not using the shared cache interceptor are entirely unaffected regardless of upstream behavior, those that strip Authorization headers before forwarding are unaffected, and those whose upstreams only emit canonically-formatted Cache-Control directives are unaffected.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N yields a score of 5.9 (Medium). The network attack vector reflects that exploitation occurs over HTTP without requiring local access. The high attack complexity (AC:H) is well-calibrated: exploitation requires three simultaneous non-default conditions - shared-cache mode explicitly enabled, Authorization headers forwarded, and an upstream issuing non-canonical whitespace-padded Cache-Control directives. No EPSS data was included in the available intelligence, precluding a quantitative exploitation-probability comparison. The vulnerability carries no CISA KEV listing, and no public exploit code has been identified at time of analysis. Despite the moderate composite score, the confidentiality impact when fully exploited is severe: an entire authenticated response - potentially containing session tokens, personal data, or API credentials - can be delivered to a different user with no authentication required on their part. Security teams should treat this as high priority specifically for deployments matching all three exploitation conditions, and as low priority for applications not using the shared cache interceptor, since those are entirely unaffected by design.

Exploit ScenarioDerived

An attacker issues an unauthenticated HTTP request to an application whose Undici client is configured with a shared cache interceptor and which forwards Authorization headers upstream. A prior legitimate user's request to the same endpoint caused Undici to store the upstream response in the shared cache because the upstream's Cache-Control: private=" authorization" header (with a padded space before the field name) bypassed the cache's exclusion check. The attacker's request resolves to the same cache key - typically a combination of method, URL, and non-Authorization headers - and Undici returns the cached authenticated response, disclosing that user's data without any credential. No confirmed public exploit code exists at time of analysis, but the attack requires no specialized tooling beyond making a matching HTTP request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 17, 2026

Cache information disclosure in Undici's shared-mode cache interceptor allows a prior authenticated user's HTTP response to be served to a subsequent, potentially unauthenticated, caller. Applications using Undici's explicit interceptors.cache() in shared mode that forward Authorization headers to an upstream which returns Cache-Control headers with whitespace-padded qualified directives (e.g., private=" authorization") are affected across all v7 versions prior to 7.28.0 and all v8 versions prior to 8.5.0. No public exploit has been identified at time of analysis; exploitation is bounded by high attack complexity (CVSS AC:H, score 5.9), but when conditions align, the confidentiality impact is complete.

RemediationAI

Upgrade to undici v7.28.0 or v8.5.0, which correct the whitespace-normalization logic in the cache interceptor's qualified directive parser; the advisory is at https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6. If an immediate upgrade is not feasible, three compensating controls are available with distinct trade-offs. First, disable shared-cache mode for any request path that includes Authorization headers - this eliminates the cross-user leakage vector entirely but forfeits all shared caching benefits for authenticated traffic. Second, configure the application to avoid caching responses to authenticated requests at the Undici layer, which has the same effect with narrower scope. Third, add Vary: Authorization on the upstream server, forcing Undici to treat each distinct Authorization value as a separate cache key and preventing cross-user cache collisions; this workaround requires control of the upstream service and may substantially reduce cache hit rates for authenticated endpoints. Upgrade is strongly preferred over any workaround, as all three workarounds carry performance penalties and require accurate operational knowledge of which traffic paths are affected.

Affected VersionsENISA

undici 8.0.0 <8.5.0
undici 7.0.0 <7.28.0

Affected Packages

npm undici fix: 7.28.0, 8.5.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 a Node.js HTTP/1.1 client library maintained under the OpenJS Foundation, widely embedded in Node.js core and ecosystem tooling. The affected component is its cache interceptor, which implements HTTP caching semantics as defined in RFC 9111. RFC 9111 permits qualified Cache-Control directives such as private and no-cache to carry a quoted field-name list (e.g., private="authorization"), instructing downstream caches to treat those header-scoped responses as non-cacheable or private. The root cause, classified as CWE-524 (Use of Cache Containing Sensitive Information), is that Undici's parser preserves whitespace inside the quoted string. Consequently, private=" authorization" (with a leading space) does not match the canonical literal string authorization during internal comparison, causing the response to be incorrectly classified as cacheable and stored in the shared cache. All undici versions are captured under CPE cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:*, indicating no version prior to the patched releases is exempt.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Network-reachable with no auth required for the attacker, but AC:H because three specific non-default deployment conditions must simultaneously align; no integrity or availability impact applies.

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

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

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

Lifecycle Timeline

1
Patch available
Jun 18, 2026 - 17:02 EUVD

DescriptionCVE.org

Impact: Undici's cache interceptor incorrectly classifies some responses as cacheable when the upstream Cache-Control header uses whitespace-padded qualified private or no-cache field names such as private=" authorization" or no-cache="\tauthorization". The parser preserves the surrounding whitespace, so later comparisons against the literal authorization field name fail and the response is stored.

In shared-cache mode, this allows a response containing one user's authenticated data to be served from cache to a subsequent caller, including an unauthenticated caller, when both requests resolve to the same cache key.

Affected applications are those that explicitly enable the cache interceptor (interceptors.cache()) in shared mode, forward Authorization headers upstream, and receive cacheable responses with non-canonical qualified private or no-cache directives.

Patches: Upgrade to undici v7.28.0 or v8.5.0.

Workarounds: If upgrade is not immediately possible, disable shared-cache mode for traffic that includes Authorization headers, avoid caching responses to authenticated requests, or add Vary: Authorization upstream.

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Threat Intel
1
1 sources
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
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-14643 HIGH POC
7.5 Jul 29

Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Web and Scripting 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

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