Read the docs
TI-2026-04784 Aliases CVE-2026-5463GHSA-qpc3-8vqg-8g6w

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

Priority MEDIUM 50CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · High · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02152 82nd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Dan McInerneypymetasploit3up to 1.0.6—No fix listedCNA
—pymetasploit3 (PyPI)up to 1.0.6—No fix listedGHSA-qpc3-8vqg-8g6w
  • pymetasploit3 VendorDan McInerney Affected up to 1.0.6 Fixed in — No fix listed CNA
  • pymetasploit3 (PyPI) Vendor— Affected up to 1.0.6 Fixed in — No fix listed GHSA-qpc3-8vqg-8g6w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:danmcinerney:pymetasploit3:*:*:*:*:*:*:*:*up to 1.0.6VulnerableDan McInerney
  • cpe:2.3:a:danmcinerney:pymetasploit3:*:*:*:*:*:*:*:* Versions up to 1.0.6 Vulnerable ·Dan McInerney

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-5463
  2. 2026-10-03 Alias added: GHSA-qpc3-8vqg-8g6w

References

Sources