Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition to control response body (malicious/compromised origin or MITM)
-
DeliveryApp requests resource with whitespace-surrounded SRI value
-
Exploitundici parses integrity list as empty, skips verification
-
ExecutionReturn tampered body differing from pinned digest
-
ImpactApplication consumes attacker-controlled bytes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Integrity verification
|
| Exploitation Conditions | Two concrete prerequisites must both hold. First, the application must use undici's fetch() Subresource Integrity feature AND supply the integrity metadata with surrounding ASCII whitespace - specifically a digest preceded by a horizontal tab, line feed, form feed, or carriage return (e.g. '\tsha256-...'), or whitespace around the value; a correctly formatted single-space-separated SRI string is not vulnerable (that is also the documented workaround). Second, the attacker must be able to control the returned response body, via a malicious or compromised upstream server or a man-in-the-middle position; the attacker does not need to control the integrity metadata itself. Limiting factors: only undici versions 7.15.0-7.30.1 and 8.0.0-8.12.3 are affected (7.14.0 and earlier are not, as the regression was introduced in 7.15.0); the flaw is inert unless SRI pinning is actually used, which is not a default behavior for most fetch() calls; and impact is confined to accepting a tampered body (integrity), with no confidentiality or availability consequence. |
| Impact | This is a moderate, conditional-integrity flaw rather than a widespread emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N, base 5.9) correctly reflects a network-reachable but condition-dependent weakness with integrity-only impact (C:N/I:H/A:N) - there is no confidentiality or availability loss, so the single affected dimension is the trustworthiness of a fetched body. AC:H is appropriate because exploitation does not work against arbitrary deployments: the application must both use undici's fetch() SRI feature AND supply an integrity value with surrounding ASCII whitespace (e.g. a leading tab), and the attacker must independently be positioned to control the response body. No EPSS score is provided and there is no CISA KEV listing, so this is not confirmed actively exploited; no public exploit or PoC reference is present in the input either, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' - a routine patch priority, not act_now or emergency - which is consistent with the integrity-only impact and the non-default triggering condition. The one signal pulling upward is product prevalence: undici underpins Node.js's global fetch, so the vulnerable library is extremely common even though the specific vulnerable code path (SRI verification with whitespace-surrounded metadata) is rarely exercised. Net: a real but low-to-moderate priority - patch on a normal maintenance cycle rather than as a drop-everything fire. Note one input inconsistency: the 'Information Disclosure' tag conflicts with the CVSS and advisory, which state the impact is integrity only (C:N/I:H). |
| Exploit ScenarioDerived | An application pins a downloaded resource (e.g. a script or config blob) by passing undici fetch() an integrity string that has a leading tab or other ASCII whitespace before the digest, such as '\tsha256-...'. undici splits only on a single space, fails to recognize the whitespace-prefixed token as a valid algorithm, finds no recognized algorithm, treats the integrity list as empty, and accepts the response without verification. An attacker who controls the response body (a malicious or compromised upstream server, or a man-in-the-middle position) then returns arbitrary bytes that differ from the pinned digest and the application consumes them with no integrity error. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Subresource Integrity verification in undici's fetch() silently fails open when the caller's integrity metadata contains surrounding ASCII whitespace, allowing an attacker who controls the response body to deliver bytes that do not match the pinned digest. Applications are affected only if they use SRI pinning with undici 7.15.0 through 7.30.1 or 8.0.0 through 8.12.3 and format the integrity string with a tab, line feed, form feed, or carriage return instead of plain spaces; a correctly formatted single-space-separated value is not vulnerable. Impact is limited to integrity (a tampered body is accepted with no error) with no confidentiality or availability consequence, the trigger requires a malicious or compromised upstream or a man-in-the-middle position, and no public exploit code was identified at time of analysis.
RemediationAI
Upgrade to undici 7.30.2 or 8.12.4 (or later on the respective branch), the releases that fix the parsing to split integrity metadata on the full ASCII whitespace set; the vendor advisory at https://github.com/nodejs/undici/security/advisories/GHSA-r4pc-4jcp-7pqc documents the change. If upgrading cannot be done immediately, the vendor-supplied workaround is to supply SRI integrity metadata without any surrounding whitespace and to separate multiple digests with a single space, which keeps the existing parser on the recognized path - the trade-off is that this depends on every caller formatting integrity strings correctly, so it must be enforced in application code and review rather than at the library level. No vendor-released patch for the affected ranges other than 7.30.2 and 8.12.4 is identified, and note that the flaw is inert for applications that do not use fetch() SRI pinning at all.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
undici implements the fetch() Subresource Integrity check by splitting the integrity attribute string on a single ASCII space character. The SRI grammar, however, separates metadata by ASCII whitespace, a set that also covers horizontal tab, line feed, form feed and carriage return. A digest preceded by one of those characters, such as a value beginning with a tab before "sha256-", is therefore not split off and is instead treated as a single unrecognized token and dropped. When every token is discarded, undici concludes the integrity list is empty and accepts the response rather than rejecting it, which is the fail-open behavior captured by CWE-354 (Improper Validation of Integrity Check Value). Only response integrity is in scope: the attacker controls the body being returned, not the application's integrity metadata, and the flaw is a regression introduced in undici 7.15.0 - 7.14.0 and earlier parse correctly. The fix updates parsing to split on the full ASCII whitespace set (space, horizontal tab, line feed, form feed, carriage return) so whitespace-surrounded SHA-256, SHA-384 and SHA-512 values are verified instead of skipped.
Know when Node.js 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:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Network-reachable and needs no privileges or user interaction, but requires both SRI-with-whitespace use and attacker control of the response body, so AC:H; impact is integrity only (I:H, C:N/A:N).
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
2DescriptionCVE.org
undici is an HTTP client for Node.js. In versions 7.15.0 through 7.30.1 and 8.0.0 through 8.12.3, fetch verifies Subresource Integrity metadata by splitting the integrity string on a single space, but the SRI grammar separates metadata by ASCII whitespace, which also includes the horizontal tab. An integrity value whose digest is preceded by a tab or other ASCII whitespace is parsed as a single unrecognized token and skipped, and when no recognized algorithm remains undici treats the integrity list as empty and accepts the response, so a server returning a body different from the pinned digest passes the check. An application that pins a response with a valid but whitespace-surrounded SRI value receives attacker-controlled bytes with no integrity error, and the attacker needs only to control the response body, not the integrity metadata. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, supply SRI integrity metadata without surrounding whitespace, using a single space to separate multiple digests.
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
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-118182
NVD
CVE.org
EPSS
GitHub
Exploit-DB