CVE-2026-121139 (GCVE-0-2026-121139)

Vulnerability from cvelistv5 – Published: 2026-11-05 15:24 – Updated: 2026-11-06 06:13
VLAI
Title
Rapid7 Metasploit Framework Web Service unauthenticated bootstrap window allows creation of an administrator account without authentication
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-05 17:10 UTC
CWE
  • CWE-306 - Missing authentication for critical function
Assigner
rapid7 CNA
Impacted products
Vendor Product Version
Rapid7 Metasploit Framework Affected: 0 , < 6.5.9 (git)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-121139",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-05T17:10:54.894633Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-05T17:11:41.112Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Metasploit Framework",
          "vendor": "Rapid7",
          "versions": [
            {
              "lessThan": "6.5.9",
              "status": "affected",
              "version": "0",
              "versionType": "git"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Ali Ganiyev"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Tanish Agarwal"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "The Rapid7 Metasploit\u0026nbsp;\u003ccode\u003emsf-ws\u003c/code\u003e\u0026nbsp;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\u0026nbsp;\u003ccode\u003eusers\u003c/code\u003e\u0026nbsp;table is empty. While the table is empty,\u0026nbsp;\u003ccode\u003ePOST /api/v1/users\u003c/code\u003e\u0026nbsp;is exempt from authentication by design: the route handler calls\u0026nbsp;\u003ccode\u003ewarden.authenticate!(scope: :admin_api)\u003c/code\u003e, which resolves to\u0026nbsp;\u003ccode\u003eAdminApiToken.\u003c/code\u003e\u0026nbsp;The inherited\u0026nbsp;\u003ccode\u003eApiToken#authenticate!\u003c/code\u003e\u0026nbsp;short-circuits and returns\u0026nbsp;\u003ccode\u003esuccess!()\u003c/code\u003e\u0026nbsp;whenever\u0026nbsp;\u003ccode\u003emsf.auth_initialized\u003c/code\u003e\u0026nbsp;is false, without ever evaluating\u0026nbsp;\u003ccode\u003eAdminApiToken\u003c/code\u003e\u0027s administrator check. In that state the endpoint creates a user \u2014 including an administrator \u2014 for an entirely unauthenticated caller.\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eThis issue has been fixed in version 6.5.9.\u003c/div\u003e"
            }
          ],
          "value": "The Rapid7 Metasploit\u00a0msf-ws\u00a0suffers 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\u00a0users\u00a0table is empty. While the table is empty,\u00a0POST /api/v1/users\u00a0is exempt from authentication by design: the route handler calls\u00a0warden.authenticate!(scope: :admin_api), which resolves to\u00a0AdminApiToken.\u00a0The inherited\u00a0ApiToken#authenticate!\u00a0short-circuits and returns\u00a0success!()\u00a0whenever\u00a0msf.auth_initialized\u00a0is false, without ever evaluating\u00a0AdminApiToken\u0027s administrator check. In that state the endpoint creates a user \u2014 including an administrator \u2014 for an entirely unauthenticated caller.\n\n\nThis issue has been fixed in version 6.5.9."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-306",
              "description": "CWE-306 Missing authentication for critical function",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-06T06:13:32.715Z",
        "orgId": "9974b330-7714-4307-a722-5648477acda7",
        "shortName": "rapid7"
      },
      "references": [
        {
          "url": "https://github.com/rapid7/metasploit-framework/pull/22039"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Rapid7 Metasploit Framework Web Service unauthenticated bootstrap window allows creation of an administrator account without authentication",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9974b330-7714-4307-a722-5648477acda7",
    "assignerShortName": "rapid7",
    "cveId": "CVE-2026-121139",
    "datePublished": "2026-11-05T15:24:48.455Z",
    "dateReserved": "2026-11-03T09:50:59.943Z",
    "dateUpdated": "2026-11-06T06:13:32.715Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "LOCAL",
                  "availabilityImpact": "HIGH",
                  "baseScore": 7.8,
                  "baseSeverity": "HIGH",
                  "confidentialityImpact": "HIGH",
                  "integrityImpact": "HIGH",
                  "privilegesRequired": "LOW",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-121139",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-05T17:10:54.894633Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-05T17:09:50.569Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Metasploit Framework",
              "vendor": "Rapid7",
              "versions": [
                {
                  "lessThan": "6.5.9",
                  "status": "affected",
                  "version": "0",
                  "versionType": "git"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Ali Ganiyev"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Tanish Agarwal"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "The Rapid7 Metasploit\u0026nbsp;\u003ccode\u003emsf-ws\u003c/code\u003e\u0026nbsp;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\u0026nbsp;\u003ccode\u003eusers\u003c/code\u003e\u0026nbsp;table is empty. While the table is empty,\u0026nbsp;\u003ccode\u003ePOST /api/v1/users\u003c/code\u003e\u0026nbsp;is exempt from authentication by design: the route handler calls\u0026nbsp;\u003ccode\u003ewarden.authenticate!(scope: :admin_api)\u003c/code\u003e, which resolves to\u0026nbsp;\u003ccode\u003eAdminApiToken.\u003c/code\u003e\u0026nbsp;The inherited\u0026nbsp;\u003ccode\u003eApiToken#authenticate!\u003c/code\u003e\u0026nbsp;short-circuits and returns\u0026nbsp;\u003ccode\u003esuccess!()\u003c/code\u003e\u0026nbsp;whenever\u0026nbsp;\u003ccode\u003emsf.auth_initialized\u003c/code\u003e\u0026nbsp;is false, without ever evaluating\u0026nbsp;\u003ccode\u003eAdminApiToken\u003c/code\u003e\u0027s administrator check. In that state the endpoint creates a user \u2014 including an administrator \u2014 for an entirely unauthenticated caller.\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eThis issue has been fixed in version 6.5.9.\u003c/div\u003e"
                }
              ],
              "value": "The Rapid7 Metasploit\u00a0msf-ws\u00a0suffers 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\u00a0users\u00a0table is empty. While the table is empty,\u00a0POST /api/v1/users\u00a0is exempt from authentication by design: the route handler calls\u00a0warden.authenticate!(scope: :admin_api), which resolves to\u00a0AdminApiToken.\u00a0The inherited\u00a0ApiToken#authenticate!\u00a0short-circuits and returns\u00a0success!()\u00a0whenever\u00a0msf.auth_initialized\u00a0is false, without ever evaluating\u00a0AdminApiToken\u0027s administrator check. In that state the endpoint creates a user \u2014 including an administrator \u2014 for an entirely unauthenticated caller.\n\n\nThis issue has been fixed in version 6.5.9."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 7.3,
                "baseSeverity": "HIGH",
                "exploitMaturity": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-306",
                  "description": "CWE-306 Missing authentication for critical function",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-06T06:13:32.715Z",
            "orgId": "9974b330-7714-4307-a722-5648477acda7",
            "shortName": "rapid7"
          },
          "references": [
            {
              "url": "https://github.com/rapid7/metasploit-framework/pull/22039"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Rapid7 Metasploit Framework Web Service unauthenticated bootstrap window allows creation of an administrator account without authentication",
          "x_generator": {
            "engine": "Vulnogram 1.0.5"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "9974b330-7714-4307-a722-5648477acda7",
        "assignerShortName": "rapid7",
        "cveId": "CVE-2026-121139",
        "datePublished": "2026-11-05T15:24:48.455Z",
        "dateReserved": "2026-11-03T09:50:59.943Z",
        "dateUpdated": "2026-11-06T06:13:32.715Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.