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

- Severity: High 7.8 (CVSS:3.1, scored by rapid7) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T15:08:43.883Z
- Modified: 2026-11-24T18:56:39.360Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: rapid7

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

(As written by CVE List.)

## Affected

- Rapid7 Metasploit Framework: before 6.5.10

## References

- <https://github.com/rapid7/metasploit-framework/pull/22105> (exploit)

## Sources

- CVE List: [CVE-2026-132038](https://www.cve.org/CVERecord?id=CVE-2026-132038), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-132038](https://nvd.nist.gov/vuln/detail/CVE-2026-132038), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-132038 · Whole record: https://cve.day/CVE-2026-132038.json · Rebuilt by cve.day 2026-11-25T22:59:51.840Z
