Vulnerability in Metasploit Framework Web Service REST API (CVE-2026-87689)
Summary
Vulnerability in Metasploit Framework Web Service REST API (CVE-2026-87689). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 6.5.5 or later.
Original description
The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-87689 has been found in Metasploit Framework Web Service REST API.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade Metasploit Framework Web Service REST API to 6.5.5 or later.
If unsure, ask your IT team or search "Metasploit Framework Web Service REST API CVE-2026-87689" on the vendor's site.
CVE-2026-87689 (Metasploit Framework Web Service REST API) — CWE-306 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 6.5.5 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-306) exists in Metasploit Framework Web Service REST API.
Check the vendor advisory for the affected versions of Metasploit Framework Web Service REST API.
Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover.
Update to 6.5.5.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Metasploit Framework Web Service REST API を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade Metasploit Framework Web Service REST API to 6.5.5ステージング環境で 6.5.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
References
- web cve@rapid7.com
- web cve@rapid7.com
- web nvd.nist.gov
- web github.com