{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-130336","assignerOrgId":"9974b330-7714-4307-a722-5648477acda7","state":"PUBLISHED","assignerShortName":"rapid7","dateReserved":"2026-11-16T23:19:42.289Z","datePublished":"2026-11-25T04:26:22.192Z","dateUpdated":"2026-11-25T04:26:22.192Z"},"containers":{"cna":{"providerMetadata":{"orgId":"9974b330-7714-4307-a722-5648477acda7","shortName":"rapid7","dateUpdated":"2026-11-25T04:26:22.192Z"},"title":"Eval injection in Metasploit Framework HWBridge custom method names","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-95","description":"CWE-95 Improper neutralization of directives in dynamically evaluated code ('eval injection')","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-242","descriptions":[{"lang":"en","value":"CAPEC-242 Code Injection"}]}],"affected":[{"vendor":"Rapid7","product":"Metasploit Framework","platforms":["All"],"collectionURL":"https://github.com/rapid7/metasploit-framework","packageName":"metasploit-framework","repo":"https://github.com/rapid7/metasploit-framework","programFiles":["lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb"],"versions":[{"status":"affected","version":"0","lessThan":"6.5.10","versionType":"semver"},{"status":"unaffected","version":"6.5.10","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the HWBridge custom methods command dispatcher (<code>lib/rex/post/hwbridge/ui/console/command_dispatcher/custom_methods.rb</code>) 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 <code>method_name</code> returned by the <code>/custom_methods</code> endpoint. The injected code runs automatically when the operator connects to the bridge, without the operator invoking any custom command."}]}],"references":[{"url":"https://github.com/rapid7/metasploit-framework/pull/22111","name":"Fix: Fixes HWBridge custom method names (PR #22111)","tags":["patch"]},{"url":"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10","name":"Metasploit Framework 6.5.10 release","tags":["release-notes"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.5,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}}],"workarounds":[{"lang":"en","value":"Until upgraded, only connect msfconsole to hardware bridges that you control and trust.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Until upgraded, only connect msfconsole to hardware bridges that you control and trust.</p>"}]}],"solutions":[{"lang":"en","value":"Upgrade to Metasploit Framework 6.5.10 or later.","supportingMedia":[{"type":"text/html","base64":false,"value":"Upgrade to Metasploit Framework 6.5.10 or later."}]}],"credits":[{"lang":"en","value":"Jatin Mannepalli","type":"finder"},{"lang":"en","value":"DREAM Security Research Group: Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel, Shir Sadon","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.5"}}}}