CVE-2026-5463: Vulnerability in Danmcinerney Pymetasploit3
Critical. 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.
PyPI, CWE-77
- Exploitation
- None confirmed
- Severity
- 8.6 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-qpc3-8vqg-8g6w
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
- Weakness
- CWE-77
- Published
- 3 Apr 2026
- Last change
- 16 Nov 2026
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Danmcinerney Pymetasploit3 Through 1.0.6. No fixed version recorded
Affected packages
Vulnerable version ranges and fixed releases
- pymetasploit3 PyPI, Affected through 1.0.6. No fixed version recorded
Advisories
Vendor and security advisories
- pypi.org/project/pymetasploit3
- github.com/DanMcInerney/pymetasploit3
- pypi.org/project/pymetasploit3/
- github.com/pypa/advisory-database/tree/main/vulns/pymetasploit3/PYSEC-2026-500.yaml
Related
- Pymetasploit3 vulnerabilities Recent advisories, watch this product