Metasploit Framework Web Service REST API Missing Authentication on Credential Endpoints
Summary
| CVE | CVE-2026-87689 |
|---|---|
| State | PUBLISHED |
| Assigner | rapid7 |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-13 01:16:47 UTC |
| Updated | 2026-10-14 11:17:06 UTC |
| Description | 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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
| Source | Time | Event |
|---|---|---|
| CNA | 2026-08-30T05:53:00.000Z | Vulnerability reported to Rapid7 |
| CNA | 2026-09-02T00:54:00.000Z | Rapid7 acknowledged receipt and forwarded to the Metasploit team |
| CNA | 2026-09-10T03:23:00.000Z | Vulnerability confirmed legitimate; CVE-2026-87689 reserved |
| CNA | 2026-09-23T04:42:00.000Z | Fix released in Metasploit Framework 6.5.5 |
Solutions
CNA: https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5
There are currently no legacy QID mappings associated with this CVE.