CVE-2026-5463
published critical CVSS 4.0 · 9.3pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Dan McInerney | — | pymetasploit30 through 1.0.6 · Other versions: unaffected | Affected | Not stated | TuranSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- TuranSec · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.6 | high | TuranSec · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L | en: GENERAL |
| 2.0 | 7.5 | high | TuranSec · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Dan McInerney | pymetasploit3 | 0 through 1.0.6 (affected · python)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-77 CWE-77 Improper neutralization of special elements leading to command injection
References
2Provider assertions
2TuranSec · cna
pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b40505872f73555814c4ec77a7fd4ad7c39462354a6a6534f0910607921ac0f4
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record