# CVE-2026-87689: Metasploit Framework Web Service REST API Missing Authentication on Credential Endpoints

- Severity: Critical 9.8 (CVSS:3.1, scored by rapid7) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-13T00:53:00.847Z
- Modified: 2026-10-21T10:27:53.906Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: rapid7

## 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.

(As written by CVE List.)

## Affected

- Rapid7 Metasploit Framework: up to 6.5.4 (not affected: 6.5.5)

## References

- <https://github.com/rapid7/metasploit-framework/releases/tag/6.5.5> (exploit, patch, release-notes)
- <https://github.com/rapid7/metasploit-framework> (product)

## Sources

- CVE List: [CVE-2026-87689](https://www.cve.org/CVERecord?id=CVE-2026-87689), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-87689](https://nvd.nist.gov/vuln/detail/CVE-2026-87689), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-87689 · Whole record: https://cve.day/CVE-2026-87689.json · Rebuilt by cve.day 2026-11-25T22:59:43.729Z
