NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-5463: pymetasploit3 vulnerable to command injection in console.run_module_with_output()

criticalCVSS 4.0 9.3 · 3.1 8.6GHSA-qpc3-8vqg-8g6w

Command injection vulnerability in console.runmodulewithoutput() 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.

Published Apr 3, 2026 · Updated Jun 9, 2026

Affected packages

pymetasploit3

Ecosystem
PyPI
Affected
<= 1.0.6
Fixed in
No patched version yet
Check
pip show pymetasploit3

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology