Skip to main content

Metasploit Framework CVE-2026-132038

| EUVDEUVD-2026-128938 HIGH
Improper Access Control (CWE-284)
2026-11-18 cve@rapid7.com GHSA-xfq9-5cm6-5p27
7.8
CVSS 3.1 · Vendor: rapid7
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local account on host
  2. Exploit
    Connect to world-accessible /tmp PostgreSQL socket
  3. Execution
    Authenticate as passwordless postgres superuser via trust auth
  4. Impact
    Execute 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 msfdb init on a version prior to 6.5.10, which configures the cluster with trust authentication and a world-accessible Unix domain socket in /tmp; without that specific msfdb-initialised database the condition does not exist. The attacker must also already possess a local shell/account on the same host (PR:L, AV:L). Limiting factors: there is no remote or network path and no path for a user without any local account, so impact is bounded to multi-user or shared hosts where an operator has set up the msfdb database; single-operator machines with no other local users have effectively no exposure.

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 msfdb init, a low-privileged local user connects to the world-accessible PostgreSQL Unix domain socket in /tmp and authenticates as the passwordless postgres superuser via trust authentication. From that superuser session they leverage PostgreSQL's command execution (e.g. COPY ... PROGRAM) to run arbitrary operating-system commands as the msfdb owner. No public exploit was identified in the provided data; only the vendor fix PR is referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Metasploit Framework 0 <6.5.10

Affected Packages

euvd metasploit_framework fix: 6.5.10

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

Vendor (rapid7) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (rapid7).

CVSS VectorVendor: rapid7

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 16:18 EUVD
CVE Published
Nov 18, 2026 - 15:17 cve.org
HIGH 7.8

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
widely used pentest framework, but confined to security-practitioner hosts, not production
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub Metasploit

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2020-7384 HIGH POC
7.8 Oct 29

Rapid7's Metasploit msfvenom framework handles APK files in a way that allows for a malicious user to craft and publish

CVE-2020-7350 HIGH POC
7.8 Apr 22

Rapid7 Metasploit Framework versions before 5.0.85 suffers from an instance of CWE-78: OS Command Injection, wherein the

CVE-2020-7376 CRITICAL POC
9.8 Aug 24

The Metasploit Framework module "post/osx/gather/enum_osx module" is affected by a relative path traversal vulnerability

CVE-2020-7377 HIGH POC
7.5 Aug 24

The Metasploit Framework module "auxiliary/admin/http/telpho10_credential_dump" module is affected by a relative path tr

CVE-2019-5624 HIGH POC
7.3 Apr 30

Rapid7 Metasploit Framework suffers from an instance of CWE-22, Improper Limitation of a Pathname to a Restricted Direct

CVE-2017-15084 MEDIUM POC
6.5 Oct 06

The web UI in Rapid7 Metasploit before 4.14.1-20170828 allows logout CSRF, aka R7-2017-22. Rated medium severity (CVSS 6

CVE-2020-7355 MEDIUM POC
6.1 Jun 25

Cross-site Scripting (XSS) vulnerability in the 'notes' field of a discovered scan asset in Rapid7 Metasploit Pro allows

CVE-2020-7354 MEDIUM POC
5.4 Jun 25

Cross-site Scripting (XSS) vulnerability in the 'host' field of a discovered scan asset in Rapid7 Metasploit Pro allows

CVE-2026-87690 HIGH
8.8 Oct 12

Persistent code execution on a penetration tester's workstation is achievable through a relative path traversal (CWE-22)

CVE-2017-5235 HIGH
7.8 Mar 02

Rapid7 Metasploit Pro installers prior to version 4.13.0-2017022101 contain a DLL preloading vulnerability, wherein it i

CVE-2017-5244 LOW POC
3.5 Jun 15

Routes used to stop running Metasploit tasks (either particular ones or all tasks) allowed GET requests. Rated low sever

CVE-2017-5231 HIGH
7.1 Mar 02

All editions of Rapid7 Metasploit prior to version 4.13.0-2017020701 contain a directory traversal vulnerability in the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy