Insufficiently protected credentials in Cpp-httplib - CVE-2026-102944
Published: September 30, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose session cookies.
The vulnerability exists due to improper protection of credentials in the cross-origin redirect handling of cpp-httplib when following cross-origin HTTP redirects. A remote attacker can cause a redirect to an attacker-controlled server to disclose session cookies.
Only HTTP 301, 302, 307, and 308 redirects are affected; HTTP 303 redirects clear all headers.
Affected software
openEuler
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-debugsource
cpp-httplib-devel
How to mitigate CVE-2026-102944
cpp-httplib - addressed in versions 0.27.0-2, 0.46.0-4
cpp-httplib-debuginfo - addressed in versions 0.27.0-2, 0.46.0-4
cpp-httplib-debugsource - addressed in versions 0.27.0-2, 0.46.0-4
cpp-httplib-devel - addressed in versions 0.27.0-2, 0.46.0-4