CVE-2026-5463
Critical 9.3No known exploitationFix status unknownpymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()
Vendor advisory: GHSA-qpc3-8vqg-8g6w
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-77
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Dan McInerney | pymetasploit3 | all versions up to and including 1.0.6 | Not documented | CVE Program |
| pip | pymetasploit3 | all versions up to and including 1.0.6 | Not documented | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by TuranSec
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://github.com/DanMcInerney/pymetasploit3 (opens in a new tab)third-party-advisory
- GitHub Advisory GHSA-qpc3-8vqg-8g6w (opens in a new tab)github-advisory
- https://pypi.org/project/pymetasploit3/ (opens in a new tab)third-party-advisory