{"schema":"threatline.record/2","record":{"id":"CVE-2026-102944","aliases":["GHSA-22mf-w2v3-r2jv"],"summary":"cpp-httplib: Cookie header leaked on cross-origin redirect","details":"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.","categories":["Unclassified"],"product":"cpp-httplib","vendor":"yhirose","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102944","source_modified_at":"2026-10-15T14:48:03.087Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"cpp-httplib","vendor":"yhirose","versions":[{"version":"< 0.51.0","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00357,"percentile":0.28217,"score_date":"2026-10-23"},"published_at":"2026-10-14T18:18:21.598Z","modified_at":"2026-10-15T14:48:03.087Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102944","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T14:48:03.087Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102944","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-22mf-w2v3-r2jv","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/yhirose/cpp-httplib/commit/0c1cc8c9866bb567ff11c1cd0d09779e8c5f8585","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/yhirose/cpp-httplib/releases/tag/v0.51.0","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","assessed_at":"2026-10-15T14:40:31.550021Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T14:48:03.087Z","content_hash":"c2894f0fb89f0ae2b151280f549d043ae36e87bd80fc31bf9847cac479b51676"}}
