Improper Certificate Validation Affecting yhirose/cpp-httplib package, versions [,0.37.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-YHIROSECPPHTTPLIB-15608192
  • published15 Mar 2026
  • disclosed13 Mar 2026
  • credit0x3xploit

Introduced: 13 Mar 2026

CVE-2026-32627  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade yhirose/cpp-httplib to version 0.37.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation due to the handling of HTTPS redirects when a proxy is configured and set_follow_location is enabled. An attacker can intercept sensitive information by presenting a forged, expired, or self-signed certificate during a redirect, allowing interception of credentials or session tokens without alerting the application.

CVSS Base Scores

version 4.0
version 3.1