Public vulnerability disclosure

CVE-2026-130336

Eval injection in Metasploit Framework HWBridge custom method names

publishedCWE-95

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.

Technical severity7.5 highCVSS 3.1 · CNA: rapid7
Published2026-11-25Source updated 2026-11-25
Collected2026-11-252 attributed sources

Fixes and workarounds

Fix

Upgrade to Metasploit Framework 6.5.10 or later.

Source: CNA: rapid7

Workaround

Until upgraded, only connect msfconsole to hardware bridges that you control and trust.

Source: CNA: rapid7

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: rapid7

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HCNA: rapid7
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

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/cves
https://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.

Agent access JSON · OpenAPI · CVE API guide