Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pymetasploit3
  4. ›
  5. CVE-2026-5463

CVE-2026-5463: pymetasploit3 vulnerable to command injection in console.run_module_with_output()

April 3, 2026 (updated April 6, 2026)

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.

References

  • github.com/DanMcInerney/pymetasploit3
  • github.com/advisories/GHSA-qpc3-8vqg-8g6w
  • nvd.nist.gov/vuln/detail/CVE-2026-5463
  • pypi.org/project/pymetasploit3

Code Behaviors & Features

Detect and mitigate CVE-2026-5463 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.0.6

Solution

Unfortunately, there is no solution available yet.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

pypi/pymetasploit3/CVE-2026-5463.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:11 +0000.