CVE-2026-107715 — Vulnerability in mechanize — CVE Details
Mechanize sends credential headers to another host after an HTTP redirect
Summary
Advisory Timeline
- First published October 8, 2026 (3 days ago).
- Last revised October 8, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install mechanize -v 2.14.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| mechanize | rubygems | 0.1.0, 0.1.1, 0.1.2, 0.1.3 (+91 more) | 2.14.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-200Information ExposureMITRE
- CWE-522
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/sparklemotion/mechanize/security/advisories/GHSA-2mwr-xjcg-37j7WEB
- https://github.com/sparklemotion/mechanize/pull/676WEB
- https://github.com/sparklemotion/mechanize/commit/02a1235842d6eda8d4a5a3d8f13aba2cecf52e4fWEB
- https://github.com/sparklemotion/mechanize/commit/94e0902867296be804f36eccbb47acf7d5018745WEB
- https://github.com/sparklemotion/mechanize/commit/ac49abf2869297d83c3b11bbfb8b18e63b588c95WEB
- https://github.com/sparklemotion/mechanizePACKAGE
- https://github.com/sparklemotion/mechanize/releases/tag/v2.14.1WEB
Frequently Asked Questions
- What is CVE-2026-107715?
- Mechanize sends credential headers to another host after an HTTP redirect This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.8/10).
- How do I check if my project is affected by CVE-2026-107715?
- CVE-2026-107715 affects mechanize. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-107715 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2021-21289HIGH
Command Injection Vulnerability in Mechanize
- CVE-2022-31033MEDIUM
Mechanize before v2.8.5 vulnerable to authorization header leak on port redirect
- CVE-2026-65829MEDIUM
MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
- GHSA-mwm8-39rw-8826MEDIUM
sqlite3-ruby: Use-After-Free in SQLite Aggregate Arguments in Heap-Allocated Argument Array
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies