CVE-2026-130336 PUBLISHED

Eval injection in Metasploit Framework HWBridge custom method names

Assigner: rapid7
Reserved: 16.11.2026 Published: 25.11.2026 Updated: 25.11.2026

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.

Metrics

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

Product Status

Vendor Rapid7
Product Metasploit Framework
Versions Default: unaffected
  • affected from 0 to 6.5.10 (excl.)
  • Version 6.5.10 is unaffected

Workarounds

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

Solutions

Upgrade to Metasploit Framework 6.5.10 or later.

Credits

  • Jatin Mannepalli finder
  • DREAM Security Research Group: Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, Shir Sadon finder

References

Problem Types

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

Impacts

  • CAPEC-242 Code Injection