CVE-2026-121139 The Rapid7 Metasploit msf-ws suffers from a missing authentication vulnerability whereby the REST API grants an unauthenticated "bootstrap"

High 7.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-121139?

CVE-2026-121139 is a high-severity vulnerability in Rapid7 Metasploit Framework, published on 5 Nov 2026.

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

Weakness: CWE-306

Which versions are affected by CVE-2026-121139?

How do I fix CVE-2026-121139?

No fix has been published for CVE-2026-121139 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-121139 being exploited?

There is no known exploitation of CVE-2026-121139 in the wild and no public exploit code.

Sources

Also known as GHSA-9hfj-jg3v-c22g.

Is CVE-2026-121139 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free