Back to CVE records
Medium 5.1Published Aug 27, 2026

CVE-2026-16895Authentication Bypass in Metasploit JSON-RPC Service When DB Health Check Fails

Updated under an hour ago ()

Does this affect you?

It affects Rapid7 Metasploit-framework. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

A logic vulnerability (fail-open condition) has been identified within the Metasploit Framework's JSON-RPC web service interface. When an exception occurs during the database health check (db.check) and the environment variable MSF_WS_JSON_RPC_API_TOKEN is not explicitly set, the application resets the internal state flag msf.auth_initialized to false. The ApiToken Warden authentication strategy misinterprets this false value as an indicator that authentication is not initialized or required, thereby granting unauthenticated local access to the JSON-RPC request dispatcher.

CVSS
5.1 MEDIUM (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Weakness (CWE)
CWE-305
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
rapid7
NVD analysis
Awaiting Analysis
Record last updated
Aug 27, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Rapid7 Metasploit-framework
rapid7:metasploit_framework (from the name)
before 6.5.2
CNA record

References

  • vendor-advisory
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.