Loading...
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.

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 (901 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: packagist (2).

PackageEcosystemAffectedFixed In
drupal/core
packagist
8.0.0, 8.0.0-beta10, 8.0.0-beta11, 8.0.0-beta12 (+72 more)8.4.8
drupal/core
packagist
All versions7.59
drupal/core
packagist
8.5.0, 8.5.0-alpha1, 8.5.0-beta1, 8.5.0-rc1 (+2 more)8.5.3
drupal/drupal
packagist
All versions7.59
drupal/drupal
packagist
8.0.0, 8.0.0-alpha14, 8.0.0-alpha15, 8.0.0-beta1 (+78 more)8.4.8
drupal/drupal
packagist
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. 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

Exploitation is straightforward and causes maximum impact. Patch immediately.

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 if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies