PoC Monitor
← All CVEs
CVE-2026-21428published 1 Jan 2026 17:54 UTCData: JSON · API

Yhirose cpp-httplib

cpp-httplib has CRLF injection in http headers

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-93
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

yhirose cpp-httplib
  • < 0.30.0

Fixed in 0.30.0

Mitigation

Upgrade cpp-httplib to 0.30.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Jan 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.