Back

CRITICAL

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

Published Apr 3, 2026

Description

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 products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (5)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner TuranSec
Published Apr 3, 2026
Updated Aug 10, 2026
Reserved Apr 3, 2026

CISA Vulnrichment

Updated Apr 3, 2026

NVD

Status Analyzed
Modified Jul 24, 2026

Red Hat

No data

ENISA EUVD

Assigner TuranSec
Published Apr 3, 2026
Updated Aug 10, 2026