patchminder
No public exploit found CVE-2020-7385

Remote code executionin Rapid7 Metasploit Framework.

Published 23 Apr 2021 · Updated 17 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 8.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. 1.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.19.0 or later
In plain words

By launching the drb_remote_codeexec exploit, a Metasploit Framework user will inadvertently expose Metasploit to the same deserialization issue that is exploited by that module, due to the reliance on the vulnerable Distributed Ruby class functions. Since Metasploit Framework typically runs with elevated privileges, this can lead to a system compromise on the Metasploit workstation. Note that an attacker would have to lie in wait and entice the Metasploit user to run the affected module against a malicious endpoint in a "hack-back" type of attack. Metasploit is only vulnerable when the drb_remote_codeexec module is running. In most cases, this cannot happen automatically.

What to do now
  • Upgrade metasploit-framework (RubyGems) to 4.19.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Metasploit Framework
6.0.15 to 6.0.15
Not confirmed
CVE record
metasploit-framework (RubyGems)
before 4.19.0
4.19.0
GitHub advisory

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. 23 Apr 2021
    Published in the CVE List.
  3. 17 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
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: Deserialization of untrusted data

All CWE-502 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-7385: Remote code execution in Rapid7 Metasploit Framework. https://patchminder.com/cve/cve-2020-7385/ (accessed 5 December 2026).