Remote code executionin Drupal Core.
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.
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.
- 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.
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
- 1 Mar 2018CVE ID reserved by drupal.
- 27 Apr 2018First public proof of concept on GitHub.
- 19 Jul 2018Published in the CVE List.
- 13 Apr 2022Added to CISA's Known Exploited Vulnerabilities list.
- 13 Apr 2022CISA lists known use in ransomware campaigns.
- 1 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
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 Core vulnerabilities
Same weakness: Code injection
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- lists.debian.org mailing-list, x_refsource_MLIST
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.drupal.org x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.cisa.gov government-resource
Patchminder. CVE-2018-7602: Remote code execution in Drupal Core. https://patchminder.com/cve/cve-2018-7602/ (accessed 5 December 2026).