CVE-2026-87689

Metasploit Framework Web Service REST API Missing Authentication on Credential Endpoints

Critical 9.8

The Metasploit Framework Web Service REST API (msf-ws) exposes the credential store through Msf::WebServices::CredentialServlet. Every mutating and read route in this servlet calls warden.authenticate! before processing a request, except the update_credential (PUT) and delete_credentials (DELETE) handlers for /api/v1/credentials, which omit the authentication call entirely. Because these handlers call directly into lib/msf/core/db_manager/cred.rb, which performs no authorization check of its own, any client able to reach the web service on its default 0.0.0.0:8080 listener can read, modify, or permanently delete every stored credential record — including passwords, hashes, and private keys stored for a shared team engagement — without presenting any authentication. All published versions of Metasploit Framework through 6.5.4 are affected. The issue is fixed in 6.5.5 by adding warden.authenticate! as the first statement in both handlers, matching the pattern used by every other route in the API.

Assigner
rapid7
Published
2026-10-13
Updated
2026-10-21
Reserved
2026-09-08

Scores

SourceCVSSScoreSeverityVector
rapid73.19.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

Affected

VendorProductVersions
Rapid7 Metasploit Framework
Linux, Windows, macOS
<= 6.5.4 (affected)
6.5.5 (unaffected)
others: unaffected

References

Full CVE JSON record (5.2)

API · GitHub · cve.org

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-87689",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-14T03:59:13.035893Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-14T10:51:05.859Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "Linux",
            "Windows",
            "macOS"
          ],
          "product": "Metasploit Framework",
          "repo": "https://github.com/rapid7/metasploit-framework",
          "vendor": "Rapid7",
          "versions": [
            {
              "lessThanOrEqual": "6.5.4",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.5.5",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Leon Zlobecki"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "James Golovich"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe Metasploit Framework Web Service REST API (msf-ws) exposes the credential store through Msf::WebServices::CredentialServlet. Every mutating and read route in this servlet calls warden.authenticate! before processing a request, except the update_credential (PUT) and delete_credentials (DELETE) handlers for /api/v1/credentials, which omit the authentication call entirely. Because these handlers call directly into lib/msf/core/db_manager/cred.rb, which performs no authorization check of its own, any client able to reach the web service on its default 0.0.0.0:8080 listener can read, modify, or permanently delete every stored credential record \u2014 including passwords, hashes, and private keys stored for a shared team engagement \u2014 without presenting any authentication. All published versions of Metasploit Framework through 6.5.4 are affected. The issue is fixed in 6.5.5 by adding warden.authenticate! as the first statement in both handlers, matching the pattern used by every other route in the API.\u003c/p\u003e"
            }
          ],
          "value": "The Metasploit Framework Web Service REST API (msf-ws) exposes the credential store through Msf::WebServices::CredentialServlet. Every mutating and read route in this servlet calls warden.authenticate! before processing a request, except the update_credential (PUT) and delete_credentials (DELETE) handlers for /api/v1/credentials, which omit the authentication call entirely. Because these handlers call directly into lib/msf/core/db_manager/cred.rb, which performs no authorization check of its own, any client able to reach the web service on its default 0.0.0.0:8080 listener can read, modify, or permanently delete every stored credential record \u2014 including passwords, hashes, and private keys stored for a shared team engagement \u2014 without presenting any authentication. All published versions of Metasploit Framework through 6.5.4 are affected. The issue is fixed in 6.5.5 by adding warden.authenticate! as the first statement in both handlers, matching the pattern used by every other route in the API."
        }
      ],
      "impacts": [
        {
          "descriptions": [
            {
              "lang": "en",
              "value": "An unauthenticated network attacker who can reach the msf-ws listener can disclose stored credential material (passwords, hashes, private keys) via unauthenticated PUT, modify credential records with attacker-chosen fields, and permanently delete credential records via unauthenticated DELETE. In shared/team msfdb deployments this exposes the primary deliverables of a penetration-test engagement."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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-10-21T10:27:53.906Z",
        "orgId": "9974b330-7714-4307-a722-5648477acda7",
        "shortName": "rapid7"
      },
      "references": [
        {
          "name": "Metasploit Framework 6.5.5 Release Notes",
          "tags": [
            "release-notes",
            "patch"
          ],
          "url": "https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5"
        },
        {
          "name": "Metasploit Framework source repository",
          "tags": [
            "product"
          ],
          "url": "https://github.com/rapid7/metasploit-framework"
        },
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5"
            }
          ],
          "value": "https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5"
        }
      ],
      "source": {
        "defect": [
          "https://rapid7.atlassian.net/browse/MS-10244"
        ],
        "discovery": "EXTERNAL"
      },
      "timeline": [
        {
          "lang": "en",
          "time": "2026-08-30T05:53:00.000Z",
          "value": "Vulnerability reported to Rapid7"
        },
        {
          "lang": "en",
          "time": "2026-09-02T00:54:00.000Z",
          "value": "Rapid7 acknowledged receipt and forwarded to the Metasploit team"
        },
        {
          "lang": "en",
          "time": "2026-09-10T03:23:00.000Z",
          "value": "Vulnerability confirmed legitimate; CVE-2026-87689 reserved"
        },
        {
          "lang": "en",
          "time": "2026-09-23T04:42:00.000Z",
          "value": "Fix released in Metasploit Framework 6.5.5"
        }
      ],
      "title": "Metasploit Framework Web Service REST API Missing Authentication on Credential Endpoints",
      "x_generator": {
        "engine": "Rapid7 Vulnerability Disclosure Program"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9974b330-7714-4307-a722-5648477acda7",
    "assignerShortName": "rapid7",
    "cveId": "CVE-2026-87689",
    "datePublished": "2026-10-13T00:53:00.847Z",
    "dateReserved": "2026-09-08T23:15:25.487Z",
    "dateUpdated": "2026-10-21T10:27:53.906Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}