pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()
Published Apr 3, 2026
9.3
CRITICALCVSS 4.0
EPSS 3.35%
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
-
Affected
- ≥ 0, ≤ 1.0.6
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Dan McInerney | Pymetasploit3 | unaffected | Affected
|
- ≤ 1.0.6
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-18601 Advisory
- https://github.com/DanMcInerney/pymetasploit3 third-party-advisoryProduct
- https://github.com/advisories/GHSA-qpc3-8vqg-8g6w Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-5463
- https://pypi.org/project/pymetasploit3 third-party-advisoryProduct
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-18601 | Advisory | |
| https://github.com/DanMcInerney/pymetasploit3 | third-party-advisoryProduct | |
| https://github.com/advisories/GHSA-qpc3-8vqg-8g6w | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-5463 | ||
| https://pypi.org/project/pymetasploit3 | third-party-advisoryProduct |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub