CVE-2026-87689 (GCVE-0-2026-87689)
Vulnerability from cvelistv5
Published
2026-10-13 00:53
Modified
2026-10-21 10:27
Severity ?
CWE
  • CWE-306 - Missing Authentication for Critical Function
Summary
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.
Impacted products
Vendor Product Version
Rapid7 Metasploit Framework Version: 0   ≤ 6.5.4
Create a notification for this product.
Show details on NVD website


{
  "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",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-87689\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-14T03:59:13.035893Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-14T10:41:34.268Z\"}}], \"cna\": {\"title\": \"Metasploit Framework Web Service REST API Missing Authentication on Credential Endpoints\", \"source\": {\"defect\": [\"https://rapid7.atlassian.net/browse/MS-10244\"], \"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Leon Zlobecki\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"James Golovich\"}], \"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\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/rapid7/metasploit-framework\", \"vendor\": \"Rapid7\", \"product\": \"Metasploit Framework\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.4\"}, {\"status\": \"unaffected\", \"version\": \"6.5.5\", \"versionType\": \"semver\"}], \"platforms\": [\"Linux\", \"Windows\", \"macOS\"], \"defaultStatus\": \"unaffected\"}], \"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\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5\", \"base64\": false}]}], \"references\": [{\"url\": \"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5\", \"name\": \"Metasploit Framework 6.5.5 Release Notes\", \"tags\": [\"release-notes\", \"patch\"]}, {\"url\": \"https://github.com/rapid7/metasploit-framework\", \"name\": \"Metasploit Framework source repository\", \"tags\": [\"product\"]}, {\"url\": \"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5\", \"tags\": [\"release-notes\"]}], \"x_generator\": {\"engine\": \"Rapid7 Vulnerability Disclosure Program\"}, \"descriptions\": [{\"lang\": \"en\", \"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.\", \"supportingMedia\": [{\"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\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-306\", \"description\": \"CWE-306 Missing Authentication for Critical Function\"}]}], \"providerMetadata\": {\"orgId\": \"9974b330-7714-4307-a722-5648477acda7\", \"shortName\": \"rapid7\", \"dateUpdated\": \"2026-10-21T10:27:53.906Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-87689\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-21T10:27:53.906Z\", \"dateReserved\": \"2026-09-08T23:15:25.487Z\", \"assignerOrgId\": \"9974b330-7714-4307-a722-5648477acda7\", \"datePublished\": \"2026-10-13T00:53:00.847Z\", \"assignerShortName\": \"rapid7\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…