CVE-2026-16895CWE-305

CVE-2026-16895

published August 27, 2026

CVSS
5.1
EPSS
0%
Percentile
5.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
5.1 · NONE
CVSS v4.0
5.1 · 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
EPSS
0.00161 · 5.6th percentile
Weakness
CWE-305 · Authentication Bypass by Primary Weakness
Published
2026-08-27T08:16Z
References (2)
EPSS history
Timeline
  • 28 AUG 06:31Z
    EPSS moved — → 0%
    epss
  • 27 AUG 03:14Z
    Authentication Bypass in Metasploit JSON-RPC Service When DB Health Check Fails
    cvelistv5