What’s Vulnerable › Vulnerabilities
CVE-2026-5463: pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-03 · updated 2026-07-24
- Weakness: CWE-77
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.
Affected products
- Dan McInerney pymetasploit3: through 1.0.6
References
Get alerted when CVE-2026-5463 or the next vulnerability affects your stack