Paper/Archive/CVE-2026-5463

CVE-2026-5463

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

Description · from the CVE record

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

ProductAffectedFixed inSource
pymetasploit3≤ 1.0.6–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
TuranSec (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L
TuranSec (CNA)8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

writeupgithub.com/DanMcInerney/pymetasploit3writeuppypi.org/project/pymetasploit3