CVE-2026-132038 PUBLISHED

Rapid7 Metasploit Framework Local Privilege Escalation via Insecure msfdb PostgreSQL Configuration

Assigner: rapid7
Reserved: 18.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.8

Product Status

Vendor Rapid7
Product Metasploit Framework
Versions Default: unaffected
  • affected from 0 to 6.5.10 (excl.)

Credits

  • Ali Ganiyev finder

References

Problem Types

  • CWE-284: Improper Access Control CWE