CVE Explorer
CVE-2026-33745
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cpp-httplib","vendor":"yhirose","versions":[{"status":"affected","version":"< 0.39.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:44b362779e9fe21036a6ee0af16fcaf22653bcd3c9917dedf6fd7599706174c8 · sha256:fe212c1984562fc2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:44b362779e9fe21036a6ee0af16fcaf22653bcd3c9917dedf6fd7599706174c8 · sha256:fe212c1984562fc2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-200","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:44b362779e9fe21036a6ee0af16fcaf22653bcd3c9917dedf6fd7599706174c8 · sha256:fe212c1984562fc2… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-6hrp-7fq9-3qv2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-6hrp-7fq9-3qv2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:44b362779e9fe21036a6ee0af16fcaf22653bcd3c9917dedf6fd7599706174c8 · sha256:fe212c1984562fc2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.