CVE-2026-130336

Eval injection in Metasploit Framework HWBridge custom method names

Published Nov 25, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to Metasploit Framework 6.5.10 or later.


Vendor Workaround

Until upgraded, only connect msfconsole to hardware bridges that you control and trust.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rapid7
Rapid7 metasploit Framework
Vendors & Products Rapid7
Rapid7 metasploit Framework
Type Values Removed Values Added
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.
Title Eval injection in Metasploit Framework HWBridge custom method names
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
rapid7
Published
Updated
Nov 25, 2026, 4:26 AM
Reserved
Nov 16, 2026, 11:19 PM
Status
Received
Published
Nov 25, 2026, 5:18 AM
Modified
Nov 25, 2026, 5:18 AM