CVE-2026-121139

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.
Configurations

No configuration.

History

05 Nov 2026, 17:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

05 Nov 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-05 16:17

Updated : 2026-11-06 20:38


NVD link : CVE-2026-121139

Mitre link : CVE-2026-121139

CVE.ORG link : CVE-2026-121139


JSON object : View

Products Affected

No product.

CWE
CWE-306

Missing Authentication for Critical Function