Skip to main content
VulnerabilityPublished

CVE-2026-16895: Rapid7 Metasploit-framework · Authentication Bypass by Primary Weakness

Affects Rapid7 Metasploit-frameworkSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Rapid7Metasploit-frameworkAffected
  • <6.5.2
Fixed in
  • 6.5.2
GitHubJSON-RPCpkg:github/JSON-RPCOther threatsAffected
  • <6.5.2
Fixed in
  • 6.5.2

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.

References

Community reviews

Loading reviews…