CVE-2026-121139

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductMetasploit Framework
PublishedNov 5, 2026
First seenNov 5, 2026

How to fix

Update
  • Rapid7 Metasploit Framework6.5.9 or later

Affected products

ProductAffected versionsFixed in
Rapid7 Metasploit Frameworkv < 6.5.96.5.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.