{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-107399","published":"2026-10-08T22:17:26.683000Z","last_modified":"2026-10-14T02:16:57.060000Z","status":"Deferred","cvss":{"version":"3.1","score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-200","CWE-522"],"cpes":[],"cpes_truncated":false,"vendors":["sparklemotion"],"products":["sparklemotion/mechanize"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c6rp-p8xm-4q9f","ecosystem":"RubyGems","name":"mechanize","purl":"pkg:gem/mechanize","ranges":[{"introduced":"0","fixed":"2.14.1"}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.0","0.6.1","0.6.10","0.6.11","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.9.0","0.9.1","0.9.2","0.9.3","1.0.0","1.0.1.beta.20110107104205","2.0","2.0.1","2.0.pre.1","2.0.pre.2","2.1","2.1.1","2.1.pre.1","2.10.0","2.10.1","2.11.0","2.12.0","2.12.1","2.12.2","2.13.0","2.14.0","2.2","2.2.1","2.3","2.4","2.5","2.5.1","2.6.0","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.9.0","2.9.1","2.9.2"],"versions_truncated":false}],"severity":"medium","priority_score":56,"links":{"html_es":"/es/cve/CVE-2026-107399/","html_en":"/en/cve/CVE-2026-107399/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107399","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107399"},"untrusted":{"vendor_name":"sparklemotion","product_name":"mechanize","desc_en":"The Mechanize library is used for automating interaction with websites. Prior to 2.14.1, Mechanize applies no origin trust boundary in Mechanize::HTTP::Agent#response_follow_meta_refresh when Mechanize#follow_meta_refresh is enabled. A page containing a meta refresh to another origin causes headers configured through Mechanize#request_headers= to be reapplied to the refresh request, allowing an attacker who controls content in the crawl to capture bearer tokens or session cookies. The default configuration is not affected because follow_meta_refresh is false, and the exposure is limited to caller-supplied default headers. This issue is fixed in version 2.14.1.","affected":[{"untrusted_vendor":"sparklemotion","untrusted_product":"mechanize","versions":[]}],"references":[{"url":"https://github.com/sparklemotion/mechanize/commit/02a1235842d6eda8d4a5a3d8f13aba2cecf52e4f","tags":[]},{"url":"https://github.com/sparklemotion/mechanize/commit/84c74df87d15f5d119df268ba6aa79bc1e16a2c3","tags":[]},{"url":"https://github.com/sparklemotion/mechanize/pull/676","tags":[]},{"url":"https://github.com/sparklemotion/mechanize/releases/tag/v2.14.1","tags":[]},{"url":"https://github.com/sparklemotion/mechanize/security/advisories/GHSA-c6rp-p8xm-4q9f","tags":[]}]}}