CVE-2026-132038 Rapid7 Metasploit Framework Local Privilege Escalation via Insecure msfdb PostgreSQL Configuration

High 7.8 Published Updated
Exploited in the wild
Not known
Fix
6.5.10

What is CVE-2026-132038?

CVE-2026-132038 is a high-severity vulnerability in Rapid7 Metasploit Framework, published on 18 Nov 2026.

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

Weakness: CWE-284

Which versions are affected by CVE-2026-132038?

How do I fix CVE-2026-132038?

Upgrade Rapid7 Metasploit Framework to 6.5.10 or later. The advisory says that version fixes it.

Is CVE-2026-132038 being exploited?

There is no known exploitation of CVE-2026-132038 in the wild and no public exploit code.

Sources

Also known as GHSA-xfq9-5cm6-5p27.

Is CVE-2026-132038 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free