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.
Conclusion & alert: CVE-2026-21428 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.02%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-18 | 0.05% | 0.02% | -0.04% |
| 2 | 2026-02-12 | 0.04% | 0.05% | +0.01% |
| 3 | 2026-01-02 | — | 0.04% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-21428 not yet assigned priority: Debian including 1 source packages (cpp-httplib), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 2, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-21428 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-21428 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2026-21428/ |
ubuntu
|
medium | CVE-2026-21428 medium priority: Ubuntu including 1 source packages (cpp-httplib), 5 status rows across 5 suites (jammy, noble, plucky, questing, upstream): needed 3, ignored 1, released 1. | https://ubuntu.com/security/CVE-2026-21428 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.30.0 | cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/yhirose/cpp-httplib/commit/98048a033a532ff22320ce1d11789f8d5710dfcd | Patch |
| https://github.com/yhirose/cpp-httplib/releases/tag/v0.30.0 | Product Release Notes |
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-wpc6-j37r-jcx7 | Exploit Third Party Advisory |