CVE-2018-7602: Drupal Core Remote Code Execution Vulnerability
CVE-2018-7602 is a critical-severity flaw (CVSS 9.8) affecting drupal, debian linux, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.2% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-04, used in ransomware |
| Weakness | CWE-94 |
| Published | 2018-07-19 |
| Last modified | 2026-10-02 |
Last updated 2026-10-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: 1337g/Drupalgedon3 (6 stars)
- GitHub PoC: kastellanos/CVE-2018-7602 (1 stars)
- GitHub PoC: cyberharsh/DrupalCVE-2018-7602 (1 stars)
- Write-up: www.exploit-db.com/exploits/44542/
- Write-up: www.exploit-db.com/exploits/44557/
- Exploit-DB: Drupal < 7.58 - 'Drupalgeddon3' Authenticated Remote Code (Metasploit)
- Exploit-DB: Drupal < 7.58 - 'Drupalgeddon3' Authenticated Remote Code Execution (RCE) (PoC)
- Nuclei scan template: Drupal - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-7602?
drupal: upgrade to 7.59, 8.4.8, 8.5.3; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-7602 being exploited?
Yes. CVE-2018-7602 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-7602 affect?
CVE-2018-7602 affects drupal, debian linux. Severity is critical (CVSS 9.8). 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 vul
How urgent is CVE-2018-7602?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Drupal vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2020-11022 MEDIUM 6.9 UPGRADE UPGRADE In jQuery starting with 1.12.0 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing i
- CVE-2026-55806 MEDIUM 5.9 UPGRADE URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Drupal Drupal core allows Content Spoofin
- CVE-2026-55803 MEDIUM 5.9 UPGRADE Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Drupal
- CVE-2026-55804 MEDIUM 5.9 UPGRADE Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Drupal
- CVE-2026-55808 MEDIUM 5.4 UPGRADE Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal D