Skip to main content

CVE-2018-7602 — Vulnerability in drupal/core — CVE Details

CRITICAL
Actively Exploited

Drupal Core Remote Code Execution Vulnerability

Published April 23, 2024Updated December 10, 2025Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected drupal/core version?

Paste your composer.lock to check it for CVE-2018-7602 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

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.

Advisory Timeline

  • First published April 23, 2024 (947 days ago).
  • Last revised December 10, 2025 — 596 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 742 days before publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update drupal/core to 8.4.8 or later
composer require "drupal/core:^8.4.8"
Composer
Update drupal/core to 7.59 or later
composer require "drupal/core:^7.59"
Composer
Update drupal/core to 8.5.3 or later
composer require "drupal/core:^8.5.3"
Composer
Update drupal/drupal to 7.59 or later
composer require "drupal/drupal:^7.59"
Composer
Update drupal/drupal to 8.4.8 or later
composer require "drupal/drupal:^8.4.8"
Composer
Update drupal/drupal to 8.5.3 or later
composer require "drupal/drupal:^8.5.3"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Packagist (2).

PackageFixed In
drupal/core Packagist · Affected: 8.0.0, 8.0.0-beta10, 8.0.0-beta11, 8.0.0-beta12 (+72 more)8.4.8
drupal/core Packagist · Affected: All versions7.59
drupal/core Packagist · Affected: 8.5.0, 8.5.0-alpha1, 8.5.0-beta1, 8.5.0-rc1 (+2 more)8.5.3
drupal/drupal Packagist · Affected: All versions7.59
drupal/drupal Packagist · Affected: 8.0.0, 8.0.0-alpha14, 8.0.0-alpha15, 8.0.0-beta1 (+78 more)8.4.8
drupal/drupal Packagist · Affected: 8.5.0, 8.5.0-alpha1, 8.5.0-beta1, 8.5.0-rc1 (+2 more)8.5.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H

Frequently Asked Questions

What is CVE-2018-7602?
Drupal Core Remote Code Execution Vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2018-7602?
CVE-2018-7602 affects drupal/core and drupal/drupal. It has a 99.1% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-7602 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
99.14%
EPSS percentile: 100

This places it in the top 5% of EPSS-scored vulnerabilities — 100% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: April 13, 2022

Remediation deadline: May 4, 2022

Also Known As

GHSA-297x-j9pm-xjgg
DRUPAL-CORE-2018-004

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock