Metasploit Framework Web Service REST API Missing Authentication on Credential Endpoints

Summary

CVECVE-2026-87689
StatePUBLISHED
Assignerrapid7
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-13 01:16:47 UTC
Updated2026-10-14 11:17:06 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 9.8 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-306 | CWE-306 CWE-306 Missing Authentication for Critical Function


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Rapid7 Metasploit Framework affected 6.5.4 semver Linux, Windows, macOS
CNA Rapid7 Metasploit Framework unaffected 6.5.5 semver Linux, Windows, macOS

References

ReferenceSourceLinkTags
github.com/rapid7/metasploit-framework [email protected] github.com
github.com/rapid7/metasploit-framework/releases/tag/6.5.5 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Leon Zlobecki (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-08-30T05:53:00.000ZVulnerability reported to Rapid7
CNA2026-09-02T00:54:00.000ZRapid7 acknowledged receipt and forwarded to the Metasploit team
CNA2026-09-10T03:23:00.000ZVulnerability confirmed legitimate; CVE-2026-87689 reserved
CNA2026-09-23T04:42:00.000ZFix released in Metasploit Framework 6.5.5

Solutions

CNA: https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report