Command injectionin Rapid7 Metasploit Framework.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade Metasploit Framework to 5.0.85 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 21 Jan 2020CVE ID reserved by rapid7.
- 4 Mar 2020Metasploit module: Metasploit Libnotify Plugin Arbitrary Command Execution.
- 22 Apr 2020Published in the CVE List.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
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.
Report a link
Other Metasploit Framework vulnerabilities
Same weakness: OS command injection
- github.com x_refsource_CONFIRM
Patchminder. CVE-2020-7350: Command injection in Rapid7 Metasploit Framework. https://patchminder.com/cve/cve-2020-7350/ (accessed 5 December 2026).