CVE-2026-5463
Analyzed
Analyzed - Analysis Complete
Command Injection in pymetasploit3 Console Module Enables Arbitrary Execution
Publication date: 2026-04-03
Last updated on: 2026-06-02
Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| danmcinerney | pymetasploit3 | to 1.0.6 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-77 | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |