{"id":"CVE-2026-16895","published":"2026-08-27T03:14:21Z","modified":"2026-08-27T13:09:40Z","title":"Authentication Bypass in Metasploit JSON-RPC Service When DB Health Check Fails","vendor":"Rapid7","product":"Metasploit-framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14594,"provenance":"source"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"references":[{"url":"https://www.rapid7.com/blog/post/pt-metasploit-wrap-up-lot-of-summer-shells-and-fit-http-profiles/","tags":["vendor-advisory"]},{"url":"https://github.com/rapid7/metasploit-framework/pull/21768","tags":["patch"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.92},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"rapid7","affectedVersions":[{"vendor":"Rapid7","product":"Metasploit-framework","versions":["< 6.5.2"]}],"capec":[{"id":"CAPEC-115","name":"Authentication Bypass"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-27T13:09:31.706546Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-66836","exploited":false,"provenance":"source"}}