CVE-2026-102944: yhirose cpp-httplib · Insufficiently Protected Credentials
Affects yhirose cpp-httplibSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 0.51.0 soon.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.51.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
Upgrade yhirose cpp-httplib to 0.51.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| yhirosecpp-httplib | Affected
| Fixed in
|
AI-suggested
Upgrade cpp-httplib to version 0.51.0 or later, where this issue is fixed by properly removing Cookie headers on cross-origin redirects. No other mitigation is indicated by the vendor advisory.
Description
A C++11 single-file header-only cross platform HTTP/HTTPS library. It's extremely easy to setup. Just include httplib.h file in your code! Security Fix(es): cpp-httplib is a C++ header-only HTTP/HTTPS library. Prior to 0.51.0, create_redirect_client() removes Host, Proxy-Authorization, and Authorization headers when following a cross-origin 301, 302, 307, or 308 redirect but leaves Cookie headers attached. detail::redirect() copies the request for those redirect codes, so cookies supplied directly or through default_headers_ are sent to the redirect target. An attacker who controls a redirect response, or a network position for a non-HTTPS origin, can receive session cookies intended for the original origin. A 303 redirect is not affected because that path clears all request headers. This issue is fixed in version 0.51.0.(CVE-2026-102944)