Vulnerability

CVE-2026-121139

highCVSS 4.0 7.3Published 5 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /rapid7/metasploit-framework/pull/22039

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning