CVE-2026-32627: cpp-httplib has a Silent TLS Certificate Verification Bypass on HTTPS Redirect via Proxy

Published Mar 13, 2026
·
Updated

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 setfollowlocation(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.

Affected Software

2 affected components
cpp-httplib<0.37.2
Yhirose Cpp-httplib<0.37.2

Event History

Mar 13, 2026
CVE Published
via MITRE·08:48 PM
Data Sourced
via MITRE·08:48 PM
DescriptionSeverityWeakness
Mar 16, 2026
Data Sourced
via NVD·02:19 PM
DescriptionSeverityWeaknessAffected Software
Jul 22, 58183
Event
via FIRST·08:21 AM

Frequently Asked Questions

1

What is the vulnerability CVE-2026-32627?

CVE-2026-32627 is a vulnerability in cpp-httplib that allows a silent TLS certificate verification bypass during HTTPS redirects when using a proxy.

2

What is the severity of CVE-2026-32627?

CVE-2026-32627 is considered a high severity vulnerability due to potential exposure of sensitive data.

3

How do I fix CVE-2026-32627?

To fix CVE-2026-32627, update cpp-httplib to version 0.37.2 or later.

4

What versions of cpp-httplib are affected by CVE-2026-32627?

CVE-2026-32627 affects all versions of cpp-httplib prior to 0.37.2.

5

How can CVE-2026-32627 impact my application?

CVE-2026-32627 can lead to man-in-the-middle attacks, where attackers can intercept and manipulate HTTPS traffic.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203