Home / Drupal / core / CVE-2018-7602
CVE-2018-7602: is it exploited, and which versions of Drupal core are affected and fixed?
CVE-2018-7602 is a code injection (remote code execution) vulnerability in Drupal core, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on April 13, 2022, with a federal due date of May 4, 2022. Affected: drupal/core from 7.0 before 7.59, drupal/core from 8.0 before 8.4.8, drupal/core from 8.5 before 8.5.3 and 3 more (GitHub advisory GHSA-297x-j9pm-xjgg). Fixed in 7.59, 8.4.8 and 8.5.3 (GitHub advisory GHSA-297x-j9pm-xjgg). Severity: High (8.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 28, 2026, 16:16 UTC and NVD November 19, 2026, 08:30 UTC.
What is CVE-2018-7602?
Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
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.
From the CVE record by drupal, last updated October 1, 2026, 20:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Drupal | core | before 7.59 before 8.5.3 before 8.4.8 | 7.59, 8.5.3, 8.4.8 |
As the CVE record by drupal states it, last updated October 1, 2026. 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 |
|---|---|---|---|---|
| Packagist | drupal/core | >= 7.0, < 7.59 | 7.59 | GHSA-297x-j9pm-xjgg |
| Packagist | drupal/core | >= 8.0, < 8.4.8 | 8.4.8 | GHSA-297x-j9pm-xjgg |
| Packagist | drupal/core | >= 8.5, < 8.5.3 | 8.5.3 | GHSA-297x-j9pm-xjgg |
| Packagist | drupal/drupal | >= 7.0, < 7.59 | 7.59 | GHSA-297x-j9pm-xjgg |
| Packagist | drupal/drupal | >= 8.0, < 8.4.8 | 8.4.8 | GHSA-297x-j9pm-xjgg |
| Packagist | drupal/drupal | >= 8.5, < 8.5.3 | 8.5.3 | GHSA-297x-j9pm-xjgg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Drupal Core Remote Code Execution Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| drupal | drupal | from 7.0 before 7.59 | application |
| drupal | drupal | from 8.4.0 before 8.4.8 | application |
| drupal | drupal | from 8.5.0 before 8.5.3 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
NVD analysis (status Analyzed), last modified October 2, 2026, 14:54 UTC.
How severe is CVE-2018-7602?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/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-2018-7602 exploited in the wild?
- CISA KEV
- Listed as Drupal Core Remote Code Execution Vulnerability, added April 13, 2022; federal agencies must act by May 4, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, August 13, 2026)
- EPSS
- 99.1% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
How do I fix it? (from the CVE record)
Solution: Upgrade to the most recent version of Drupal 7 or 8 core. If you are running 7.x, upgrade to Drupal 7.59. If you are running 8.5.x, upgrade to Drupal 8.5.3. If you are running 8.4.x, upgrade to Drupal 8.4.8. (Drupal 8.4.x is no longer supported and we don't normally provide security releases for unsupported minor releases. However, we are providing this 8.4.x release so that sites can update as quickly as possible. You should update to 8.4.8 immediately, then update to 8.5.3 or the latest secure release as soon as possible.) If you are unable to update immediately, or if you are running a Drupal distribution that does not yet include this security release, you can attempt to apply the patch below to fix the vulnerability until you are able to update completely: Patch for Drupal 8.x (8.5.x and below) Patch for Drupal 7.x These patches will only work if your site already has the fix from SA-CORE-2018-002 applied. (If your site does not have that fix, it may already be compromised.)
Where are the vendor advisories and references?
- 44557 exploit, x_refsource_EXPLOIT-DB
- 1040754 vdb-entry, x_refsource_SECTRACK
- [debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update mailing-list, x_refsource_MLIST
- 44542 exploit, x_refsource_EXPLOIT-DB
- DSA-4180 vendor-advisory, x_refsource_DEBIAN
- https://www.drupal.org/sa-core-2018-004 x_refsource_CONFIRM
- 103985 vdb-entry, x_refsource_BID
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602 government-resource
Who found and reported it?
- David Rothstein (finder)
- Alex Pott (finder)
- Heine Deelstra (finder)
- Jasper Mattsson (finder)
- David Rothstein (remediation developer)
- xjm (remediation developer)
- Samuel Mortenson (remediation developer)
- Alex Pott (remediation developer)
- Lee Rowlands (remediation developer)
- Heine Deelstra (remediation developer)
- Pere Orga (remediation developer)
- Peter Wolanin (remediation developer)
- Tim Plunkett (remediation developer)
- Michael Hess (remediation developer)
- Nate Lampton (remediation developer)
- Jasper Mattsson (remediation developer)
- Neil Drumm (remediation developer)
- Cash Williams (remediation developer)
- Daniel Wehner (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 1, 2018
- Published
- July 19, 2018, 17:00 UTC
- CVE record updated
- October 1, 2026, 20:28 UTC by drupal
- NVD
- Analyzed, last modified October 2, 2026, 14:54 UTC
- Last checked
- CVE list November 28, 2026, 16:16 UTC; NVD November 19, 2026, 08:30 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect core?
- Sep 28, 2023CVE-2023-5256 Drupal Core: information disclosure
- Apr 26, 2023CVE-2023-31250 Drupal Core: incorrect authorization
- Apr 26, 2023CVE-2022-25278 Drupal Core: Access Bypass
- Apr 26, 2023CVE-2022-25277 Drupal Core: unrestricted file upload
- Apr 26, 2023CVE-2022-25276 Drupal Core: cross-site scripting (XSS)
- Apr 26, 2023CVE-2022-25275 Drupal Core: Information Disclosure
- Apr 26, 2023CVE-2022-25274 Drupal Core: incorrect authorization
- Apr 26, 2023CVE-2022-25273 Drupal Core: improper input validation
Questions about CVE-2018-7602
Is CVE-2018-7602 exploited in the wild?
Yes. CISA added CVE-2018-7602 to its Known Exploited Vulnerabilities catalog on April 13, 2022 and set federal agencies a due date of May 4, 2022. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 99.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Drupal core are affected by CVE-2018-7602?
drupal/core from 7.0 before 7.59, drupal/core from 8.0 before 8.4.8, drupal/core from 8.5 before 8.5.3, drupal/drupal from 7.0 before 7.59, drupal/drupal from 8.0 before 8.4.8 and drupal/drupal from 8.5 before 8.5.3, per the GitHub advisory GHSA-297x-j9pm-xjgg. The tables above give every range the sources list.
Which version fixes CVE-2018-7602?
7.59, 8.4.8 and 8.5.3, per the GitHub advisory GHSA-297x-j9pm-xjgg. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-7602?
High (8.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2018-7602?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.