Vulnerabilities

CVE-2026-1527

Medium 4.6 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2026-03-12
Last modified
2026-06-17
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Scored by
ce714d77-add3-4f53-aff5-83d477b104bb
Probability of exploitation
0.3 % higher than 17 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
undici (npm) < 6.24.0 Affected
undici (npm) ≥ 7.0.0, < 7.24.0 Affected
Nodejs Undici < 6.24.0 Affected
Nodejs Undici ≥ 7.0.0, < 7.24.0 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities