Home / Rapid7 / Metasploit Framework / CVE-2020-7385
CVE-2020-7385: is it exploited, and which versions of Rapid7 Metasploit Framework are affected and fixed?
CVE-2020-7385 is a deserialization of untrusted data vulnerability in Rapid7 Metasploit Framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: metasploit-framework before 4.19.0 (GitHub advisory GHSA-xgww-h98f-24qf). Fixed in 4.19.0 (GitHub advisory GHSA-xgww-h98f-24qf). Severity: High (8.1, CVSS 3.1, from rapid7).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2020-7385?
Metasploit Framework 'drb_remote_codeexec' code execution
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.
From the CVE record by rapid7, last updated September 17, 2024, 01:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Rapid7 | Metasploit Framework | from 6.0.15 through 6.0.15 |
As the CVE record by rapid7 states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | metasploit-framework | < 4.19.0 | 4.19.0 | GHSA-xgww-h98f-24qf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 5, 2023. Summary: Metasploit Framework user exposes Metasploit to same deserialization issue that is exploited by that module.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rapid7 | metasploit | before 4.19.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:24 UTC.
How severe is CVE-2020-7385?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | rapid7 |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-7385 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.75% probability of exploitation activity in the next 30 days, percentile 78.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
How do I fix it? (from the CVE record)
Do not run the drb_remote_codeexec module. After commit 659137da94fa2fe56ce5c44d611db3692bf7d2e5, the Metasploit Framework no longer ships with the affected module.
Where are the vendor advisories and references?
- https://github.com/rapid7/metasploit-framework/pull/14300 x_refsource_MISC
- https://help.rapid7.com/metasploit/release-notes/archive/2020/10/ x_refsource_MISC
- https://github.com/rapid7/metasploit-framework/pull/14335 x_refsource_CONFIRM
Who found and reported it?
- This issue was discovered by Jeff Dileo of NCC Group, and reported to Rapid7 via Rapid7's coordinated vulnerability disclosure process, detailed here: https://www.rapid7.com/.well-known/security.txt (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 21, 2020
- Published
- April 23, 2021, 15:35 UTC
- CVE record updated
- September 17, 2024, 01:30 UTC by rapid7
- NVD
- Modified, last modified June 17, 2026, 03:24 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Metasploit Framework?
- Nov 25, 2026CVE-2026-130336 Rapid7 Metasploit Framework: code injection through eval
- Nov 24, 2026CVE-2026-135908 Rapid7 Metasploit Framework: denial of service through slow algorithm
- Nov 18, 2026CVE-2026-132038 Rapid7 Metasploit Framework: improper access control
- Nov 5, 2026CVE-2026-121139 Rapid7 Metasploit Framework: missing authentication for a critical function
- Oct 20, 2026CVE-2026-109682 Rapid7 Metasploit Framework: server-side request forgery (SSRF)
- Oct 20, 2026CVE-2026-109681 Rapid7 Metasploit Framework: server-side request forgery (SSRF)
- Oct 13, 2026CVE-2026-87689 Rapid7 Metasploit Framework: missing authentication for a critical function
- Oct 12, 2026CVE-2026-87690 Rapid7 Metasploit Framework: path traversal (reading or writing files outside the intended folder)
Every CVE in Metasploit Framework
Questions about CVE-2020-7385
Is CVE-2020-7385 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rapid7 Metasploit Framework are affected by CVE-2020-7385?
metasploit-framework before 4.19.0, per the GitHub advisory GHSA-xgww-h98f-24qf. The tables above give every range the sources list.
Which version fixes CVE-2020-7385?
4.19.0, per the GitHub advisory GHSA-xgww-h98f-24qf. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-7385?
High (8.1, CVSS 3.1, from rapid7). The severity table above shows each score with its source.
Where is the official record of CVE-2020-7385?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.