CVE-2026-107715: Ruby mechanize · The Mechanize library is used for automating interaction with websites
Affects ruby-mechanizeSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium · fixed in 2.14.1 : update ruby-mechanize when convenient.
Data as of 18 Nov 2026, 04:06 UTC
- Patch
- Available – fixed in 2.14.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Mechanize version 2.14.1 or later, where this issue is fixed. No other mitigation is indicated or required.
Description
The Ruby Mechanize library prior to version 2.14.1 improperly sends caller-supplied credential headers to a different host following an HTTP redirect. This allows an attacker controlling the redirect target to capture sensitive bearer tokens or session cookies provided through certain headers. The issue does not affect Mechanize's cookie_jar or HTTP authentication store. The vulnerability is fixed in version 2.14.1.
References
- ubuntu.com/security/CVE-2026-107715 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-107715 (opens in a new tab)
- github.com/sparklemotion/mechanize/commit/02a1235842d6eda8d4a5a3d8f13aba2cecf52e4f (opens in a new tab)
- github.com/sparklemotion/mechanize/commit/94e0902867296be804f36eccbb47acf7d5018745 (opens in a new tab)
- github.com/sparklemotion/mechanize/commit/ac49abf2869297d83c3b11bbfb8b18e63b588c95 (opens in a new tab)
- github.com/sparklemotion/mechanize/pull/676 (opens in a new tab)
- github.com/sparklemotion/mechanize/releases/tag/v2.14.1 (opens in a new tab)
- github.com/sparklemotion/mechanize/security/advisories/GHSA-2mwr-xjcg-37j7 (opens in a new tab)