CVE-2026-33745
published high CVSS 3.1 · 7.4cpp-httplib Client Leaks Authentication Credentials to Untrusted Hosts on Cross-Origin HTTP Redirect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yhirose | — | cpp-httplib< 0.39.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develaarch64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develppc64le | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-devels390x | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpp-httplib-develx86_64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_42aarch64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_42ppc64le | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_42s390x | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libcpp-httplib0_42x86_64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:10573-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.39.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
1Provider assertions
2GitHub_M · cna
cpp-httplib Client Leaks Authentication Credentials to Untrusted Hosts on Cross-Origin HTTP Redirect
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0adbb8d47c5acba5ba82b4f29564db455427775e15e23b1bbaecf1b23f6e7261
- Ingested
- 23 Sep 2026, 09:10:36 UTC
- Source record
- Official CVE record