CVE-2026-5463

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:danmcinerney:pymetasploit3:*:*:*:*:*:*:*:*

History

02 Jun 2026, 17:45

Type Values Removed Values Added
References () https://github.com/DanMcInerney/pymetasploit3 - () https://github.com/DanMcInerney/pymetasploit3 - Product
References () https://pypi.org/project/pymetasploit3/ - () https://pypi.org/project/pymetasploit3/ - Product
CPE cpe:2.3:a:danmcinerney:pymetasploit3:*:*:*:*:*:*:*:*
First Time Danmcinerney
Danmcinerney pymetasploit3

03 Apr 2026, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-03 05:16

Updated : 2026-06-02 17:45


NVD link : CVE-2026-5463

Mitre link : CVE-2026-5463

CVE.ORG link : CVE-2026-5463


JSON object : View

Products Affected

danmcinerney

  • pymetasploit3
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')