patchminder
Weaponized · Metasploit CVE-2020-7350

Command injectionin Rapid7 Metasploit Framework.

Published 22 Apr 2020 · Updated 17 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Medium 6.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 5.0% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 5.0.85 or later
In plain words

Rapid7 Metasploit Framework versions before 5.0.85 suffers from an instance of CWE-78: OS Command Injection, wherein the libnotify plugin accepts untrusted user-supplied data via a remote computer's hostname or service name. An attacker can create a specially-crafted hostname or service name to be imported by Metasploit from a variety of sources and trigger a command injection on the operator's terminal. Note, only the Metasploit Framework and products that expose the plugin system is susceptible to this issue · notably, this does not include Rapid7 Metasploit Pro. Also note, this vulnerability cannot be triggered through a normal scan operation · the attacker would have to supply a file that is processed with the db_import command.

What to do now
  • Upgrade Metasploit Framework to 5.0.85 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Metasploit Framework
5.0.85 to before 5.0.85
5.0.85
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 21 Jan 2020
    CVE ID reserved by rapid7.
  2. 4 Mar 2020
    Metasploit module: Metasploit Libnotify Plugin Arbitrary Command Execution.
  3. 22 Apr 2020
    Published in the CVE List.
  4. 17 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Metasploit Framework vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-7350: Command injection in Rapid7 Metasploit Framework. https://patchminder.com/cve/cve-2020-7350/ (accessed 5 December 2026).