CVE-2026-5463 pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()
CriticalCVSS 9.3
EPSS 2.2%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pymetasploit3(PyPI) | <= 1.0.6 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0.1 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0.2 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0.3 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0.4 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0.5 | No fix listed |
| pypi pymetasploit3(PyPI) | = 1.0.6 | No fix listed |
| danmcinerney pymetasploit3 | <= 1.0.6 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product third-party-advisory
- pypi.org product third-party-advisory
- github.com vendor-advisory
- github.com