cpp-httplib: Cookie header leaked on cross-origin redirect
CVSS score
7.5
EPSS probability
—
Risk score
0.8
Published
7 h ago
Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
CVE AI research
DayBreach AI Explanation
Verified against sourcesSources read
1
Source agreement
Tam uyum
Evidence confidence
%55
Short explanation
Prior to version 0.51.0, cpp-httplib fails to strip Cookie headers during cross-origin redirects, allowing sensitive cookies to leak to unintended parties [S0].
Attackers can control redirect responses or leverage a network position to capture session cookies intended for the original origin [S0].
What should be done?
- Update cpp-httplib to version 0.51.0 or later [S0]
- Review redirect handling and header stripping mechanisms [S0]
Chain of evidence and sources
cpp-httplib kütüphanesinin 0.51.0 öncesi sürümlerinde, çapraz yönlendirme sırasında Cookie başlıkları sızmaktadır [S0].
Saldırganlar yönlendirme yanıtını kontrol ederek veya şifrelenmemiş ağ konumlarından oturum çerezlerini alabilir [S0].
Show the technical text from the sources
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.
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE: CWE-522
Explanation produced with the local gemini-flash-lite-latest model. Numerical metrics and the KEV, patch and exploit statuses are not determined by AI.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2026-102944 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | yhirose | cpp-httplib | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 7.5 | CVSS V31 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| 7.5 | CVSS V3_1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CVE CNA |
Patch and Remediation Guide
Solution & Remediation Advisory
İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-102944 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-102944 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
cpp-httplib open_stream serializes CRLF in request target into HTTP request line
Vulnerability in Yhirose Cpp Httplib
cpp-httplib: Use-after-free of TLS session in WebSocketClient::shutdown_and_close()
NULL pointer dereference in Yhirose Cpp Httplib
Improper input validation in Yhirose Cpp Httplib
cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-102944"