CVE-2026-109841
undici: undici: Subresource Integrity bypass via non-lowercase algorithm tokens
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-178
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=7.15.0, <7.30.1>=8.0.0, <8.12.2 | 7.30.18.12.2 |
| Seal npm | @seal-security/undici | >=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp999>=7.22.0-sp1, <7.22.0-sp999>=7.28.0-sp1p1, <7.28.0-sp999>=7.29.0-sp1, <7.29.0-sp999 | 7.18.2-sp9997.19.2-sp9997.22.0-sp9997.28.0-sp9997.29.0-sp999 |
| Seal npm | undici | >=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp999>=7.22.0-sp0, <7.22.0-sp999>=7.28.0-sp0, <7.28.0-sp999>=7.29.0-sp0, <7.29.0-sp999 | 7.18.2-sp9997.19.2-sp9997.22.0-sp9997.28.0-sp9997.29.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 27 fixes
Red Hat 8 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 8 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 8 (nodejs:22) | nodejs +10 | affected |
| 8 (nodejs:24) | nodejs +10 | affected |
| 9 | openshift4-ose-monitoring-plugin-rhel9 +1 | affected |
| 9 (nodejs:22) | nodejs +4 | affected |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs24-npm | 1:11.19.1-1.24.22.1.1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.22.1-1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 |
chainguard 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| supabase-storage-api | 1.84.23-r1 | |
| lerna | 10.1.1-r3 | |
| node-gyp | 13.1.0-r1 | |
| homepage | 2.6.0-r4 | |
| vitess-24 | 24.0.5-r5 | |
| renovate | 44.198.3-r1 |
4 more rows
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 14 | node-undici | 8.12.2+dfsg+~cs3.2.3-1 |
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.1.1-r3 | |
| node-gyp | 13.1.0-r1 | |
| vitess-24 | 24.0.5-r5 | |
| renovate | 44.198.3-r1 | |
| prism | 5.16.0-r19 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-109841
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/18bc8a1e09d15bc45815154a289dcf6fd5254d00
- github.com https://github.com/nodejs/undici/commit/4f7ef6806e53
- github.com https://github.com/nodejs/undici/commit/4f7ef6806e532ab9e29ccd6229b1b9d241e1b1f0
- github.com https://github.com/nodejs/undici/releases/tag/v7.30.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.12.2
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-f72v-6w45-q472
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-109841
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.