Rapid7 Metasploit Framework Local Privilege Escalation via Insecure msfdb PostgreSQL Configuration

State
Published
Severity
7.8 High
Published
Nov 18, 2026
Updated
Nov 19, 2026
Reserved
Nov 18, 2026

Read the record on cve.org

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.

ProductVersions
Metasploit Framework Rapid7before 6.5.10 Affected

Weaknesses

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.