patchminder
Exploited in the wild · CISA KEV Used by ransomware CVE-2018-7602

Remote code executionin Drupal Core.

Published 19 Jul 2018 · Updated 1 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 13 Apr 2022. Ransomware groups use it too.

On CISA's listKnown ransomware useAttack code is public
Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 99.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 7.59, 8.4.8, 8.5.3
In plain words

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being compromised. This vulnerability is related to Drupal core · Highly critical · Remote Code Execution · SA-CORE-2018-002. Both SA-CORE-2018-002 and this vulnerability are being exploited in the wild.

What to do now
  • Upgrade core to 7.59, 8.4.8, 8.5.3 or later, whichever matches your release line.
  • Upgrade drupal/core (Packagist) to 7.59, 8.4.8, 8.5.3 or later, whichever matches your release line.
  • Upgrade drupal/drupal (Packagist) to 7.59, 8.4.8, 8.5.3 or later, whichever matches your release line.
  • CISA requires US federal agencies to fix it by 4 May 2022.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
core
before 7.59
7.59
CVE record
core
before 8.5.3
8.5.3
CVE record
core
before 8.4.8
8.4.8
CVE record
drupal/core (Packagist)
7.0 to before 7.59
7.59
GitHub advisory
drupal/core (Packagist)
8.0 to before 8.4.8
8.4.8
GitHub advisory
drupal/core (Packagist)
8.5 to before 8.5.3
8.5.3
GitHub advisory
drupal/drupal (Packagist)
7.0 to before 7.59
7.59
GitHub advisory
drupal/drupal (Packagist)
8.0 to before 8.4.8
8.4.8
GitHub advisory
drupal/drupal (Packagist)
8.5 to before 8.5.3
8.5.3
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. 1 Mar 2018
    CVE ID reserved by drupal.
  2. 27 Apr 2018
    First public proof of concept on GitHub.
  3. 19 Jul 2018
    Published in the CVE List.
  4. 13 Apr 2022
    Added to CISA's Known Exploited Vulnerabilities list.
  5. 13 Apr 2022
    CISA lists known use in ransomware campaigns.
  6. 1 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
3 entries
GitHub proof of concepts
6 repositories
NucleiDrupal · Remote Code Executiondetection template
Exploit-DBEDB-ID 44557web application exploit for php, published 30 Apr 2018, verified by Exploit-DB
Exploit-DBEDB-ID 44557web application exploit for php, published 30 Apr 2018, verified by Exploit-DB
Exploit-DBEDB-ID 44542web application exploit for php, published 25 Apr 2018, verified by Exploit-DB
GitHubno warning signs found1337g/Drupalgedon36 stars · created 27 Apr 2018POC to test/exploit drupal vulnerability SA-CORE-2018-004 / CVE-2018-7602
GitHubno warning signs foundkastellanos/CVE-2018-76021 stars · created 29 Oct 2018
GitHubno warning signs foundcyberharsh/DrupalCVE-2018-76021 stars · created 25 Jun 2020
GitHubno warning signs foundd4ytox/CVE-2018-76021 stars · created 10 Nov 2026Drupalgeddon 3: authenticated RCE in Drupal 7 < 7.59 via the destination parameter on any confirm form. User-cancel and node-delete vectors, credentials or a pasted session cookie, and a per-step trac
GitHubno warning signs foundhappynote3966/CVE-2018-76020 stars · created 12 Jul 2018
GitHubno warning signs found132231g/CVE-2018-76020 stars · created 18 Feb 2024
Referencewww.exploit-db.comnamed as exploit in the CVE record
Referencewww.exploit-db.comnamed as exploit in the CVE record

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 Core vulnerabilities

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-7602: Remote code execution in Drupal Core. https://patchminder.com/cve/cve-2018-7602/ (accessed 5 December 2026).