CVE Tools

CVE-2026-1527

undici is vulnerable to CRLF Injection via upgrade option

Published: Mar 12, 2026Updated: Mar 20, 2026 Sources: CVE List NVD GHSACWE-93
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

AV:NAC:LPR:LUI:RS:UC:LI:LA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:LConfidentiality
Low
I:LIntegrity
Low
A:NAvailability
None

Weaknesses

Affected Products

nodejsoss-projectUSOSS Librariesaka node.js, node
npmpackage-ecosystemOSS Libraries
undicioss-projectOSS Librariesaka undici

Exploitability

Official Patch Available
Workaround Available

References

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 Account
Plain-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