Known vulnerabilities and malicious package reports for mechanize on RubyGems, live from OSV, with CISA KEV exploitation status and EPSS scores.
Known package reports
0 malicious package reports and 4 vulnerabilities returned by OSV. Check a specific version to see which reports apply.
Command Injection Vulnerability in Mechanize
Published .
Updated .
Reported affected releases: 2.0, 2.0.1, 2.1, 2.1.1, 2.1.pre.1, 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.
Affected ranges: introduced 2.0.0, fixed 2.7.7.
Fix versions reported by the advisory: 2.7.7.
Severity: HIGH.
CVE-2021-21289
Mechanize before v2.8.5 vulnerable to authorization header leak on port redirect
Published .
Updated .
Affected ranges: introduced 0, fixed 2.8.5.
Fix versions reported by the advisory: 2.8.5.
Severity: HIGH.
CVE-2022-31033
Mechanize sends credential headers to another host after an HTTP redirect
Published .
Updated .
Affected ranges: introduced 0, fixed 2.14.1.
Fix versions reported by the advisory: 2.14.1.
Severity: MEDIUM.
CVE-2026-107715
Mechanize sends credential headers to another origin after a meta refresh
Published .
Updated .
Affected ranges: introduced 0, fixed 2.14.1.
Fix versions reported by the advisory: 2.14.1.
Severity: MEDIUM.
CVE-2026-107399
Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.