CVE-2026-16895
published medium CVSS 4.0 · 5.1Authentication Bypass in Metasploit JSON-RPC Service When DB Health Check Fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rapid7 | — | JSON-RPCMetasploit-framework · 0 to < 6.5.2 · Other versions: unaffected | Affected | Not stated | rapid7 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- rapid7 · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Rapid7 | Metasploit-framework | 0 to < 6.5.2 (affected · custom)Default: unaffected | rapid7 · cna |
Weaknesses
1- CWE-305 CWE-305 Authentication bypass by primary weakness
References
2Provider assertions
2rapid7 · cna
Authentication Bypass in Metasploit JSON-RPC Service When DB Health Check Fails
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c20f7284e169b528b0f9fca9b0dcb6b996da9e2a2080adf3b83f1c5bf782fcc9
- Ingested
- 23 Sep 2026, 09:02:47 UTC
- Source record
- Official CVE record