Skip to main content

undici CVE-2026-109841

| EUVDEUVD-2026-102305 HIGH
Improper Handling of Case Sensitivity (CWE-178)
2026-10-15 openjs GHSA-f72v-6w45-q472
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    App pins mixed-case SRI token
  2. Delivery
    Attacker controls upstream response body
  3. Exploit
    Non-lowercase token skipped as unknown
  4. Execution
    Integrity list treated as empty
  5. Impact
    Tampered 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – 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)
v1 Oct 15, 2026 - 19:11 CVSS 5.9

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

undici 8.0.0 <8.12.2
undici 7.15.0 <7.30.1

Affected Packages

npm undici fix: 7.30.1, 8.12.2

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

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

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.

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

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 19, 2026 - 21:01 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 20:53 NVD
MEDIUM HIGH
CVSS changed
Oct 19, 2026 - 20:53 NVD
5.9 (MEDIUM) 7.5 (HIGH)
Patch available
Oct 15, 2026 - 20:03 EUVD
CVE Published
Oct 15, 2026 - 18:22 cve.org
MEDIUM 5.9

DescriptionNVD

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
undici is the HTTP client bundled as Node.js's global fetch, very widely deployed
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 No
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

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

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

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