Metasploit Framework Web Service Has Unauthenticated Credential Access Flaw
A critical vulnerability in the Metasploit Framework Web Service allows unauthenticated users to read, modify, or delete stored credentials without any authentication checks.

Key points
- CVE-2026-87689 affects all Metasploit Framework versions through 6.5.4.
- The flaw allows unauthenticated access to the credential store via the REST API.
- Rapid7 released version 6.5.5 which patches the missing authentication checks.
Rapid7 has released version 6.5.5 of the Metasploit Framework to address a critical security vulnerability that allows unauthenticated access to stored credentials. The flaw, tracked as CVE-2026-87689, enables attackers to read, modify, or permanently delete sensitive authentication data if they can reach the web service interface.
At a glance
- CVE
- CVE-2026-87689
- Product
- Rapid7 Metasploit Framework
- CVSS
- 9.8 Critical
- Weakness
- missing authentication
- Exploited
- No known exploitation
The vulnerability resides within the Metasploit Framework Web Service REST API, specifically in the Msf::WebServices::CredentialServlet component. According to the National Vulnerability Database record, this servlet handles various credential management routes. While most mutating and read routes correctly require authentication via warden.authenticate!, two specific handlers fail to enforce this security control.
Context and Background
The affected handlers are the update_credential function for PUT requests and the delete_credentials function for DELETE requests on the /api/v1/credentials endpoint. These specific API routes omitted the standard authentication call entirely before processing user inputs. This deviation from the standard security pattern left these endpoints exposed to direct manipulation by any network client.
Because these handlers call directly into lib/msf/core/db_manager/cred.rb, which performs no independent authorization checks, the lack of initial authentication proves fatal. Any client able to reach the web service on its default 0.0.0.0:8080 listener can interact with the credential store without presenting any valid credentials or tokens.
Who Is Affected
All published versions of the Metasploit Framework up to and including version 6.5.4 are affected by this issue. The vulnerability is rated as critical with a CVSS score of 9.8. Attackers exploiting this flaw can access every stored credential record within the database, including passwords, cryptographic hashes, and private keys used for shared team engagements.
The fix introduced in version 6.5.5 adds the warden.authenticate! call as the first statement in both the update and delete handlers. This change aligns these specific routes with the security pattern used by every other route in the API, ensuring that all requests are properly authenticated before processing.
What should you do?
Security teams should immediately verify their current Metasploit Framework version. If the installation is version 6.5.4 or earlier, administrators should upgrade to version 6.5.5 to apply the patch. Until the update is applied, organizations should restrict network access to the Metasploit Web Service port 8080 to prevent unauthorized external connections.
What to do and how to stay safe: Metasploit Framework
- Verify the installed version of the Metasploit Framework and upgrade to 6.5.5 if it is 6.5.4 or older.
- Restrict network access to the Metasploit Web Service port 8080 to trusted internal hosts only.
- Monitor server logs for unauthorized PUT or DELETE requests to the /api/v1/credentials endpoint.
- Rotate any credentials that may have been stored in the affected Metasploit database if exposure is suspected.
Step-by-step guide: Risk Based Vulnerability Management: Prioritize Fixes by Actual Threat
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Which specific API endpoints are vulnerable to unauthenticated access?
The update_credential (PUT) and delete_credentials (DELETE) handlers for the /api/v1/credentials endpoint are vulnerable.
What is the CVSS score for CVE-2026-87689?
The National Vulnerability Database rates the vulnerability as critical with a CVSS score of 9.8.
Are there any versions of Metasploit Framework that are not affected?
Versions prior to 6.5.5 are affected; the issue is fixed in version 6.5.5.


