CVE-2026-5463 Details
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.
A command injection vulnerability exists in the Pymetasploit3 library, specifically in the 'console.run_module_with_output()' function, in versions through 1.0.6. This vulnerability allows attackers to inject newline characters into module options like RHOSTS, disrupting the intended command structure. As a result, the Metasploit console may execute unintended additional commands, potentially leading to arbitrary command execution and manipulation of Metasploit sessions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/DanMcInerney/pymetasploit3 | TuranSec | Product |
| https://pypi.org/project/pymetasploit3/ | TuranSec | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| danmcinerney pymetasploit3 | <= 1.0.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | TuranSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 2, 2026 | Initial Analysis | [email protected] |
| Apr 3, 2026 | New CVE Received | TuranSec |