Live threats

All CVEs / Nodejs

CVE-2026-1527Nodejs Undici

Medium 4.6

Priority
28
CVSS 3.1
4.6
EPSS
—
Auth required
Yes
Published
Mar 12, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-93
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Undici.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm undici < 6.24.0 6.24.0 npm install undici@6.24.0
npm undici ≥ 7.0.0 < 7.24.0 7.24.0 npm install undici@7.24.0

Per OSV / GitHub Advisories (GHSA-4992-7rv2-5pvq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodejsundici< 6.24.0
nodejsundici≥ 7.0.0 < 7.24.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.