Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account on host
-
ExploitConnect to world-accessible /tmp PostgreSQL socket
-
ExecutionAuthenticate as passwordless postgres superuser via trust auth
-
ImpactExecute OS commands as msfdb owner
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the PostgreSQL cluster was initialised via |
| Impact | This is a genuine local privilege-escalation issue rather than an internet-facing emergency. The supplied CVSS vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) is internally consistent with the description: AV:L confirms the attacker must already have local access to the host, AC:L reflects that no special timing or grooming is required (trust authentication is deterministic), and PR:L matches the stated requirement of 'any local user on the same host' - i.e. an unprivileged but authenticated account. The high C/I/A impacts follow from gaining the passwordless postgres superuser and executing OS commands as the msfdb owner. No EPSS score, no CISA KEV entry, and no proof-of-concept were provided in the input; the only reference is the vendor fix PR (#22105), not exploit code. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-local issue: there is no remote or unauthenticated path, so this is not mass-exploitable and not wormable. The practical risk concentrates on multi-user or shared hosts where msfdb init has been run - there it is a reliable root-adjacent escalation; on single-user pentester laptops the exposure is minimal. Net: a real priority to patch on shared Metasploit hosts, but the local-only attack vector materially caps real-world blast radius compared with the 7.8 headline. |
| Exploit ScenarioDerived | On a shared host where an operator has run |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Local privilege escalation in Rapid7 Metasploit Framework versions prior to 6.5.10 lets any local user on the same host take over the PostgreSQL cluster created by msfdb init and run operating system commands as the msfdb owner. The flaw is in the database initialisation component, which sets up trust authentication together with a world-accessible Unix domain socket in /tmp, so a passwordless postgres superuser is reachable by anyone with a local account (CVSS 3.1: 7.8, AV:L/PR:L). Exposure is bounded to shared or multi-user hosts where an operator provisioned the database with msfdb; single-operator machines have effectively no exposure, and no public exploit has been identified at time of analysis. Rapid7 fixed the issue in version 6.5.10.
RemediationAI
Vendor-released patch: upgrade Metasploit Framework to 6.5.10 or later; the change is tracked in upstream pull request https://github.com/rapid7/metasploit-framework/pull/22105. Because the exposure comes from the configuration of a cluster created by msfdb init, the upgrade addresses affected installations and any cluster provisioned by a pre-6.5.10 msfdb. No vendor-documented workaround is stated in the available sources, and the practical exposure is limited to shared or multi-user hosts on which someone has already obtained a local account, so prioritisation can reasonably follow that scope.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The weakness is classified as CWE-284 (Improper Access Control) and lives in the msfdb management script that provisions the Metasploit Framework backend database. When an operator runs msfdb init on an affected release, the resulting PostgreSQL cluster is created with trust authentication and its Unix domain socket is placed in /tmp with world-accessible permissions. Trust authentication means PostgreSQL accepts any connection claiming to be the postgres superuser without a password; combined with a socket any local account can reach, this collapses the authentication boundary between ordinary local users and the database superuser. Because the postgres superuser can invoke server-side facilities that execute as the owning OS account, the practical outcome is arbitrary command execution as the msfdb owner. The vulnerable condition exists only for clusters actually initialised through msfdb on versions before 6.5.10; a database set up by other means does not carry this configuration. The trigger path is otherwise as described in the available sources, and the fix was merged as pull request 22105, which adds startup coverage across pg_ctl, pg_ctlcluster, macOS and Windows environments.
Know when Metasploit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attacker needs a local unprivileged account (AV:L, PR:L) and trust auth makes the path deterministic (AC:L); superuser/OS command execution as msfdb owner yields full C/I/A.
Primary rating from Vendor (rapid7).
CVSS VectorVendor: rapid7
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
A high-severity local privilege escalation flaw in the Rapid7 Metasploit Framework (versions prior to 6.5.10) allows any local user on a shared host to take over the PostgreSQL cluster and execute commands as the msfdb owner. This puts multi-user workstations and servers at risk of unauthorized access and potential lateral movement, while single-operator machines remain largely unaffected. Security leadership should prioritize patching shared instances to prevent insider or compromised-account abuse.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Metasploit
View allRapid7's Metasploit msfvenom framework handles APK files in a way that allows for a malicious user to craft and publish
Rapid7 Metasploit Framework versions before 5.0.85 suffers from an instance of CWE-78: OS Command Injection, wherein the
The Metasploit Framework module "post/osx/gather/enum_osx module" is affected by a relative path traversal vulnerability
The Metasploit Framework module "auxiliary/admin/http/telpho10_credential_dump" module is affected by a relative path tr
Rapid7 Metasploit Framework suffers from an instance of CWE-22, Improper Limitation of a Pathname to a Restricted Direct
The web UI in Rapid7 Metasploit before 4.14.1-20170828 allows logout CSRF, aka R7-2017-22. Rated medium severity (CVSS 6
Cross-site Scripting (XSS) vulnerability in the 'notes' field of a discovered scan asset in Rapid7 Metasploit Pro allows
Cross-site Scripting (XSS) vulnerability in the 'host' field of a discovered scan asset in Rapid7 Metasploit Pro allows
Persistent code execution on a penetration tester's workstation is achievable through a relative path traversal (CWE-22)
Rapid7 Metasploit Pro installers prior to version 4.13.0-2017022101 contain a DLL preloading vulnerability, wherein it i
Routes used to stop running Metasploit tasks (either particular ones or all tasks) allowed GET requests. Rated low sever
All editions of Rapid7 Metasploit prior to version 4.13.0-2017020701 contain a directory traversal vulnerability in the
EUVD-2026-128938
GHSA-xfq9-5cm6-5p27
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB