ADVISORIES

GitHub Advisory Database

GHSA-qpc3-8vqg-8g6w

pymetasploit3 vulnerable to command injection in console.run_module_with_output()

Critical No fix available CVE-2026-5463PYSEC-2026-500

Details

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 packages

EcosystemPackageAffected versions
PyPIpymetasploit3
All versions up to and including 1.0.6

References