---
title: "CVE-2018-7602: Drupal Core Remote Code Execution Vulnerability"
url: https://erroneo.us/security/cve/CVE-2018-7602/
description: "CVE-2018-7602 (drupal/core (Composer (PHP))): A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This…"
type: vulnerability-record
section: "Security Digest"
date_published: 2018-07-19
date_modified: 2026-10-01
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2018-7602"
kev: false
cvss: 8.1
epss: 0.99172
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2018-7602: Drupal Core Remote Code Execution Vulnerability

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV yet , but CISA’s SSVC assessment records active exploitation. Treat it as exploited.
- EPSS 99.2% , percentile 99.9: FIRST’s model estimates a 99.2% chance of exploitation activity in the next 30 days, higher than 99.9% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes drupal/core (Composer (PHP)) >= 7.0, < 7.59, fixed in 7.59 ; drupal/core (Composer (PHP)) >= 8.0, < 8.4.8, fixed in 8.4.8 ; drupal/core (Composer (PHP)) >= 8.5, < 8.5.3, fixed in 8.5.3 ; drupal/drupal (Composer (PHP)) >= 7.0, < 7.59, fixed in 7.59 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Composer (PHP) `drupal/core` >= 7.0, < 7.59 → fixed: 7.59
- Composer (PHP) `drupal/core` >= 8.0, < 8.4.8 → fixed: 8.4.8
- Composer (PHP) `drupal/core` >= 8.5, < 8.5.3 → fixed: 8.5.3
- Composer (PHP) `drupal/drupal` >= 7.0, < 7.59 → fixed: 7.59
- Composer (PHP) `drupal/drupal` >= 8.0, < 8.4.8 → fixed: 8.4.8
- Composer (PHP) `drupal/drupal` >= 8.5, < 8.5.3 → fixed: 8.5.3

## Affected products (CVE record)

- Drupal core: unspecified < 7.59, unspecified < 8.5.3, unspecified < 8.4.8

## Severity

- CISA-ADP CVSS 3.1: 8.1 `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation active , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 99.17% probability of exploitation activity in the next 30 days; percentile 99.9.

## Sources

- [DSA-4180](https://www.debian.org/security/2018/dsa-4180)
- [GitHub Advisory GHSA-297x-j9pm-xjgg](https://github.com/advisories/GHSA-297x-j9pm-xjgg)
- [CVE.org record CVE-2018-7602](https://www.cve.org/CVERecord?id=CVE-2018-7602)
- [NVD entry CVE-2018-7602](https://nvd.nist.gov/vuln/detail/CVE-2018-7602)
- [44557](https://www.exploit-db.com/exploits/44557/)
- [1040754](http://www.securitytracker.com/id/1040754)
- [[debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update](https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html)
- [44542](https://www.exploit-db.com/exploits/44542/)
- [drupal.org](https://www.drupal.org/sa-core-2018-004)
- [103985](http://www.securityfocus.com/bid/103985)
- [cisa.gov](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602)
- [github.com](https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml)
- [github.com](https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml)

---
Source page: https://erroneo.us/security/cve/CVE-2018-7602/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
