{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102944 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-102944 is a high-severity vulnerability in yhirose cpp-httplib, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-102944 and fix it if it is affected.\n\nWhat it is: CVE-2026-102944 is a high-severity vulnerability in yhirose cpp-httplib, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102944 exists.\n\nAffected product: yhirose cpp-httplib. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-102944/ (Markdown: https://insights.sbomify.com/CVE-2026-102944/index.md)","id":"CVE-2026-102944","markdown":"https://insights.sbomify.com/CVE-2026-102944/index.md","name":"CVE-2026-102944","record":{"aliases":["DEBIAN-CVE-2026-102944","GHSA-22mf-w2v3-r2jv","OESA-2026-4521","OESA-2026-4522","OESA-2026-4523","OESA-2026-4524","UBUNTU-CVE-2026-102944"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"C++ HTTP library","requires_auth":"none","summary":"Attackers can steal session cookies via cross-origin redirects in cpp-httplib due to missing header sanitization.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"cpp-httplib: Cookie header leaked on cross-origin redirect","id":"CVE-2026-102944","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"joserfc: JWS signature verification bypass via empty signatures array in jws.deserialize_json","id":"CVE-2026-102946"},"packages":[],"prev":{"headline":"gomarkdown/markdown IsSafeURL panics on short URLs","id":"CVE-2026-102941"},"products":["cpp-httplib"],"published":"2026-10-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["yhirose"]},"summary":"Attackers can steal session cookies via cross-origin redirects in cpp-httplib due to missing header sanitization.","url":"https://insights.sbomify.com/CVE-2026-102944/"}