๐Ÿ” CVE Alert

CVE-2026-33745

HIGH 7.4

cpp-httplib Client Leaks Authentication Credentials to Untrusted Hosts on Cross-Origin HTTP Redirect

CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
9th

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.39.0, the cpp-httplib HTTP client forwards stored Basic Auth, Bearer Token, and Digest Auth credentials to arbitrary hosts when following cross-origin HTTP redirects (301/302/307/308). A malicious or compromised server can redirect the client to an attacker-controlled host, which then receives the plaintext credentials in the `Authorization` header. Version 0.39.0 fixes the issue.

CWE CWE-200
Vendor yhirose
Product cpp-httplib
Published Mar 27, 2026
Last Updated Apr 1, 2026
Stay Ahead of the Next One

Get instant alerts for yhirose cpp-httplib

Be the first to know when new high vulnerabilities affecting yhirose cpp-httplib are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

yhirose / cpp-httplib
< 0.39.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-6hrp-7fq9-3qv2