Back to CVE records
Medium 4.6Published Mar 12, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects undici and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
4.6 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-93
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
openjs
NVD analysis
Analyzed
Record last updated
Mar 13, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
undici undici
undici:undici (from the name)
before 6.24.0; 7.0.0 < 7.24.0; 6.24.0: 7.24.0 not affected
CNA record
nodejs undici
nodejs:undici
before 6.24.0; from 7.0.0 before 7.24.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.