CVE-2026-130336
Eval injection in Metasploit Framework HWBridge custom method names
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.
Fixes and workarounds
Fix
Upgrade to Metasploit Framework 6.5.10 or later.
Source: CNA: rapid7Workaround
Until upgraded, only connect msfconsole to hardware bridges that you control and trust.
Source: CNA: rapid7Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: rapid7Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Metasploit Framework Rapid7 metasploit-framework
https://github.com/rapid7/metasploit-framework Platforms: All |
≥ 0; < 6.5.10 (affected, semver) 6.5.10 (unaffected, semver) Other versions: unaffected |
CNA: rapid7 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA: rapid7 |
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/rapid7/metasploit-framework/pull/22111CNA: rapid7 · patch
- https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10CNA: rapid7 · release-notes
- https://github.com/rapid7/metasploit-framework/pull/22111[email protected]
- https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.