CVE-2026-16895

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

MEDIUM
5.1
CVSS Score
Published: August 27, 2026 at 03:14 AM UTC
Updated: August 28, 2026 at 09:32 PM UTC
1 product affected across 1 vendorMetasploit

Using Metasploit-framework by Rapid7?

Get instant alerts when new vulnerabilities affect Metasploit-framework - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.5.2
Affected range stops below 6.5.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.1MEDIUMrapid7
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-305

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card