CVE search · CVE-2026-1525
CVE-2026-1525
critical 9.8
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
Details
- Status
- Analyzed
- Published
- Last changed
- Source
- ce714d77-add3-4f53-aff5-83d477b104bb
- Weakness
- CWE-444
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 3.1 | medium 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
ce714d77-add3-4f53-aff5-83d477b104bbSecondary |
| CVSS 3.1 | critical 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- nodejs · undici
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
- https://cwe.mitre.org/data/definitions/444.htmlTechnical Description
- https://github.com/nodejs/undici/security/advisories/GHSA-2mjp-6q6p-2qxmMitigationVendor Advisory
- https://hackerone.com/reports/3556037Permissions Required
- https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6Technical Description