CVE-2026-5463
CRITICAL 9.3CVSS 4.0pymetasploit3 vulnerable to command injection in console.run_module_with_output()
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.
- Published
- 3 Apr 2026
- Last modified
- 16 Nov 2026
- Assigned by
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- NVD status
- Analyzed
- Weakness
- CWE-77
- Also known as
- GHSA-qpc3-8vqg-8g6wPYSEC-2026-500
- Sources
- NVDJSONOSV GHSA-qpc3-8vqg-8g6wJSONOSV PYSEC-2026-500JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 4.0 | CRITICAL 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | danmcinerney | pymetasploit3cpe:2.3:a:danmcinerney:pymetasploit3:*:*:*:*:*:*:*:* |
<= 1.0.6 | |
| OSV | PyPI | pymetasploit3 | <= 1.0.6 |
References
- https://github.com/DanMcInerney/pymetasploit3 · Product, PACKAGE
- https://pypi.org/project/pymetasploit3/ · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-5463 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pymetasploit3/PYSEC-2026-500.yaml · WEB
- https://github.com/advisories/GHSA-qpc3-8vqg-8g6w · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Apr 2026)