CVE-2026-1525Nodejs Undici
Critical 9.8 No auth needed
Follow: this CVE · Nodejs · Nodejs Undici We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Mar 12, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-444
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Undici allows duplicate HTTP Content-Length headers when they are provided in an array with case-variant names (e.g., Content-Length and content-length). This produces malformed HTTP/1.1 requests with multiple conflicting Content-Length values on the wire.
Who is impacted:
* Applications using undici.request(), undici.Client, or similar low-level APIs with headers passed as flat arrays
* Applications that accept user-controlled header names without case-normalization
Potential consequences:
* Denial of Service: Strict HTTP parsers (proxies, servers) will reject requests with duplicate Content-Length headers (400 Bad Request)
* HTTP Request Smuggling: In deployments where an intermediary and backend interpret duplicate headers inconsistently (e.g., one uses the first value, the other uses the last), this can enable request smuggling attacks leading to ACL bypass, cache poisoning, or credential hijacking
What to do
- Apply the vendor's security update for Undici.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | undici |
< 6.24.0 |
6.24.0 |
npm install undici@6.24.0 |
| npm | undici |
≥ 7.0.0 < 7.24.0 |
7.24.0 |
npm install undici@7.24.0 |
Per OSV / GitHub Advisories (GHSA-2mjp-6q6p-2qxm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | < 6.24.0 |
| nodejs | undici | ≥ 7.0.0 < 7.24.0 |
Official advisories
- Red Hat Security Advisory: nodejs:22 security update · Red Hat · RHSA-2026:7983 · Apr 15, 2026 High
- Red Hat Security Advisory: nodejs24 security update · Red Hat · RHSA-2026:7675 · Apr 13, 2026 High
- Red Hat Security Advisory: nodejs:24 security update · Red Hat · RHSA-2026:7670 · Apr 13, 2026 High
Also: Red Hat (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Vendor Advisory
- cwe.mitre.org Technical Description
- github.com Mitigation Vendor Advisory
- hackerone.com Permissions Required
- www.rfc-editor.org Technical Description