PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-102944 yhirose CVE debrief

cpp-httplib is a C++ header-only HTTP/HTTPS library. Prior to version 0.51.0, the create_redirect_client() function removes certain headers when following cross-origin redirects but fails to remove the Cookie header. This oversight allows an attacker controlling a redirect response or in a network position for a non-HTTPS origin to receive session cookies intended for the original origin. The issue is fixed in version 0.51.0.

Vendor
yhirose
Product
cpp-httplib
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-14
Original CVE updated
2026-10-15
Advisory published
2026-10-14
Advisory updated
2026-10-15

Who should care

Defenders responsible for systems using cpp-httplib, especially those with cross-origin redirects, should assess exposure and prioritize upgrading to version 0.51.0 or later. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify exposure, implement compensating controls, and monitor for suspicious activity.

Why it matters

Defenders should prioritize verifying exposure in systems using cpp-httplib for cross-origin redirects and upgrading to version 0.51.0 or later. Monitoring for suspicious redirect responses and implementing compensating controls may be necessary. The impact of this vulnerability is limited to potential session cookie interception, but the exact scope of affected systems and potential exploitation remains unknown based on the provided information.

  • Session cookies could be intercepted by an attacker controlling a redirect response or in a network position for a non-HTTPS origin.
  • Defenders must verify exposure in systems using cpp-httplib for cross-origin redirects.
  • Upgrading to version 0.51.0 or later is necessary to fix the issue.

Technical summary

The create_redirect_client() function in cpp-httplib fails to remove the Cookie header when following cross-origin redirects. This allows an attacker to potentially receive session cookies intended for the original origin. The issue is fixed in version 0.51.0. Affected product deployments should be verified, and defenders should prioritize upgrading to version 0.51.0 or later. Monitoring for suspicious redirect responses and implementing compensating controls may be necessary to mitigate potential exploitation. The impact of this vulnerability is limited to potential session cookie interception.

Defensive priority

Defenders should prioritize verifying exposure in systems using cpp-httplib for cross-origin redirects and upgrading to version 0.51.0 or later. Monitoring for suspicious redirect responses and implementing compensating controls, such as additional header validation, may be necessary.

Recommended defensive actions

  • Verify if systems using cpp-httplib are exposed to cross-origin redirects and upgrade to version 0.51.0 or later.
  • Monitor for suspicious redirect responses that could be used to exploit this vulnerability.
  • Implement additional header validation as a compensating control.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and fixed version. However, there is limited information on potential exploitation or victim impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-102944 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-102944

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-102944 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-102944

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • cpp-httplib: Cookie header leaked on cross-origin redirect

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/102xxx/CVE-2026-102944.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-22mf-w2v3-r2jv

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/yhirose/cpp-httplib/commit/0c1cc8c9866bb567ff11c1cd0d09779e8c5f8585

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/yhirose/cpp-httplib/releases/tag/v0.51.0

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.