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

24 Jul 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de inyección de comandos en console.run_module_with_output() en pymetasploit3 hasta la versión 1.0.6 permite a los atacantes inyectar caracteres de nueva línea en opciones de módulo como RHOSTS. Esto rompe la estructura de comandos prevista y hace que la consola de Metasploit ejecute comandos adicionales no deseados, lo que podría llevar a la ejecución arbitraria de comandos y a la manipulación de sesiones de Metasploit.

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-07-24 20:10


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')