CVE Tools

CVE-2026-16895

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

Published: Aug 27, 2026Updated: Aug 28, 2026 Sources: CVE List NVDCWE-305

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.

No summary for this CVE yet.

Weaknesses

Affected Products

Rapid7
commercial·USaka rapid7 nexpose, metasploit, rapid7 velociraptor

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

References

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-16895 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store