CVE-2026-130336: Eval injection in Metasploit Framework HWBridge custom method names

Published Nov 25, 2026
·
Updated

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the HWBridge custom methods command dispatcher (lib/rex/post/hwbridge/ui/console/commanddispatcher/custommethods.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 methodname returned by the /custommethods endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command.

Affected Software

1 affected component
Rapid7 Metasploit Framework<6.5.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Metasploit Framework to a version that resolves this vulnerability.

    Fixed in 6.5.10

Event History

Nov 25, 2026
CVE Published
via MITRE·04:26 AM
Data Sourced
via MITRE·04:26 AM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Operators using Metasploit Framework versions earlier than 6.5.10 are exposed when they connect msfconsole to a malicious or compromised hardware bridge. The issue affects all platforms.

2

Does exploitation require the operator to run a custom hardware-bridge command?

No. The injected code runs automatically in the msfconsole process when the operator connects to the bridge; no custom command needs to be invoked.

3

What access does an attacker need to exploit this?

An attacker needs control of, or the ability to compromise, a hardware bridge so it can return a crafted method_name from the /custom_methods endpoint. Exploitation also requires an operator to connect to that bridge.

4

What version addresses the issue?

Upgrade Metasploit Framework to version 6.5.10 or later. Versions prior to 6.5.10 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203