CVE-2026-87690
Last modified
CVE-2026-87690 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The Metasploit Framework post module post/apple_ios/gather/ios_image_gather is affected by a relative path traversal vulnerability (CWE-22). The module interpolates file names taken from a Meterpreter directory listing — data fully controlled by a hostile or tampered iOS device — directly into the local destination path passed to client.fs.file.download_file(), with no sanitization. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
The Metasploit Framework post module post/apple_ios/gather/ios_image_gather is affected by a relative path traversal vulnerability (CWE-22). The module interpolates file names taken from a Meterpreter directory listing — data fully controlled by a hostile or tampered iOS device — directly into the local destination path passed to client.fs.file.download_file(), with no sanitization. The underlying stdapi sink (lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb) writes to whatever path is supplied, so a listing entry such as ../../msfconsole.rc escapes the intended ~/.msf4/loot/<random> directory and overwrites ~/.msf4/msfconsole.rc, a resource file that every msfconsole invocation automatically executes at startup (lib/msf/ui/console/driver.rb:196). An attacker-controlled device that lures an operator into running this gather module achieves an arbitrary file write as the operator; because the written msfconsole.rc can load a second written file (a Ruby plugin whose top-level code runs on require), this converts into persistent code execution and an interactive shell as the operator (frequently root) on the pentester's workstation at the next console launch. The same traversal was previously fixed upstream in the recursive downloader (stdapi/fs/dir.rb scrubs separators); this module omitted the equivalent scrub. The fix applies the same separator scrub (or File.basename) to listing entries before building the local path.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Rapid7 | Metasploit Framework | < 6.5.5 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-87690?
How severe is CVE-2026-87690?
How do I fix CVE-2026-87690?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-87685An arbitrary file manipulation vulnerability exists in the W…6.8
- CVE-2026-87686An authentication and access control bypass vulnerability ex…4.3
- CVE-2026-87687An authorization and input validation vulnerability exists i…7.3
- CVE-2026-87688An input validation vulnerability exists in the security cer…6.8
- CVE-2026-87689The Metasploit Framework Web Service REST API (msf-ws) expos…9.8
- CVE-2026-8769A vulnerability was determined in vercel ai up to 3.0.97. Th…6.5
- CVE-2026-87691Use after free in Windows Management Services allows an auth…7.8
- CVE-2026-87692Deserialization of untrusted data in Microsoft Exchange Serv…7.8
- CVE-2026-87693Use after free in Windows Installer allows an authorized att…7
- CVE-2026-87694Use after free in Windows Installer allows an authorized att…7.8
- CVE-2026-87695Inclusion of functionality from untrusted control sphere in …7.8
- CVE-2026-87696Improper verification of cryptographic signature in Microsof…7.5
Are you affected by CVE-2026-87690?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
