# mechanize (RubyGems) vulnerabilities

4 known vulnerabilities (1 high, 3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://rubygems.org/gems/mechanize

## Advisories (4)

### [CVE-2026-107715](https://cve.now/CVE-2026-107715): Mechanize sends credential headers to another host after an HTTP redirect

- Severity: Medium 6.8
- Published: Oct 8, 2026
- Affected: fixed in 2.14.1.

### [CVE-2026-107399](https://cve.now/CVE-2026-107399): Mechanize sends credential headers to another origin after a meta refresh

- Severity: Medium 6.8
- Published: Oct 8, 2026
- Affected: fixed in 2.14.1.

### [CVE-2022-31033](https://cve.now/CVE-2022-31033): Authorization header leak in rubygem Mechanize

- Severity: Medium 5.9
- Published: Jun 9, 2022
- Affected: fixed in 2.8.5.

### [CVE-2021-21289](https://cve.now/CVE-2021-21289): Command Injection Vulnerability in Mechanize

- Severity: High 7.4
- Published: Feb 2, 2021
- Affected: from 2.0.0, fixed in 2.7.7.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/mechanize
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
