CVE-2026-1527 | undici is vulnerable to CRLF Injection via upgrade option

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` }

Published: 2026-03-12 Last update: 2026-03-20 Assigner: ce714d77-add3-4f53-aff5-83d477b104bb Source: ce714d77-add3-4f53-aff5-83d477b104bb

Conclusion & alert: CVE-2026-1527 is rated Low Risk (21.1/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-1527

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-13 0.03%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-1527

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.6 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 2.5 ce714d77-add3-4f53-aff5-83d477b104bb

Weakness enumeration for CVE-2026-1527

GitHub Security Advisory for CVE-2026-1527

GHSA-4992-7rv2-5pvq · Severity: medium · Ecosystem: npm — Undici has CRLF Injection in undici via `upgrade` option

OS Trackers for CVE-2026-1527

vendor priority summary link
alpine CVE-2026-1527: 1 source package rows (nodejs); 10 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 10. https://security.alpinelinux.org/vuln/CVE-2026-1527
debian unimportant CVE-2026-1527 unimportant priority: Debian including 1 source packages (node-undici), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. https://security-tracker.debian.org/tracker/CVE-2026-1527
redhat medium https://access.redhat.com/security/cve/CVE-2026-1527
ubuntu medium CVE-2026-1527 medium priority: Ubuntu including 1 source packages (node-undici), 4 status rows across 4 suites (jammy, noble, questing, upstream): needs-triage 3, DNE 1. https://ubuntu.com/security/CVE-2026-1527

Affected software / configurations for CVE-2026-1527

Vendor Product Version Raw CPE
nodejs undici < 6.24.0 cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
nodejs undici >= 7.0.0, < 7.24.0 cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*

References for CVE-2026-1527

cvelogic Threat Intelligence