CVE-2026-132038

Rapid7 Metasploit Framework Local Privilege Escalation via Insecure msfdb PostgreSQL Configuration

Published Nov 18, 2026 CVSS 3.1 · 7.8 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rapid7
Rapid7 metasploit Framework
Vendors & Products Rapid7
Rapid7 metasploit Framework
Type Values Removed Values Added
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.
Title Rapid7 Metasploit Framework Local Privilege Escalation via Insecure msfdb PostgreSQL Configuration
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
rapid7
Published
Updated
Nov 18, 2026, 7:32 PM
Reserved
Nov 18, 2026, 9:47 AM
Status
Received
Published
Nov 18, 2026, 3:17 PM
Modified
Nov 18, 2026, 8:19 PM