CVE-2026-7373

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

State
Published
Severity
8.5 High
Published
May 15, 2026
Updated
May 19, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.5 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:H/E:Prapid7

Weaknesses

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere
  • CWE-427 Uncontrolled Search Path Element
  • CWE-284 Improper Access Control

Affected Products

ProductVersions
Metasploit ProRapid7
  • 5.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.