{"id":"CVE-2026-5463","published":"2026-04-03T04:32:23Z","modified":"2026-08-10T11:30:41Z","title":"pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()","vendor":"Dan McInerney","product":"pymetasploit3","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02199,"percentile":0.82946,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/DanMcInerney/pymetasploit3","tags":["third-party-advisory"]},{"url":"https://pypi.org/project/pymetasploit3/","tags":["third-party-advisory"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":16.59},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"dan-mcinerney","affectedVersions":[{"vendor":"Dan McInerney","product":"pymetasploit3","versions":["<= 1.0.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-03T15:34:20.114267Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pymetasploit3","vulnerableRanges":["<=1.0.6"],"patched":[],"from":["GHSA-qpc3-8vqg-8g6w","PYSEC-2026-500"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-18601","exploited":false,"provenance":"source"}}