CVE-2026-1527
undici is vulnerable to CRLF Injection via upgrade option
4.6CVSSMEDIUM
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` }
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:RUser InteractionRequired
Scope
S:UScopeUnchanged
Impact
C:LConfidentialityLow
I:LIntegrityLow
A:NAvailabilityNone
Weaknesses
Affected Products
Exploitability
Official Patch Available
Workaround Available
References
https://cna.openjsf.org/security-advisories.html
cna.openjsf.org
https://github.com/nodejs/undici/security/advisories/GHSA-4992-7rv2-5pvq
github.com
https://hackerone.com/reports/3487198
hackerone.com
and 2 more references View all →
Timeline
Published
Mar 12, 2026
Last Updated
Mar 20, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-1527 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows