CVE-2026-121139Rapid7 Metasploit Framework Web Service unauthenticated bootstrap window allows creation of an administrator account without authentication
The Rapid7 Metasploit msf-ws suffers from a missing authentication vulnerability whereby the REST API grants an unauthenticated "bootstrap" exemption so that the very first administrator can be created when the users table is empty. While the table is empty, POST /api/v1/users is exempt from authentication by design: the route handler calls warden.authenticate!(scope: :admin_api), which resolves to AdminApiToken. The inherited ApiToken#authenticate! short-circuits and returns success!() whenever msf.auth_initialized is false, without ever evaluating AdminApiToken's administrator check. In that state the endpoint creates a user — including an administrator — for an entirely unauthenticated caller. This issue has been fixed in version 6.5.9.
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 7.3 | HIGH | 4.0rapid7 (CNA) | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| 7.8 | HIGH | 3.1CISA-ADP | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Details
- CVE ID
- CVE-2026-121139
- Status
- Awaiting Analysis
- Assigner (CNA)
- rapid7
- Published
- Nov 5, 2026
- Last modified
- 2026-11-06 20:38 UTC
- Weaknesses
- CWE-306 · Missing authentication for critical function
Affected Products
As published by the CNA in the CVE record.
Rapid7Metasploit Framework1 version range
- before 6.5.9