Skip to main content
← All vulnerabilities
CVE-2026-5463PYSEC-2026-500GHSA-QPC3-8VQG-8G6W

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • pymetasploit3

    through 1.0.6

  • pymetasploit3PyPI

    through 1.0.6

References 2

GitHub · DanMcInerney/pymetasploit3

pypi.org