CVE-2026-15157undici vulnerable to CRLF Injection via blob-like body 'type' property
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-undici | Fix pending | UBUNTU-CVE-2026-15157 | |
| Ubuntu 26.04 | node-undici | Under investigation | UBUNTU-CVE-2026-15157 | |
| Ubuntu 24.04 | node-undici | Under investigation | UBUNTU-CVE-2026-15157 | |
| Debian 14 | node-undici | Fixed | 8.9.0+dfsg+~cs3.2.0-1 | DEBIAN-CVE-2026-15157 |
| Debian 13 | node-undici | Fix pending | DEBIAN-CVE-2026-15157 | |
| Debian 12 | node-undici | Fix pending | DEBIAN-CVE-2026-15157 | |
| npm library | undici | Fixed | 8.9.0 | GHSA-m8rv-5g2x-5cg5 |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- undici: affected: before 6.28.0, 6.28.0 not affected, 7.0.0 to before 7.29.0, 7.29.0 not affected, 8.0.0 to before 8.9.0, 8.9.0 not affected; fixed in
6.28.0,7.29.0,8.9.0
References
- https://github.com/nodejs/undici/security/advisories/GHSA-m8rv-5g2x-5cg5
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.