Information disclosure in Cpp-httplib - CVE-2026-33745
Published: April 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive credentials to an unauthorized host.
The vulnerability exists due to exposure of sensitive information to an unauthorized actor in ClientImpl::redirect() and redirect credential handling when following cross-origin HTTP redirects. A remote attacker can trigger a redirect to an attacker-controlled host to disclose sensitive credentials to an unauthorized host.
Requests are affected when redirect following is enabled and stored Basic Auth, Bearer Token, or Digest Auth credentials are configured. Cross-origin redirects may also cause credentials to be sent after an HTTPS-to-HTTP downgrade.
Affected software
Fedora
openEuler
cpp-httplib-debuginfo
cpp-httplib-devel
cpp-httplib-debugsource
cpp-httplib
How to mitigate CVE-2026-33745
cpp-httplib-debuginfo - update to 0.40.0-1
cpp-httplib-devel - update to 0.40.0-1
cpp-httplib-debugsource - update to 0.40.0-1
cpp-httplib - update to 0.40.0-1
cpp-httplib - addressed in versions 0.48.0-1.el9, 0.48.0-1.el10_3, 0.48.0-1.fc43, 0.48.0-1.fc44
External References
Related Security Bulletins
- Information disclosure in Cpp-httplib
- openEuler 24.03 LTS SP3 update for cpp-httplib
- openEuler 24.03 LTS SP2 update for cpp-httplib
- openEuler 24.03 LTS SP1 update for cpp-httplib
- openEuler 24.03 LTS update for cpp-httplib
- Fedora 43 update for cpp-httplib
- Fedora 44 update for cpp-httplib
- Fedora EPEL 10.3 update for cpp-httplib
- Fedora EPEL 9 update for cpp-httplib