CVE-2026-87690 Metasploit Framework - Path Traversal & Remote Code Execution

Metasploit Framework post/apple_ios/gather/ios_image_gather contains a relative path traversal caused by unsanitized file names from a hostile iOS device in file download path, letting attacker-controlled devices achieve arbitrary file write and persistent code execution on the operator's workstation, exploit requires operator to run the gather module.

CVSS base score 8.8 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.41% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Path Traversal
Impact
Remote Code Execution, File System Write
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
12 October 2026
Updated
15 October 2026
Weakness
CWE-22

Vendor fix

Apply the patch that sanitizes file names with separator scrub or File.basename before building local paths.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs