Skip to content
DayZeroHub
High Not yet writtenCVSS 7.5CVE-2026-130336

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

Rapid7 Metasploit Framework

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-130336: high-severity vulnerability (CVSS 7.5) in Rapid7 Metasploit Framework.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.5.

Affected products and versions

Rapid7 Metasploit Framework < 6.5.10; Rapid7 Metasploit Framework 6.5.10 (fixed in 6.5.10)

ProductVersionsFixed in
Rapid7 Metasploit Framework< 6.5.10—
Rapid7 Metasploit Framework6.5.106.5.10

Action recommended by the source

Upgrade to a fixed version: 6.5.10.

Fixed in: 6.5.10

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-95

Relevant change history

  1. Published

    Preliminary advisory published.