Home / Rapid7 / Metasploit Framework / CVE-2026-87690
CVE-2026-87690: is it exploited, and which versions of Rapid7 Metasploit Framework are affected and fixed?
CVE-2026-87690 is a path traversal (reading or writing files outside the intended folder) vulnerability in Rapid7 Metasploit Framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: Metasploit Framework before 6.5.5 (CVE record by rapid7). Fixed in 6.5.5 (CVE record by rapid7). Severity: High (8.8, CVSS 3.1, from rapid7).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-87690?
Metasploit Framework ios_image_gather Path Traversal Leading to Arbitrary File Write and Code Execution
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.
From the CVE record by rapid7, last updated October 14, 2026, 10:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Rapid7 | Metasploit Framework Linux, Windows, macOS | before 6.5.5 | 6.5.5 |
As the CVE record by rapid7 states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-87690?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | rapid7 |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-87690 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 14, 2026)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
How do I fix it? (from the CVE record)
https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5
Where are the vendor advisories and references?
- Metasploit Framework 6.5.5 Release Notes release-notes, patch
- Metasploit Framework PR #21880 (fix for ios_image_gather path traversal) patch, issue-tracking
- Metasploit Wrap-Up: Belgian Waffles, Chocolates, and Modules Frites vendor-advisory, technical-description
- Metasploit Framework source repository product
Who found and reported it?
- h00die (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 8, 2026
- Published
- October 12, 2026, 04:50 UTC
- CVE record updated
- October 14, 2026, 10:51 UTC by rapid7
- NVD
- Awaiting Analysis, last modified October 16, 2026, 17:25 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Metasploit Framework?
- Nov 25, 2026CVE-2026-130336 Rapid7 Metasploit Framework: code injection through eval
- Nov 24, 2026CVE-2026-135908 Rapid7 Metasploit Framework: denial of service through slow algorithm
- Nov 18, 2026CVE-2026-132038 Rapid7 Metasploit Framework: improper access control
- Nov 5, 2026CVE-2026-121139 Rapid7 Metasploit Framework: missing authentication for a critical function
- Oct 20, 2026CVE-2026-109682 Rapid7 Metasploit Framework: server-side request forgery (SSRF)
- Oct 20, 2026CVE-2026-109681 Rapid7 Metasploit Framework: server-side request forgery (SSRF)
- Oct 13, 2026CVE-2026-87689 Rapid7 Metasploit Framework: missing authentication for a critical function
- Aug 27, 2026CVE-2026-16895 Rapid7 Metasploit-framework: authentication Bypass by Primary Weakness
Every CVE in Metasploit Framework
Questions about CVE-2026-87690
Is CVE-2026-87690 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rapid7 Metasploit Framework are affected by CVE-2026-87690?
Metasploit Framework before 6.5.5, per the CVE record by rapid7. The tables above give every range the sources list.
Which version fixes CVE-2026-87690?
6.5.5, per the CVE record by rapid7. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-87690?
High (8.8, CVSS 3.1, from rapid7). The severity table above shows each score with its source.
Where is the official record of CVE-2026-87690?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.