Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2026-5463

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Dan McInerney pymetasploit3

Default version status: unaffected

  • 0 to ≤ 1.0.6affected

References