CVE-2026-16895: Rapid7 Metasploit-framework · Authentication Bypass by Primary Weakness
Affects Rapid7 Metasploit-frameworkSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium : upgrade to 6.5.2 when convenient.
Data as of 25 Nov 2026, 14:03 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.5.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade Metasploit-framework and JSON-RPC to 6.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Rapid7Metasploit-framework | Affected
| Fixed in
|
GitHubJSON-RPCpkg:github/JSON-RPCOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should ensure the environment variable MSF_WS_JSON_RPC_API_TOKEN is explicitly set to prevent the fail-open condition. If you cannot patch yet, restricting local access to the JSON-RPC interface can reduce risk.
Description
CVE-2026-16895 is a logic vulnerability in the Rapid7 Metasploit Framework's JSON-RPC web service interface. The flaw arises when an exception during a database health check causes the internal authentication state to reset improperly, allowing unauthenticated local access. This occurs if the environment variable MSF_WS_JSON_RPC_API_TOKEN is not set, leading the authentication mechanism to mistakenly allow access without credentials. The vulnerability affects versions prior to 6.5.2 and has a medium severity rating.