Improper Certificate Validation in Cpp-httplib - CVE-2026-32627
Published: April 24, 2026
Cpp-httplib
Detailed vulnerability description
The vulnerability allows a remote attacker to intercept HTTPS connections and disclose sensitive information.
The vulnerability exists due to improper certificate validation in ClientImpl::create_redirect_client() in httplib.h when following an HTTPS redirect through a configured proxy. A remote attacker can return a crafted redirect response and present a forged or self-signed certificate to intercept HTTPS connections and disclose sensitive information.
Only builds with SSL support are affected, and exploitation requires the client to have a proxy configured with redirect following enabled.