CVE-2026-32627
Last modified
CVE-2026-32627 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.37.2, when a cpp-httplib client is configured with a proxy and set_follow_location(true), any HTTPS redirect it follows will have TLS certificate and hostname verification silently disabled on the new connection. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.37.2, when a cpp-httplib client is configured with a proxy and set_follow_location(true), any HTTPS redirect it follows will have TLS certificate and hostname verification silently disabled on the new connection. The client will accept any certificate presented by the redirect target — expired, self-signed, or forged — without raising an error or notifying the application. A network attacker in a position to return a redirect response can fully intercept the follow-up HTTPS connection, including any credentials or session tokens in flight. This vulnerability is fixed in 0.37.2.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yhirose | Cpp-Httplib | < 0.37.2 |
References
- https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-c3h8-fqq4-xm4gExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-32627?
How severe is CVE-2026-32627?
How do I fix CVE-2026-32627?
Are you affected by CVE-2026-32627?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
