# CVE-2026-15157: undici vulnerable to CRLF Injection via blob-like body 'type' property

- Severity: Medium 4.2 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-07-29T21:17:44.740Z
- Modified: 2026-09-10T03:51:14.281Z
- Also known as: GHSA-m8rv-5g2x-5cg5
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

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

(As written by CVE List.)

## Affected

- undici undici: before 6.28.0; from 7.0.0 before 7.29.0; from 8.0.0 before 8.9.0 (not affected: 6.28.0; 7.29.0; 8.9.0)
- undici (npm): before 6.28.0; from 7.0.0 before 7.29.0; from 8.0.0 before 8.9.0
- nodejs undici: before 6.28.0; from 7.0.0 before 7.29.0; from 8.0.0 before 8.9.0

## Every score

- openjs: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-m8rv-5g2x-5cg5> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-15157> (advisory)
- <https://github.com/nodejs/undici/commit/33928bc24f742ea8422ed90d17f2e0cc83e4d09d> (web)
- <https://github.com/nodejs/undici/commit/740a0b7c173cb4a83a5b693e96e8f3a116cfc400> (web)
- <https://github.com/nodejs/undici/commit/7d3cf924c262c486bc77f951348f4e5c847b7b42> (web)
- <https://github.com/nodejs/undici> (package)
- <https://github.com/nodejs/undici/releases/tag/v6.28.0> (web)
- <https://github.com/nodejs/undici/releases/tag/v7.29.0> (web)
- <https://github.com/nodejs/undici/releases/tag/v8.9.0> (web)

## Sources

- CVE List: [CVE-2026-15157](https://www.cve.org/CVERecord?id=CVE-2026-15157), CVE Terms of Use, modified 2026-07-30
- GitHub Advisory Database: [GHSA-m8rv-5g2x-5cg5](https://github.com/advisories/GHSA-m8rv-5g2x-5cg5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-15157](https://nvd.nist.gov/vuln/detail/CVE-2026-15157), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-15157 · Whole record: https://cve.day/CVE-2026-15157.json · Rebuilt by cve.day 2026-11-25T22:59:30.490Z
