Skip to content

CVE-2026-5463 pymetasploit3 - Command Injection via Newline Injection in console.run_module_with_output()

CriticalCVSS 9.3 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
pypi pymetasploit3(PyPI) <= 1.0.6 No fix listed
pypi pymetasploit3(PyPI) = 1.0 No fix listed
pypi pymetasploit3(PyPI) = 1.0.1 No fix listed
pypi pymetasploit3(PyPI) = 1.0.2 No fix listed
pypi pymetasploit3(PyPI) = 1.0.3 No fix listed
pypi pymetasploit3(PyPI) = 1.0.4 No fix listed
pypi pymetasploit3(PyPI) = 1.0.5 No fix listed
pypi pymetasploit3(PyPI) = 1.0.6 No fix listed
danmcinerney pymetasploit3 <= 1.0.6 No fix listed

References