CVE-2018-7602
Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 99.172% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: confirmed catalog inclusion. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.8 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T19:02:30.151Z
CVSS 3.1 · 8.1 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T19:02:30.151Z
CVSS 2.0 · 7.5 · published by [email protected]AV:N/AC:L/Au:N/C:P/I:P/A:P
Assessment source · checked 2026-11-19T19:02:30.151Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T19:02:30.151Z | NVD |
| epss | verified | 2026-11-19T19:06:01.783Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:16.369Z | OSV |
| affected | verified | 2026-11-19T19:04:19.772Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:19.772Z | CVE Program |
Affected versions and configuration
Drupal core; default status: unaffected: unspecified to < 7.59 [affected; scheme: custom]; unspecified to < 8.5.3 [affected; scheme: custom]; unspecified to < 8.4.8 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Drupal",
"product": "core",
"versions": [
{
"status": "affected",
"version": "unspecified",
"lessThan": "7.59",
"versionType": "custom"
},
{
"status": "affected",
"version": "unspecified",
"lessThan": "8.5.3",
"versionType": "custom"
},
{
"status": "affected",
"version": "unspecified",
"lessThan": "8.4.8",
"versionType": "custom"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://www.exploit-db.com/exploits/44557/",
"name": "44557",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "http://www.securitytracker.com/id/1040754",
"name": "1040754",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html",
"name": "[debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/44542/",
"name": "44542",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2018/dsa-4180",
"name": "DSA-4180",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "https://www.drupal.org/sa-core-2018-004",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/103985",
"name": "103985",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T06:31:04.989Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2018-7602",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "active"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-08-13T03:55:34.450184Z"
}
}
},
{
"other": {
"type": "kev",
"content": {
"dateAdded": "2022-04-13",
"reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602"
}
}
}
],
"references": [
{
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602",
"tags": [
"government-resource"
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-94",
"description": "CWE-94 Improper Control of Generation of Code ('Code Injection')"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-01T20:28:55.110Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "DRUPAL-CORE-2018-004",
"aliases": [
"CVE-2018-7602",
"GHSA-297x-j9pm-xjgg"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.4.8"
}
],
"database_specific": {
"constraint": ">= 8.0.0 <8.4.8"
}
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.5.0"
},
{
"fixed": "8.5.3"
}
],
"database_specific": {
"constraint": ">=8.5.0 <8.5.3"
}
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.0.0",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2",
"8.4.1",
"8.4.2",
"8.4.3",
"8.4.4",
"8.4.5",
"8.4.6",
"8.4.7",
"8.5.0",
"8.5.1",
"8.5.2"
],
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/core/DRUPAL-CORE-2018-004.json",
"affected_versions": ">=7.0 <7.59 || >= 8.0.0 <8.4.8 || >=8.5.0 <8.5.3"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.drupal.org/sa-core-2018-004",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-297x-j9pm-xjgg",
"aliases": [
"CVE-2018-7602",
"DRUPAL-CORE-2018-004"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.59"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-297x-j9pm-xjgg/GHSA-297x-j9pm-xjgg.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0"
},
{
"fixed": "8.4.8"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.0.0",
"8.0.0-beta10",
"8.0.0-beta11",
"8.0.0-beta12",
"8.0.0-beta13",
"8.0.0-beta14",
"8.0.0-beta15",
"8.0.0-beta16",
"8.0.0-beta6",
"8.0.0-beta7",
"8.0.0-beta8",
"8.0.0-beta9",
"8.0.0-rc1",
"8.0.0-rc2",
"8.0.0-rc3",
"8.0.0-rc4",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2",
"8.4.1",
"8.4.2",
"8.4.3",
"8.4.4",
"8.4.5",
"8.4.6",
"8.4.7"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-297x-j9pm-xjgg/GHSA-297x-j9pm-xjgg.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.5"
},
{
"fixed": "8.5.3"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.5.0",
"8.5.0-alpha1",
"8.5.0-beta1",
"8.5.0-rc1",
"8.5.1",
"8.5.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-297x-j9pm-xjgg/GHSA-297x-j9pm-xjgg.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7602",
"type": "ADVISORY"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml",
"type": "WEB"
},
{
"url": "https://github.com/drupal/core",
"type": "PACKAGE"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html",
"type": "WEB"
},
{
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2018/dsa-4180",
"type": "WEB"
},
{
"url": "https://www.drupal.org/sa-core-2018-004",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/exploits/44542",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/exploits/44557",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2018-07-19T17:29:00Z",
"github_reviewed_at": "2024-04-23T22:36:09Z"
}
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3074C5BC-7B3A-411D-8B83-BE17F984ADF0",
"versionEndExcluding": "7.59",
"versionStartIncluding": "7.0"
},
{
"criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F9FB5897-287C-4442-9A52-05285E9118F6",
"versionEndExcluding": "8.4.8",
"versionStartIncluding": "8.4.0"
},
{
"criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BC25B698-8D90-4E47-962D-D9A2D80049A6",
"versionEndExcluding": "8.5.3",
"versionStartIncluding": "8.5.0"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "16F59A04-14CF-49E2-9973-645477EA09DA"
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43"
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DEECE5FC-CACF-4496-A3E7-164736409252"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 8.4.8 | Official record |
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 8.5.3 | Official record |
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 7.59 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:04:19.772ZArchived source JSON
Source publication: 2018-07-19T17:00:00.000Z
Source modification: 2026-10-01T20:28:55.110ZDocument fingerprint
09922b7685f3cde9cf9469e8f9c7fbba023fb9aa2241501523285861a7cf71bf - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:16.369ZArchived source JSON
Source publication: 2018-04-25T16:13:58.000Z
Source modification: 2025-12-10T23:41:10.391ZDocument fingerprint
dc2ee21c8ebfbe0b2c6de58e35476f6ba3b751ccbf9bb7278035cd83be90832b - OSVConsulted: 2026-11-19T19:03:16.369ZArchived source JSON
Source publication: 2024-04-23T22:36:09.000Z
Source modification: 2025-12-10T23:41:10.391ZDocument fingerprint
dc2ee21c8ebfbe0b2c6de58e35476f6ba3b751ccbf9bb7278035cd83be90832b - FIRST EPSSConsulted: 2026-11-19T19:06:01.783ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c3572b0b625d548acf000907dca489df3ebb3e163f1921759c98f8a0db66e6fd - NVDConsulted: 2026-11-19T19:02:30.151ZArchived source JSON
Source publication: 2018-07-19T17:29:00.373Z
Source modification: 2026-10-02T14:54:58.763ZDocument fingerprint
6a51a192555669864b94f614ab0687d4ca3ac491e097c8bc714d251eae64566a
Official status history
- UNKNOWN → PUBLISHED · · evidence