{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-16895","id":"CVE-2026-16895","title":"Authentication Bypass in Metasploit JSON-RPC Service When DB Health Check Fails","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 m","descriptionLong":"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.","published":"2026-08-27T03:14:21.055Z","updated":"2026-08-28T21:17:10.720Z","reserved":"2026-07-24T05:29:02.405Z","status":"Awaiting Analysis","rejected":false,"assigner":"rapid7","metric":{"version":"4.0","score":5.1,"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","rating":"medium","source":"rapid7"},"metrics":[{"version":"4.0","score":5.1,"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","rating":"medium","source":"rapid7"},{"version":"4.0","score":5.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"rapid7.com"}],"rating":"medium","products":["Rapid7 Metasploit-framework"],"affectedProducts":[{"vendor":"Rapid7","product":"Metasploit-framework","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"6.5.2","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-305"],"aliases":[],"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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00234,"epssPercentile":0.1448,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-16895","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16895","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-16895","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-16895","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}