Eval injection in Metasploit Framework HWBridge custom method names
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 25, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 16, 2026
Description
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.
| Product | Versions |
|---|---|
| Metasploit Framework Rapid7 | before 6.5.10 Affected6.5.10 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | rapid7 |
Weaknesses
- CWE-95 Improper neutralization of directives in dynamically evaluated code ('eval injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.