CVE-2026-1527 Details
Description
ImpactWhen an application passes user-controlled input to the upgrade option of client.request(), an attacker can inject CRLF sequences (\r\n) to: * Inject arbitrary HTTP headers * Terminate the HTTP request prematurely and smuggle raw data to non-HTTP services (Redis, Memcached, Elasticsearch) The vulnerability exists because undici writes the upgrade value directly to the socket without validating for invalid header characters: // lib/dispatcher/client-h1.js:1121 if (upgrade) { header += `connection: upgrade\r\nupgrade: ${upgrade}\r\n` }
A CRLF injection vulnerability has been identified in the Node.js HTTP client library undici, affecting versions prior to 6.24.0 and 7.0.0 through 7.24.0. The vulnerability arises when user-controlled input is passed to the upgrade option of client.request(). Undici writes the upgrade value directly to the socket without proper validation, allowing attackers to inject CRLF sequences. This injection can be used to add arbitrary HTTP headers, prematurely terminate the HTTP request, and smuggle raw data to non-HTTP services such as Redis, Memcached, and Elasticsearch.
Users can upgrade to undici versions 6.24.0 or 7.24.0 and later. It is also recommended to sanitize the upgrade option string before passing it to undici, ensuring that it does not contain invalid characters such as CRLF sequences.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Vendor Advisory |
| https://github.com/nodejs/undici/security/advisories/GHSA-4992-7rv2-5pvq | openjs | MitigationPatchVendor Advisory |
| https://hackerone.com/reports/3487198 | openjs | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | openjs |
Affected Products
| Product | Versions |
|---|---|
| nodejs undici | < 6.24.0 >= 7.0.0, < 7.24.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | openjs |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2026 | Initial Analysis | [email protected] |
| Mar 12, 2026 | New CVE Received | openjs |