Improper Certificate Validation Affecting cpp-httplib package, versions [,0.39.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (7th 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-CONAN-CPPHTTPLIB-15608193
  • published15 Mar 2026
  • disclosed13 Mar 2026
  • credit0x3xploit

Introduced: 13 Mar 2026

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

How to fix?

Upgrade cpp-httplib to version 0.39.0 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