CVE-2026-1525
March 12, 2026
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
Affected Packages
undici (NPM):
Affected version(s) >=0.1.0 <6.24.0Fix Suggestion:
Update to version 6.24.0undici (NPM):
Affected version(s) >=0.1.0 <6.24.0Fix Suggestion:
Update to version 6.24.0undici (NPM):
Affected version(s) >=7.0.0 <7.24.0Fix Suggestion:
Update to version 7.24.0undici (NPM):
Affected version(s) >=7.0.0 <7.24.0Fix Suggestion:
Update to version 7.24.0undici (NPM):
Affected version(s) >=0.1.0 <6.24.0Fix Suggestion:
Update to version 6.24.0undici (NPM):
Affected version(s) >=7.0.0 <7.24.0Fix Suggestion:
Update to version 7.24.0undici (NPM):
Affected version(s) >=7.0.0 <7.24.0Fix Suggestion:
Update to version 7.24.0undici (NPM):
Affected version(s) >=0.1.0 <6.24.0Fix Suggestion:
Update to version 6.24.0undici (NPM):
Affected version(s) >=0.1.0 <6.24.0Fix Suggestion:
Update to version 6.24.0Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
EPSS
Base Score:
0.02