CVE-2018-7602Drupal Core
Remote Code Execution without Authentication in Drupal Core
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Drupal · Drupal Core We alert you by email or Slack (account required).
- Priority
- 99
- CVSS 3.1
- 9.8
- EPSS
- 99.1% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Apr 13, 2022
- CISA deadline
- May 4, 2022
- Ransomware use
- Confirmed
- Published
- Jul 19, 2018
- Updated
- Oct 2, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A remote code execution vulnerability affects Drupal 7.x and 8.x through multiple subsystems. An unauthenticated remote attacker can exploit multiple attack vectors to fully compromise the site. CISA confirmed this vulnerability is actively exploited in the wild.
Show the original NVD text
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.
Exploitation confirmed by CISA
A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 7.59, 8.4.8, 8.5.3
Update Drupal Core to version 7.59, 8.4.8, or 8.5.3 as applicable. Refer to the official Drupal security advisory for detailed instructions.
- Apply the vendor's security update for Core.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 4, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.4.8 |
8.4.8 |
composer require "drupal/core:^8.4.8" |
| Packagist | drupal/core |
≥ 8.5.0 < 8.5.3 |
8.5.3 |
composer require "drupal/core:^8.5.3" |
| Packagist | drupal/core |
≥ 7.0 < 7.59 |
7.59 |
composer require "drupal/core:^7.59" |
| Packagist | drupal/core |
≥ 8.0 < 8.4.8 |
8.4.8 |
composer require "drupal/core:^8.4.8" |
| Packagist | drupal/core |
≥ 8.5 < 8.5.3 |
8.5.3 |
composer require "drupal/core:^8.5.3" |
| Packagist | drupal/drupal |
≥ 7.0 < 7.59 |
7.59 |
composer require "drupal/drupal:^7.59" |
| Packagist | drupal/drupal |
≥ 8.0 < 8.4.8 |
8.4.8 |
composer require "drupal/drupal:^8.4.8" |
| Packagist | drupal/drupal |
≥ 8.5 < 8.5.3 |
8.5.3 |
composer require "drupal/drupal:^8.5.3" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2018-004, GHSA-297x-j9pm-xjgg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 7.0 < 7.59 |
| drupal | drupal | ≥ 8.4.0 < 8.4.8 |
| drupal | drupal | ≥ 8.5.0 < 8.5.3 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- lists.debian.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.drupal.org Patch Vendor Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.cisa.gov US Government Resource