CVE-2026-33745
March 27, 2026
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.
Affected Packages
cpp-httplib (CONAN):
Affected version(s) >=0.30.0 <0.39.0Fix Suggestion:
Update to version 0.39.0cpp-httplib (CONAN):
Affected version(s) >=0.30.0 <0.39.0Fix Suggestion:
Update to version 0.39.0cpp-httplib (CONAN):
Affected version(s) >=0.30.0 <0.39.0Fix Suggestion:
Update to version 0.39.0Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor
EPSS
Base Score:
0.03