Bookmarks

    Nothing saved yet. Use the bookmark on any article. Bookmarks are kept on this device only: they stay private and work without an account.

    Settings

    Appearance

    Reading mode

    Font size

    Content width

    Line spacing

    Keyboard shortcuts

    /
    Search
    j k
    Next / previous story
    ← →
    Previous / next section (columns)
    b
    Bookmarks
    s
    Settings
    r
    Columns / scroll
    t
    Light / dark

    Saved in this browser only.

    Ping2Prompt
    Subscribe to the Weekly Brief Sign in
    Ping2Prompt story card: Metasploit 6.5.10 fixes local takeover of the msfdb PostgreSQL database. High, Metasploit.

    Metasploit 6.5.10 fixes local takeover of the msfdb PostgreSQL database

    Metasploit

    Metasploit before 6.5.10 lets local users run commands via msfdb

    CVE-2026-132038 is an improper access control flaw in the database setup that Rapid7 Metasploit Framework uses, the msfdb component. A local user can run arbitrary operating system commands as the account that owns the msfdb database. The CVE record scores it 7.8 (high) under CVSS v3.1.

    In plain terms, the score reflects an attacker who is already on the machine with a low-privilege account, needs no special conditions and no user interaction, and gets high impact on confidentiality, integrity and availability.

    Trust authentication and a world-open socket in /tmp

    A PostgreSQL cluster created through msfdb init is set up with trust authentication, which means no password is checked. Its Unix domain socket in /tmp is accessible to everyone on the host. Any local user can therefore connect through that socket as the passwordless postgres superuser. From there the attacker can run OS commands as the msfdb owner.

    Metasploit installs older than 6.5.10 that use msfdb

    Rapid7 Metasploit Framework versions prior to 6.5.10 are affected. The exposed setup comes from a database cluster initialised with msfdb init, so check whether your install uses that database. The attack needs local access to the host, not network access. The exploitation status is unknown: the sources do not say whether the flaw is being exploited.

    Update to Metasploit 6.5.10

    The vendor states the issue is fixed in version 6.5.10, so upgrade to that release or later. The CVE record lists GitHub pull request 22105 in the rapid7/metasploit-framework repository as a reference, and the record says its status is "Received". Commands and paths here come from the CVE record listed under Sources, so check them against your own install before running them.

    What the CVE record leaves open

    The record does not say whether databases already created with msfdb init need manual changes after the upgrade.

    Product Affected Fixed
    Rapid7 Metasploit Framework prior to 6.5.10 6.5.10

    Sources


    This story was produced with AI assistance from the sources listed above and fact-checked against them before publication. Read our editorial methodology and the corrections log. Spotted an error? Email [email protected].

    Continue

    Share on Bluesky · Mastodon · Email ·

    Discussion