Vulnerabilities in pkg:pypi/pymetasploit3
PACKAGECVE-2026-5463 is a CRITICAL (CVSS 8.6) pymetasploit3 vulnerable to command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Pymetasploit3 libraries in the PyPI ecosystem. The issue involves pymetasploit3 vulnerable to command injection in console.run_module_with_output(). Remediation is available in the latest vendor maintenance releases.
pkg:pypi/pymetasploit3
Vulnerability advisories affecting package pkg:pypi/pymetasploit3. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qpc3-8vqg-8g6w | CVE-2026-5463 | CRITICAL | pymetasploit3 vulnerable to command injection in console.run_module_with_output() |
CVE-2026-5463 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L).
How to Fix CVE-2026-5463
To remediate this vulnerability, upgrade all affected Pymetasploit3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pymetasploit3>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pymetasploit3
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-5463, inspect your installed packages using pip:
pip show pymetasploit3
Analyze the terminal output to locate any version of Pymetasploit3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show pymetasploit3 command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where 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. In Pymetasploit3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-5463 Affected Pymetasploit3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pymetasploit3
|
PyPI |
≤ 1.0.6
|
|
References
Frequently Asked Questions
What is CVE-2026-5463?
Which Pymetasploit3 versions are affected?
What version fixes CVE-2026-5463?
Is pymetasploit3 affected?
What is the CVSS score of CVE-2026-5463?
What CWE is associated with CVE-2026-5463?
How can I check PyPI dependencies for CVE-2026-5463?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qpc3-8vqg-8g6w",
"modified" : "2026-06-09T10:57:06Z",
"published" : "2026-04-03T06:31:33Z",
"aliases" : [ "CVE-2026-5463" ],
"summary" : "pymetasploit3 vulnerable to command injection in console.run_module_with_output()",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pymetasploit3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5463"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/DanMcInerney/pymetasploit3"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/pymetasploit3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-06T23:07:57Z",
"nvd_published_at" : "2026-04-03T05:16:24Z"
}
}