Rapid7 Patches Critical Eval Injection Flaw in Metasploit Framework

Rapid7 has released version 6.5.10 of the Metasploit Framework to address CVE-2026-130336, a high-severity vulnerability allowing arbitrary code execution. The flaw exists in the HWBridge custom method command dispatcher, where unvalidated input from a hardware bridge can trigger code execution in the msfconsole process upon connection. The issue affects all platforms and requires user interaction to exploit.
Key points
- The vulnerability, rated 7.5 (High) on the CVSS 3.1 scale, is classified as an Improper Neutralization of Directives in Dynamically Evaluated Code (CWE-95).
- Exploitation occurs when a malicious or compromised hardware bridge returns a crafted method_name via the /custom_methods endpoint, injecting code that runs automatically when an operator connects.
- The attack vector is network-based but has high complexity, requiring no prior privileges but necessitating user interaction (the connection event).
- Successful exploitation compromises confidentiality, integrity, and availability of the msfconsole process.
- Rapid7 advises users to upgrade to version 6.5.10 or later; as a temporary workaround, operators should only connect to hardware bridges they fully control and trust.
Background
This disclosure follows a series of recent security patches for injection flaws in other software, including SQL injection in Formance Ledger and IMAP injection in Thunderbird. While those issues involved different protocols and severities, they highlight a broader trend of vulnerabilities arising from insufficient input validation in dynamic code execution or command processing.
Why it matters
Metasploit is a widely used penetration testing framework; a vulnerability allowing arbitrary code execution via a hardware bridge could compromise the security posture of red team operations or allow attackers to pivot through compromised infrastructure if unpatched versions are exposed.
What to watch
Security teams should immediately verify their Metasploit Framework versions and apply the 6.5.10 update. Until patched, strict controls on hardware bridge connections are essential to mitigate the risk of remote code execution.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar