Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.5CVE-2026-130336

Eval injection in Metasploit Framework HWBridge custom method names

Published 25/11/2026 · Updated 25/11/2026 · Rapid7 Metasploit Framework

Original 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.

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.

Original text from the vendor's CVE record.

Affected products and versions

Rapid7 Metasploit Framework< 6.5.10Fixed in: 6.5.10

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-95 Improper neutralization of directives in dynamically evaluated code ('eval injection')

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.