{"affected":[{"defaultStatus":"unaffected","ecosystem":"https://github.com/rapid7/metasploit-framework","packageName":"metasploit-framework","platforms":["All"],"product":"Metasploit Framework","source":"CNA: rapid7","vendor":"Rapid7","versions":[{"lessThan":"6.5.10","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"6.5.10","versionType":"semver"}]}],"cveId":"CVE-2026-130336","cwes":["CWE-95"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.5,"severity":"high","source":"CNA: rapid7","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.5,"severity":"high","source":"NVD: cve@rapid7.com","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1795583909723,"publishedAt":1795580782192,"references":[{"source":"CNA: rapid7","tags":["patch"],"url":"https://github.com/rapid7/metasploit-framework/pull/22111"},{"source":"CNA: rapid7","tags":["release-notes"],"url":"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10"},{"source":"cve@rapid7.com","tags":[],"url":"https://github.com/rapid7/metasploit-framework/pull/22111"},{"source":"cve@rapid7.com","tags":[],"url":"https://github.com/rapid7/metasploit-framework/releases/tag/6.5.10"}],"remediation":[{"kind":"fix","source":"CNA: rapid7","text":"Upgrade to Metasploit Framework 6.5.10 or later."},{"kind":"workaround","source":"CNA: rapid7","text":"Until upgraded, only connect msfconsole to hardware bridges that you control and trust."},{"kind":"fix","source":"CNA: rapid7","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/rapid7/metasploit-framework/pull/22111"}],"revision":"ceb7fcce8002cbd342490612b10b83b6bb6bd26f3bf68ee2de32a18b9be4482f","sources":[{"modifiedAt":1795580782192,"name":"CNA: rapid7","retrievedAt":1795583325781,"url":"https://www.cve.org/CVERecord?id=CVE-2026-130336"},{"modifiedAt":1795583909723,"name":"NVD","retrievedAt":1795587406347,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130336"}],"ssvc":null,"status":"published","title":"Eval injection in Metasploit Framework HWBridge custom method names","updatedAt":1795587406347}