StraitOfVuln
Latest / CVE-2026-121139

CVE-2026-121139

HighCVSS 7.8 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-121139
Published / updated
05 Nov 2026, 16:17 UTC · last modified 06 Nov 2026, 20:38 UTC
Severity
HIGH
CVSS score
7.8 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
Rapid7
Affected products
Metasploit Framework
Affected versions
Metasploit Framework: before 6.5.9
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Metasploit Framework 6.5.9
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.15% probability of exploitation in the next 30 days · 5% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
cve@rapid7.com