Insufficiently protected credentials in Cpp-httplib - CVE-2026-102944

 

Insufficiently protected credentials in Cpp-httplib - CVE-2026-102944

Published: September 30, 2026


Vulnerability identifier: #VU152966
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102944
CWE-ID: CWE-522
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Cpp-httplib

How to mitigate CVE-2026-102944

Install security update from vendor's website.

Cpp-httplib - update to 0.51.0

External References

Related Security Bulletins