Skip to content

CVE-2026-132038 Rapid7 Metasploit Framework Local Privilege Escalation via Insecure msfdb PostgreSQL Configuration

HighCVSS 7.8 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

Rapid7 Metasploit Framework versions prior to 6.5.10 suffer from an Improper Access Control issue in the msfdb database initialisation component whereby a PostgreSQL cluster initialised via msfdb init is configured with trust authentication and a world-accessible Unix domain socket in /tmp, allowing any local user on the same host to authenticate as the passwordless postgres superuser and execute arbitrary operating system commands as the msfdb owner. 

This issue is fixed in version 6.5.10.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Rapid7 Metasploit Framework < 6.5.10 6.5.10 Fixed

Affected products

ProductAffected versionsFixed in
Rapid7 Metasploit Framework < 6.5.10 6.5.10

References