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

Read the record on cve.org

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.

ProductVersions
Metasploit Framework Rapid7before 6.5.10 Affected6.5.10 Not Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.