Improper Access Control in Rapid7 Metasploit Framework
CVE-2026-132038
7.8HIGH
What is CVE-2026-132038?
The Metasploit Framework, prior to version 6.5.10, is susceptible to an improper access control vulnerability in its msfdb database initialization component. When a PostgreSQL cluster is initialized using 'msfdb init', it is configured with trust authentication and a Unix domain socket that is world-accessible. This misconfiguration allows any local user on the host system to authenticate as the passwordless postgres superuser. Consequently, these users can execute arbitrary operating system commands with the permissions of the msfdb owner, posing a significant risk to system integrity and security.
Affected Version(s)
Metasploit Framework 0 < 6.5.10
