CVE-2018-7602 — Vulnerability in drupal/core — CVE Details
Drupal Core Remote Code Execution Vulnerability
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Summary
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 require "drupal/core:^8.4.8"
composer require "drupal/core:^7.59"
composer require "drupal/core:^8.5.3"
composer require "drupal/drupal:^7.59"
composer require "drupal/drupal:^8.4.8"
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).
| Package | Ecosystem | Affected | Fixed 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 versions | 7.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 versions | 7.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.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-7602ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yamlWEB
- https://github.com/drupal/corePACKAGE
- https://lists.debian.org/debian-lts-announce/2018/04/msg00030.htmlWEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602WEB
- https://www.debian.org/security/2018/dsa-4180WEB
- https://www.drupal.org/sa-core-2018-004WEB
- https://www.exploit-db.com/exploits/44542WEB
- https://www.exploit-db.com/exploits/44557WEB
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
Exploitation is straightforward and causes maximum impact. Patch immediately.
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
Related CVEs
- CVE-2018-7600CRITICAL
Drupal Core Remote Code Execution Vulnerability
- CVE-2019-6339CRITICAL
Arbitrary PHP code execution in Drupal
- CVE-2017-6920CRITICAL
Drupal PECL YAML parser unsafe object handling
- CVE-2017-6925CRITICAL
Drupal Entity access bypass for entities that do not have UUIDs or have protected revisions
- CVE-2020-13671HIGH
Drupal core Unrestricted Upload of File with Dangerous Type
- CVE-2024-55638HIGH
Drupal core contains a potential PHP Object Injection vulnerability
- CVE-2020-13663HIGH
Drupal Core Cross-Site Request Forgery (CSRF) vulnerability
- CVE-2024-55636LOW
Drupal core contains a potential PHP Object Injection vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies