CVE-2026-5463

GHSA-qpc3-8vqg-8g6w · published 3 Apr 2026 · updated 16 Nov 2026

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

8.6HighCVSS 8.6EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Dan McInerney<=1.0.6
pypi: pymetasploit3<=1.0.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5463 severity on Zeptric[![CVE-2026-5463](https://zeptric.io/badge/cve/CVE-2026-5463.svg)](https://zeptric.io/cve/CVE-2026-5463)