Skip to main content
VulnerabilityPublished Updated

CVE-2026-107714: Ruby mechanize · The Mechanize library is used for automating interaction with websites

Affects ruby-mechanizeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-107714· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium · fixed in 2.14.1 : update ruby-mechanize when convenient.

Data as of 18 Nov 2026, 04:06 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.14.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10ruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=stonkingOther threatsAffected
  • =2.10.1-1.1
  • =2.14.0-2
Fixed in–
Ubuntu 26.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=resoluteOther threatsAffected
  • =2.10.1-1.1
Fixed in–
Ubuntu 24.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=nobleOther threatsAffected
  • =2.8.5-1
Fixed in–
Ubuntu 22.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=jammyOther threatsAffected
  • =2.7.7-1
  • =2.7.7-3
Fixed in–
Ubuntu Pro 20.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=esm-apps/focalOther threatsAffected
  • =2.7.6-1
  • =2.7.6-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 18.04 LTSruby-mechanizepkg:deb/ubuntu/ruby-mechanize?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =2.7.5-1
  • =2.7.5-2
  • =2.7.5-2ubuntu0.1~esm1
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 redirect handling issue is fixed. No other mitigation is required as the vendor has provided an official fix.

Description

The Ruby Mechanize library prior to version 2.14.1 has a vulnerability in its HTTP redirect handling. Redirects are treated as same-origin if the host matches, but scheme and port are not consistently compared. This can cause sensitive Authorization and Cookie headers to be sent over unencrypted HTTP or to unintended services on different ports, potentially disclosing credentials. The issue affects caller-supplied headers but does not impact cookie jar integrity or availability. The vulnerability is fixed in version 2.14.1.

References

Community reviews

Loading reviews…