{"cve":"CVE-2026-5463","nvd":{"published":"2026-04-03T05:16:24.160","modified":"2026-07-24T20:10:00.147","status":"Analyzed","description":"Command injection vulnerability in console.run_module_with_output() in pymetasploit3 through version 1.0.6 allows attackers to inject newline characters into module options such as RHOSTS. This breaks the intended command structure and causes the Metasploit console to execute additional unintended commands, potentially leading to arbitrary command execution and manipulation of Metasploit sessions.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L","score":9.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-77"],"references":["https://github.com/DanMcInerney/pymetasploit3","https://pypi.org/project/pymetasploit3/"],"products":["danmcinerney:pymetasploit3"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-5463","score":0.02152,"percentile":0.82149,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qpc3-8vqg-8g6w","url":"https://osv.dev/vulnerability/GHSA-qpc3-8vqg-8g6w","summary":"pymetasploit3 vulnerable to command injection in console.run_module_with_output()","modified":"2026-06-29T12:26:44.751318940Z","packages":[{"ecosystem":"PyPI","name":"pymetasploit3","purl":"pkg:pypi/pymetasploit3","ranges":["<=1.0.6"],"fixed":[]}]},{"id":"PYSEC-2026-500","url":"https://osv.dev/vulnerability/PYSEC-2026-500","summary":"pymetasploit3 vulnerable to command injection in console.run_module_with_output()","modified":"2026-07-01T20:23:02.980943Z","packages":[{"ecosystem":"PyPI","name":"pymetasploit3","purl":"pkg:pypi/pymetasploit3","ranges":["<=1.0.6"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}