Summary
CVE-2026-87689 is a missing-authentication vulnerability in the Metasploit Framework Web Service REST API. It affects Metasploit Framework versions through 6.5.4. It is rated Critical (CVSS 9.8). A network client that can reach the web service can read, modify, or permanently delete stored credential records without authenticating.
Technical details
- Root cause: The PUT and DELETE handlers for
/api/v1/credentialsomit the requiredwarden.authenticate!call, so the credential endpoints don’t enforce authentication. - Trigger conditions: The attacker must be able to reach the Metasploit web service. Its default listener is 0.0.0.0:8080, which binds to all interfaces.
- Attack vector: Network. The attack needs no privileges and no user interaction.
- Impact: Any reachable client can read, modify, or permanently delete every stored credential record. This affects the confidentiality, integrity and availability of the stored data.
Affected software
- Metasploit Framework 0 through 6.5.4 (Linux, Windows, macOS)
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Metasploit Framework to 6.5.5 or later.
- If you can’t patch immediately: Don’t expose the Metasploit web service (default 0.0.0.0:8080) to untrusted networks. Restrict access with firewall rules or by binding it to a trusted interface. This is general hardening and isn’t a vendor-published workaround.
- Review stored credential data for unexpected changes or deletions if the service was reachable by untrusted clients.

