CVE-2026-21428

EUVD-2026-0026
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.0, the ``write_headers`` function does not check for CR & LF characters in user supplied headers, allowing untrusted header value to escape header lines.
This vulnerability allows attackers to add extra headers, modify request body unexpectedly & trigger an SSRF attack. When combined with a server that supports http1.1 pipelining (springboot, python twisted etc), this can be used for server side request forgery (SSRF). Version 0.30.0 fixes this issue.
CRLF Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 32.02%
Affected Products (NVD)
VendorProductVersion
yhirosecpp-httplib
𝑥
< 0.30.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
cpp-httplib
bookworm
vulnerable
forky
0.41.0+ds-3
fixed
sid
0.41.0+ds-3
fixed
trixie
vulnerable
trixie (security)
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
cpp-httplib
jammy
needed
noble
needed
plucky
ignored
questing
ignored
resolute
needed