Eval injection in Metasploit Framework HWBridge custom method names
Summary
| CVE | CVE-2026-130336 |
|---|---|
| State | PUBLISHED |
| Assigner | rapid7 |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-25 05:18:29 UTC |
| Updated | 2026-11-26 05:18:19 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS: 0.006630000 probability, percentile 0.466190000 (date 2026-11-29)
Problem Types: CWE-95 | CWE-95 CWE-95 Improper neutralization of directives in dynamically evaluated code ('eval injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Rapid7 | Metasploit Framework | affected 6.5.10 semver | All |
| CNA | Rapid7 | Metasploit Framework | unaffected 6.5.10 semver | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/rapid7/metasploit-framework/releases/tag/6.5.10 | [email protected] | github.com | |
| github.com/rapid7/metasploit-framework/pull/22111 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Jatin Mannepalli (en)
CNA: DREAM Security Research Group: Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, Shir Sadon (en)
Additional Advisory Data
Solutions
CNA: Upgrade to Metasploit Framework 6.5.10 or later.
Workarounds
CNA: Until upgraded, only connect msfconsole to hardware bridges that you control and trust.
There are currently no legacy QID mappings associated with this CVE.