Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-130336: high-severity vulnerability (CVSS 7.5) in Rapid7 Metasploit Framework.
What happened
Original description from the source: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the HWBridge custom methods command dispatcher (lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb) in Rapid7 Metasploit Framework versions prior to 6.5.10 on all platforms allows a malicious or compromised hardware bridge to execute arbitrary code in the msfconsole process via a crafted method_name returned by the /custom_methods endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command.
Why it matters
High severity, CVSS 7.5.
Affected products and versions
Rapid7 Metasploit Framework < 6.5.10; Rapid7 Metasploit Framework 6.5.10 (fixed in 6.5.10)
| Product | Versions | Fixed in |
|---|---|---|
| Rapid7 Metasploit Framework | < 6.5.10 | — |
| Rapid7 Metasploit Framework | 6.5.10 | 6.5.10 |
Action recommended by the source
Upgrade to a fixed version: 6.5.10.
Fixed in: 6.5.10
Sources and references
- https://github.com/rapid7/metasploit-framework/pull/22111 — CVE Program
- https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10 — CVE Program
Weaknesses (CWE): CWE-95
Relevant change history
Published
Preliminary advisory published.