CVE-2026-132038

7.8High

Published 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-284

What an attacker gets

Local users can gain full control over the Metasploit database and execute arbitrary OS commands as the msfdb owner. An attacker needs local access to the host to exploit the insecure PostgreSQL socket permissions.

Root cause

The msfdb initialization script configures the PostgreSQL cluster with trust authentication and world-readable Unix domain sockets in /tmp.

Affected versions

Rapid7 Metasploit Framework versions prior to 6.5.10

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Metasploit Framework 6.5.10 or later. If you cannot upgrade immediately, restrict permissions on the /tmp/.s.PGSQL.5432 socket file and reconfigure the PostgreSQL pg_hba.conf to require password authentication.

remediation — bash
$ msfconsole -v

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-132038