Skip to main content
VulnerabilityPublished Updated

CVE-2026-5463: Dan McInerney pymetasploit3 · Command Injection

Affects Dan McInerney pymetasploit3Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.3 Critical : upgrade to 1.0.7 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.1% chance of exploitation in 30 days – higher than 81% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.7
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade Dan McInerney pymetasploit3 to 1.0.7.

Affected software

ProductAffectedFixed in
Dan McInerneypymetasploit3Affected
  • <=1.0.6
Fixed in–
PyPIpymetasploit3pkg:pypi/pymetasploit3Other threatsAffected
  • <1.0.7
Fixed in
  • 1.0.7
PyPIpymetasploit3pkg:pypi/pymetasploit3Other threatsAffected
  • <=1.0.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using untrusted input in module options such as RHOSTS when invoking console.run_module_with_output().

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.

References

Community reviews

Loading reviews…