Skip to content
OpenAdvisories
High · 8.5 CVE-2026-7373 EUVD-2026-30498GHSA-q6qj-wmmg-cc85

Metasploit Pro on Windows: Local Privilege Escalation via OpenSSL Configuration File Loading

Published May 15, 2026 · Updated May 19, 2026 · Assigned by rapid7

Description

Rapid7 Metasploit Pro is vulnerable to a local privilege escalation attack that allows a user to gain SYSTEM level control of a Windows host. When started the metasploitPostgreSQL service would start the postgres.exe child process which would in turn load an OpenSSL configuration file from a static location. This static location would be writable by a pre-existing "vagrant" user, if they already existed on the system. Metasploit does not create local accounts, an Administrator would need to create it. By planting a crafted openssl.cnf file an attacker can trick the high-privilege service into executing arbitrary commands. This effectively permits the unprivileged vagrant user to bypass security controls and achieve a full host compromise under the agent's SYSTEM level access.

Affected products

VendorProductAffectedFixed
Rapid7 Metasploit Pro 5.0.0 —

References