CVE-2026-15157
undici: undici: HTTP header injection via unvalidated blob-like body type property
Overview
Description
undici does not validate the type property of a duck-typed blob-like request body before using it as the Content-Type header on the HTTP/1.1 dispatcher. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, an application that passes a hand-rolled blob-like body (via request, stream, pipeline, or dispatch) whose type is derived from untrusted input allows an attacker to inject CRLF sequences and append arbitrary HTTP headers, potentially smuggling a second request past the upstream. Native Blob objects are safe because their constructor strips CRLF from the type, and fetch is unaffected because it validates headers, but ecosystem libraries that build duck-typed blob shapes from user input can reach the vulnerable path. This is the same defect class as CVE-2022-35948 and CVE-2026-1527, on a header sink that the earlier fixes did not cover. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness: CWE-93
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | <6.28.0>=7.0.0, <7.29.0>=8.0.0, <8.9.0 | 6.28.07.29.08.9.0 |
| Seal npm | @seal-security/undici | >=4.16.0-sp1, <4.16.0-sp999>=6.21.1-sp1, <6.21.1-sp999>=6.23.0-sp1, <6.23.0-sp2>=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp2p2+1 more | 4.16.0-sp9996.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p2 |
| Seal npm | undici | >=4.16.0-sp0, <4.16.0-sp999>=6.21.1-sp0, <6.21.1-sp999>=6.23.0-sp0, <6.23.0-sp2>=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp2p2+1 more | 4.16.0-sp9996.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p2 |
Open a package to see all its vulnerabilities.
Operating systems · 61 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:24.20.0-1.azl3 |
SUSE Linux Enterprise 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | nodejs18 +3 | 18.20.8-8.44.1 | SUSE-SU-2026:4248-1 |
| 15.4 | nodejs16 +3 | 16.20.2-150400.3.42.1 | SUSE-SU-2026:4355-1 |
| 15.4 | nodejs18 +3 | 18.20.8-150400.9.39.1 | SUSE-SU-2026:4261-1 |
| 15.5 | nodejs18 +3 | 18.20.8-150400.9.39.1 | SUSE-SU-2026:4261-1 |
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs22-npm | 1:10.9.8-1.22.23.2.1.amzn2023.0.2 |
| 2023 | nodejs24-npm | 1:11.16.0-1.24.18.1.1.amzn2023.0.2 |
| 2023 | nodejs22 +7 | 1:22.23.2-1.amzn2023.0.2 |
| 2023 | nodejs24 +7 | 1:24.18.1-1.amzn2023.0.2 |
| 2023 | v8-12-4-devel | 3:12.4.254.21-1.22.23.2.1.amzn2023.0.2 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.18.1.1.amzn2023.0.2 |
chainguard 1 release · 21 packages
| Release | Package | Fixed in |
|---|---|---|
| saf | 1.7.0-r0 | |
| npm-12 | 12.0.2-r2 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 |
15 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.9.0+dfsg+~cs3.2.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | 7.3.0+dfsg1+~cs24.12.11-1+e1 |
minimos 1 release · 17 packages
| Release | Package | Fixed in |
|---|---|---|
| grist | 1.7.18-r0 | |
| npm | 12.0.2-r1 | |
| node-gyp | 13.0.2-r0 | |
| nginx-proxy-manager-2 | 2.16.0-r0 | |
| n8n | 2.36.6-r0 | |
| uptime-kuma-2-5 | 2.5.3-r0 |
11 more rows
wolfi 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| saf | 1.7.0-r0 | |
| npm-12 | 12.0.2-r2 | |
| vitess-24 | 24.0.3-r7 | |
| langfuse-3 | 3.225.7-r6 | |
| pulumi | 3.256.0-r1 | |
| code-server | 4.130.0-r5 |
2 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-15157
- 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/33928bc24f742ea8422ed90d17f2e0cc83e4d09d
- github.com https://github.com/nodejs/undici/commit/740a0b7c173cb4a83a5b693e96e8f3a116cfc400
- github.com https://github.com/nodejs/undici/commit/7d3cf924c262c486bc77f951348f4e5c847b7b42
- github.com https://github.com/nodejs/undici/releases/tag/v6.28.0
- github.com https://github.com/nodejs/undici/releases/tag/v7.29.0
- github.com https://github.com/nodejs/undici/releases/tag/v8.9.0
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-m8rv-5g2x-5cg5
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.