Skip to main content

undici EUVDEUVD-2026-118182

| CVE-2026-120423 MEDIUM
Improper Validation of Integrity Check Value (CWE-354)
2026-11-06 ce714d77-add3-4f53-aff5-83d477b104bb
5.9
CVSS 3.1 · Vendor: ce714d77-add3-4f53-aff5-83d477b104bb
View

Attack ChainAIDerived

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

  1. Access
    Position to control response body (malicious/compromised origin or MITM)
  2. Delivery
    App requests resource with whitespace-surrounded SRI value
  3. Exploit
    undici parses integrity list as empty, skips verification
  4. Execution
    Return tampered body differing from pinned digest
  5. Impact
    Application 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.

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

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

Alert me

AnalysisAIv1 – 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

undici 8.0.0 <8.12.4
undici 7.15.0 <7.30.2

Affected Packages

euvd undici fix: 7.30.2, 8.12.4

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

Vendor (ce714d77-add3-4f53-aff5-83d477b104bb) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 5.9 MEDIUM

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).

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

Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).

CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb

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

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 11:20 EUVD
CVE Published
Nov 06, 2026 - 10:16 cve.org
MEDIUM 5.9

DescriptionCVE.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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
undici is the HTTP client powering Node.js global fetch; vulnerable versions widely deployed
Data Quality
5 sources
Confidence: Medium

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.1%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

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.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

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