All reports
Critical

pymetasploit3 vulnerable to command injection in console.run_module_with_output()

Affected versions

Version ranges need review.

Affected versions
<= 1.0.6
Fixed version
Not reported
Affected versions
<=1.0.6
Fixed version
Not reported

Exploitation

CVE-2026-5463

Probability of exploitation in the next 30 days: 2.20%

FIRST EPSS · 2026-11-20

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.

Links