CVEBrief

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.

Exploited in the wild
Yes, CISA KEV
added April 13, 2022, due May 4, 2022, used in ransomware
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
Exploit odds (EPSS)
99.1% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
Drupalcorebefore 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?

EcosystemPackageAffectedFixed inAdvisory
Packagistdrupal/core>= 7.0, < 7.597.59GHSA-297x-j9pm-xjgg
Packagistdrupal/core>= 8.0, < 8.4.88.4.8GHSA-297x-j9pm-xjgg
Packagistdrupal/core>= 8.5, < 8.5.38.5.3GHSA-297x-j9pm-xjgg
Packagistdrupal/drupal>= 7.0, < 7.597.59GHSA-297x-j9pm-xjgg
Packagistdrupal/drupal>= 8.0, < 8.4.88.4.8GHSA-297x-j9pm-xjgg
Packagistdrupal/drupal>= 8.5, < 8.5.38.5.3GHSA-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?

VendorProductVersionsType
drupaldrupalfrom 7.0 before 7.59application
drupaldrupalfrom 8.4.0 before 8.4.8application
drupaldrupalfrom 8.5.0 before 8.5.3application
debiandebian linux7.0operating system
debiandebian linux8.0operating system
debiandebian linux9.0operating system

NVD analysis (status Analyzed), last modified October 2, 2026, 14:54 UTC.

How severe is CVE-2018-7602?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

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?

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?

Who found and reported it?

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?

Every CVE in core

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.