Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessApp pins mixed-case SRI token
-
DeliveryAttacker controls upstream response body
-
ExploitNon-lowercase token skipped as unknown
-
ExecutionIntegrity list treated as empty
-
ImpactTampered bytes accepted without error
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
|
| Exploitation Conditions | Exploitation requires BOTH: (1) the target application calls undici fetch() with SRI integrity metadata whose algorithm token is non-lowercase (uppercase or mixed-case, e.g. 'SHA256-' / 'Sha384-' rather than 'sha256-'), and (2) the attacker controls the HTTP response body, via a compromised/malicious upstream server or an on-path position. Affects undici 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1 only. LIMITING FACTORS: impact is integrity-only (no confidentiality or availability loss); the non-lowercase token usage is uncommon and non-default since standard SRI documentation uses lowercase tokens, so most SRI-using applications are unaffected; the fix normalizes the token to ASCII lowercase before validation, and the documented workaround is to use lowercase tokens (sha256/sha384/sha512). |
| Impact | Signals converge on LOW real-world priority despite the 7.5 'High' CVSS. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N) looks alarming at first glance - network, no privileges, no user interaction - but the impact is confined entirely to integrity (C:N/A:N), and exploitation depends on two independent preconditions the attacker does not control: the victim application must have pinned a valid but non-lowercase SRI token (e.g. uppercase/mixed-case SHA256), and the attacker must already control the response body. The corroborating signals all point low: EPSS is 0.25% (15th percentile), SSVC reports Exploitation=none, Automatable=no, Technical Impact=partial, and the vulnerability is not on CISA KEV. No public exploit was identified at time of analysis. The one point of tension is the CVSS AC:L rating versus the description's clearly unusual precondition (an application must use a non-lowercase algorithm token, which is uncommon since documentation and examples universally use lowercase) - this argues the real-world attack complexity is higher than AC:L suggests. Overall this is a high-CVSS-but-low-real-risk issue: a genuine integrity-check bypass worth patching, but not an urgent, widely-exploitable threat. |
| Exploit ScenarioDerived | A Node.js application uses undici's fetch() to retrieve a critical resource (e.g. a script or config blob) and pins it with an integrity value using an uppercase or mixed-case algorithm token such as 'SHA256-...'. Because undici matches the token only against a lowercase set, the token is treated as unknown and dropped, the integrity list becomes empty, and the check silently passes. An attacker who controls the upstream server or can tamper with the response body then returns attacker-controlled bytes that are accepted without any integrity error. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Subresource Integrity checks in undici can be bypassed when fetch() integrity metadata uses an uppercase or mixed-case algorithm token, allowing an attacker who controls the response body to deliver bytes that do not match the pinned digest without an integrity error. The issue affects undici 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1 and is fixed in 7.30.1 and 8.12.2; exploitation requires both non-lowercase SRI token usage and attacker control of the HTTP response, and impact is integrity-only. No public exploit was identified at time of analysis, and EPSS is low at 0.25% (15th percentile), consistent with the assessed high attack complexity and limited real-world exposure.
Earlier versions of this analysis (1)
Integrity-check bypass in the fetch() implementation of undici (the HTTP client library used by Node.js) allows a party that controls only the response body to deliver attacker-chosen bytes to applications that pinned a valid but non-lowercase Subresource Integrity token. Affected releases are 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1; the flaw is unauthenticated and remotely triggerable, but exploitation depends on the application supplying an uppercase or mixed-case algorithm token such as 'SHA256-' and on the attacker being able to control the returned response (malicious or compromised origin, or an in-path position on the fetch channel). Impact is limited to response integrity - confidentiality and availability are unaffected - and no public exploit code was identified at time of analysis; the issue is fixed in 7.30.1 and 8.12.2.
RemediationAI
Vendor-released patch: upgrade to undici 7.30.1 or 8.12.2 or later, which normalize the SRI algorithm token to ASCII lowercase before validation. If immediate upgrade is not possible, use the documented workaround of writing integrity metadata with lowercase tokens only, such as sha256, sha384, or sha512; add CI or lint checks to reject uppercase or mixed-case SRI algorithm tokens, with the trade-off that this depends on complete source coverage and does not protect applications that already ship non-lowercase tokens. Because exploitation also requires attacker control of the response body, reducing exposure to compromised upstream servers and on-path attackers lowers risk, but SRI token normalization or upgrade remains the direct fix. See https://github.com/nodejs/undici/security/advisories/GHSA-f72v-6w45-q472 and https://cna.openjsf.org/security-advisories.html for advisory details.
Affected VersionsENISA
Affected Packages
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 client library, and its fetch() implementation supports Subresource Integrity metadata for validating response bodies against pinned digests. The root cause is CWE-178, improper handling of case sensitivity: the SRI specification defines algorithm tokens by their ASCII-lowercase form, but undici compared the token against a lowercase-only set, so a valid token such as uppercase or mixed-case SHA256 was treated as unknown and skipped. When no recognized algorithm remained, undici treated the integrity list as empty and accepted the response, defeating the integrity check. The CPE entry cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:* identifies undici as the affected product, with EUVD specifying affected ranges as undici 8.0.0 <8.12.2 and 7.15.0 <7.30.1; the weakness affects response integrity only, with no confidentiality or availability impact.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AC:H because exploitation needs the uncommon non-lowercase-token precondition plus attacker control of the response body; PR:N/UI:N as no victim action is required; C:N/A:N since only response integrity is affected.
Primary rating from Vendor (openjs).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
undici is an HTTP client library for Node.js. In versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1, its fetch() implementation verifies Subresource Integrity metadata by matching the algorithm token against a lowercase-only set, even though the SRI specification defines the token by its ASCII-lowercase form, so a valid but non-lowercase token such as an uppercase or mixed-case SHA256 is treated as unknown and skipped. When no recognized algorithm remains, undici treats the integrity list as empty and accepts the response, so a server returning a body that does not match the pinned digest passes the check. An attacker who controls only the response body can therefore deliver attacker-controlled bytes to an application that pinned a valid uppercase or mixed-case SRI token, with no integrity error, affecting response integrity only. The issue is fixed in undici 7.30.1 and 8.12.2, which normalize the algorithm token to ASCII lowercase before validation, and users should upgrade to one of those versions or later. As a workaround, use lowercase algorithm tokens such as sha256, sha384, or sha512 in integrity metadata.
Technical POC Analysis
CWE-178 (Improper Handling of Case Sensitivity).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Undici versions 7.15.0 through 7.30.0 and 8.0.0 through 8.12.1 contain a subresource integrity bypass that can allow tampered HTTP responses to be accepted when applications use uppercase or mixed-case SRI algorithm tokens; impact is integrity-only and requires attacker control of the response plus specific token formatting. Leadership should care because affected Node.js services may rely on SRI as a supply-chain safeguard, though the high attack complexity and low EPSS reduce immediate organizational risk.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge
Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com
Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from
Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent
Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo
`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th
CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic
Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,
undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection
Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions
Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0
Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug
EUVD-2026-102305
GHSA-f72v-6w45-q472
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB