{"schema":"threatline.record/2","record":{"id":"CVE-2026-107714","aliases":["GHSA-5jgv-wc2m-xv99"],"summary":"Mechanize sends credential headers to a different scheme or port after a redirect","details":"The Mechanize library is used for automating interaction with websites. Prior to 2.14.1, Mechanize::HTTP::Agent#response_redirect treats redirects as same-origin when the host matches without consistently comparing scheme and port. A same-host HTTPS-to-HTTP redirect can send Authorization and Cookie headers over cleartext, while a same-host redirect to another port can send a caller-supplied Cookie header to a different service. Cookies in Mechanize#cookie_jar remain scoped separately; the issue affects caller-supplied headers and can disclose credentials without affecting integrity or availability. This issue is fixed in version 2.14.1.","categories":["Unclassified"],"product":"mechanize","vendor":"sparklemotion","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-107714","source_modified_at":"2026-10-09T15:06:49.265Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"mechanize","vendor":"sparklemotion","versions":[{"version":"< 2.15.0","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":5.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00228,"percentile":0.12884,"score_date":"2026-10-23"},"published_at":"2026-10-08T21:26:16.092Z","modified_at":"2026-10-09T15:06:49.265Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107714","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-09T15:06:49.265Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107714","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/sparklemotion/mechanize/security/advisories/GHSA-5jgv-wc2m-xv99","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/sparklemotion/mechanize/pull/676","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/sparklemotion/mechanize/commit/02a1235842d6eda8d4a5a3d8f13aba2cecf52e4f","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/sparklemotion/mechanize/commit/2f97fe358a91928e5e48221f2ec5cb50fa1a43ba","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/sparklemotion/mechanize/releases/tag/v2.14.1","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-09T15:06:36.604518Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-09T15:06:49.265Z","content_hash":"c6b11c1adaab8ee0e059978f664e135103d990702b4d732fa8f587470761deb6"}}
