5.9

CVE-2026-107714: Mechanize sends credential headers to a different scheme or port after a redirect

Awaiting analysis
AliasesDEBIAN-CVE-2026-107714UBUNTU-CVE-2026-107714
Published 08-10-2026Last modified 09-10-2026

Vulnerability summary

CVE-2026-107714 is a medium (CVSS 5.9) vulnerability in sparklemotion mechanize. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.8% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 08-10-2026
    PublishedVulnerability first disclosed.
  2. 09-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

09-10-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • ruby-mechanizeAll versions (No fix recorded) | < 2.14.1-1
Sparklemotion1 product
Ubuntu1 product
  • ruby-mechanizeAll versions (No fix recorded)

3 vendors · 3 products

References

8 links