November 13, 2026 Follow Egret
CVE-2018-7602 · CVE record: PUBLISHED

Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004

Drupal core

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 evidence

Known exploited · CISA KEV listed

Added 2022-04-13. Ransomware campaign use: Known.

CISA required action: Apply updates per vendor instructions.

CISA due date: 2022-05-04. This is the catalog’s deadline, not an assessment of your organization’s exposure.

KEV checked 13 Nov 2026, 00:20 Jerusalem · Original catalog ↗

Reported products and versions

Drupal / core

Default status: unaffected

  • affected: unspecified to < 7.59 (custom)
  • affected: unspecified to < 8.5.3 (custom)
  • affected: unspecified to < 8.4.8 (custom)

Fixes and workarounds

Solution: Upgrade to the most recent version of Drupal 7 or 8 core. If you are running 7.x, upgrade to Drupal 7.59. If you are running 8.5.x, upgrade to Drupal 8.5.3. If you are running 8.4.x, upgrade to Drupal 8.4.8. (Drupal 8.4.x is no longer supported and we don't normally provide security releases for unsupported minor releases. However, we are providing this 8.4.x release so that sites can update as quickly as possible. You should update to 8.4.8 immediately, then update to 8.5.3 or the latest secure release as soon as possible.) If you are unable to update immediately, or if you are running a Drupal distribution that does not yet include this security release, you can attempt to apply the patch below to fix the vulnerability until you are able to update completely: Patch for Drupal 8.x (8.5.x and below) Patch for Drupal 7.x These patches will only work if your site already has the fix from SA-CORE-2018-002 applied. (If your site does not have that fix, it may already be compromised.)

Sources and related reporting

CVE Program record ↗ · Download tracked evidence as JSON

Observed change timeline

History begins when Egret first downloads each source. It is not the complete upstream CVE history.

12 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-12",
  "epss": 0.99172,
  "percentile": 0.99934
}
10 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-10",
  "epss": 0.99172,
  "percentile": 0.99934
}
09 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-09",
  "epss": 0.99172,
  "percentile": 0.99934
}
08 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-08",
  "epss": 0.99172,
  "percentile": 0.99934
}
07 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-07",
  "epss": 0.99172,
  "percentile": 0.99934
}
07 Nov 2026, 00:20 Jerusalem · CVE Program record changed

Stored CNA snapshot at this observation.

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T06:31:04.989Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "44557",
            "tags": [
              "exploit",
              "x_refsource_EXPLOIT-DB",
              "x_transferred"
            ],
            "url": "https://www.exploit-db.com/exploits/44557/"
          },
          {
            "name": "1040754",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://www.securitytracker.com/id/1040754"
          },
          {
            "name": "[debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html"
          },
          {
            "name": "44542",
            "tags": [
              "exploit",
              "x_refsource_EXPLOIT-DB",
              "x_transferred"
            ],
            "url": "https://www.exploit-db.com/exploits/44542/"
          },
          {
            "name": "DSA-4180",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "https://www.debian.org/security/2018/dsa-4180"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://www.drupal.org/sa-core-2018-004"
          },
          {
            "name": "103985",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/103985"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 8.1,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2018-7602",
                "options": [
                  {
                    "Exploitation": "active"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-13T03:55:34.450184Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          },
          {
            "other": {
              "content": {
                "dateAdded": "2022-04-13",
                "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602"
              },
              "type": "kev"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-94",
                "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-01T20:28:55.110Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "government-resource"
            ],
            "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "core",
          "vendor": "Drupal",
          "versions": [
            {
              "lessThan": "7.59",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "8.5.3",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "8.4.8",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "David Rothstein"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Alex Pott"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Heine Deelstra"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Jasper Mattsson"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "David Rothstein"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "xjm"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Samuel Mortenson"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Alex Pott"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Lee Rowlands"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Heine Deelstra"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Pere Orga"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Peter Wolanin"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Tim Plunkett"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Michael Hess"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Nate Lampton"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jasper Mattsson"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Neil Drumm"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Cash Williams"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Daniel Wehner"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "<p>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.</p>"
            }
          ],
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "Remote code Execution",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-17T00:06:27.768Z",
        "orgId": "2c85b837-eb8b-40ed-9d74-228c62987387",
        "shortName": "drupal"
      },
      "references": [
        {
          "name": "44557",
          "tags": [
            "exploit",
            "x_refsource_EXPLOIT-DB"
          ],
          "url": "https://www.exploit-db.com/exploits/44557/"
        },
        {
          "name": "1040754",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://www.securitytracker.com/id/1040754"
        },
        {
          "name": "[debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html"
        },
        {
          "name": "44542",
          "tags": [
            "exploit",
            "x_refsource_EXPLOIT-DB"
          ],
          "url": "https://www.exploit-db.com/exploits/44542/"
        },
        {
          "name": "DSA-4180",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "https://www.debian.org/security/2018/dsa-4180"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://www.drupal.org/sa-core-2018-004"
        },
        {
          "name": "103985",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/103985"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "<p>Solution: </p><p>Upgrade to the most recent version of Drupal 7 or 8 core.</p><p>If you are running 7.x, upgrade to Drupal 7.59.</p><p>If you are running 8.5.x, upgrade to Drupal 8.5.3.</p><p>If you are running 8.4.x, upgrade to Drupal 8.4.8. (Drupal 8.4.x is no longer supported and we don't normally provide security releases for unsupported minor releases. However, we are providing this 8.4.x release so that sites can update as quickly as possible. You should update to 8.4.8 immediately, then update to 8.5.3 or the latest secure release as soon as possible.)</p><p>If you are unable to update immediately, or if you are running a Drupal distribution that does not yet include this security release, you can attempt to apply the patch below to fix the vulnerability until you are able to update completely:</p><p>Patch for Drupal 8.x (8.5.x and below)</p><p>Patch for Drupal 7.x</p><p>These patches will only work if your site already has the fix from SA-CORE-2018-002 applied. (If your site does not have that fix, it may already be compromised.)</p>"
            }
          ],
          "value": "Solution: \n\nUpgrade to the most recent version of Drupal 7 or 8 core.\n\nIf you are running 7.x, upgrade to Drupal 7.59.\n\nIf you are running 8.5.x, upgrade to Drupal 8.5.3.\n\nIf you are running 8.4.x, upgrade to Drupal 8.4.8. (Drupal 8.4.x is no longer supported and we don't normally provide security releases for unsupported minor releases. However, we are providing this 8.4.x release so that sites can update as quickly as possible. You should update to 8.4.8 immediately, then update to 8.5.3 or the latest secure release as soon as possible.)\n\nIf you are unable to update immediately, or if you are running a Drupal distribution that does not yet include this security release, you can attempt to apply the patch below to fix the vulnerability until you are able to update completely:\n\nPatch for Drupal 8.x (8.5.x and below)\n\nPatch for Drupal 7.x\n\nThese patches will only work if your site already has the fix from SA-CORE-2018-002 applied. (If your site does not have that fix, it may already be compromised.)"
        }
      ],
      "source": {
        "advisory": "sa-core-2018-004",
        "discovery": "UNKNOWN"
      },
      "title": "Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004",
      "x_generator": {
        "engine": "Vulnogram 0.5.0"
      },
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security@drupal.org",
          "ID": "CVE-2018-7602",
          "STATE": "PUBLIC",
          "TITLE": "Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "core",
                      "version": {
                        "version_data": [
                          {
                            "affected": "<",
                            "version_affected": "<",
                            "version_value": "7.59"
                          },
                          {
                            "affected": "<",
                            "version_affected": "<",
                            "version_value": "8.5.3"
                          },
                          {
                            "affected": "<",
                            "version_affected": "<",
                            "version_value": "8.4.8"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Drupal"
              }
            ]
          }
        },
        "credit": [
          {
            "lang": "eng",
            "value": "Reported By: David Rothstein of the Drupal Security TeamAlex Pott of the Drupal Security TeamHeine Deelstra of the Drupal Security TeamJasper MattssonFixed By: David Rothstein of the Drupal Security Teamxjm of the Drupal Security TeamSamuel Mortenson of the Drupal Security TeamAlex Pott of the Drupal Security TeamLee Rowlands of the Drupal Security TeamHeine Deelstra of the Drupal Security TeamPere Orga of the Drupal Security TeamPeter Wolanin of the Drupal Security TeamTim PlunkettMichael Hess of the Drupal Security TeamNate LamptonJasper MattssonNeil Drumm of the Drupal Security TeamCash Williams of the Drupal Security TeamDaniel Wehner"
          }
        ],
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "Remote code Execution"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "44557",
              "refsource": "EXPLOIT-DB",
              "url": "https://www.exploit-db.com/exploits/44557/"
            },
            {
              "name": "1040754",
              "refsource": "SECTRACK",
              "url": "http://www.securitytracker.com/id/1040754"
            },
            {
              "name": "[debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update",
              "refsource": "MLIST",
              "url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html"
            },
            {
              "name": "44542",
              "refsource": "EXPLOIT-DB",
              "url": "https://www.exploit-db.com/exploits/44542/"
            },
            {
              "name": "DSA-4180",
              "refsource": "DEBIAN",
              "url": "https://www.debian.org/security/2018/dsa-4180"
            },
            {
              "name": "https://www.drupal.org/sa-core-2018-004",
              "refsource": "CONFIRM",
              "url": "https://www.drupal.org/sa-core-2018-004"
            },
            {
              "name": "103985",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/103985"
            }
          ]
        },
        "solution": [
          {
            "lang": "en",
            "value": "Solution: Upgrade to the most recent version of Drupal 7 or 8 core.If you are running 7.x, upgrade to Drupal 7.59.If you are running 8.5.x, upgrade to Drupal 8.5.3.If you are running 8.4.x, upgrade to Drupal 8.4.8. (Drupal 8.4.x is no longer supported and we don't normally provide security releases for unsupported minor releases. However, we are providing this 8.4.x release so that sites can update as quickly as possible. You should update to 8.4.8 immediately, then update to 8.5.3 or the latest secure release as soon as possible.)If you are unable to update immediately, or if you are running a Drupal distribution that does not yet include this security release, you can attempt to apply the patch below to fix the vulnerability until you are able to update completely:Patch for Drupal 8.x (8.5.x and below)Patch for Drupal 7.xThese patches will only work if your site already has the fix from SA-CORE-2018-002 applied. (If your site does not have that fix, it may already be compromised.)"
          }
        ],
        "source": {
          "advisory": "sa-core-2018-004",
          "discovery": "UNKNOWN"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "2c85b837-eb8b-40ed-9d74-228c62987387",
    "assignerShortName": "drupal",
    "cveId": "CVE-2018-7602",
    "datePublished": "2018-07-19T17:00:00.000Z",
    "dateReserved": "2018-03-01T00:00:00.000Z",
    "dateUpdated": "2026-10-01T20:28:55.110Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}
06 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-06",
  "epss": 0.99172,
  "percentile": 0.99933
}
05 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-05",
  "epss": 0.99172,
  "percentile": 0.99933
}
04 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-04",
  "epss": 0.99172,
  "percentile": 0.99933
}
03 Nov 2026, 18:20 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-03",
  "epss": 0.99172,
  "percentile": 0.99934
}
03 Nov 2026, 02:22 Jerusalem · EPSS observation updated

Stored EPSS snapshot at this observation.

{
  "date": "2026-11-02",
  "epss": 0.99172,
  "percentile": 0.99934
}
03 Nov 2026, 02:22 Jerusalem · CISA KEV status changed

Stored KEV snapshot at this observation.

{
  "cveID": "CVE-2018-7602",
  "cwes": [],
  "dateAdded": "2022-04-13",
  "dueDate": "2022-05-04",
  "forensicTriage": "No",
  "knownRansomwareCampaignUse": "Known",
  "notes": "https://nvd.nist.gov/vuln/detail/CVE-2018-7602",
  "product": "Core",
  "requiredAction": "Apply updates per vendor instructions.",
  "shortDescription": "A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.",
  "vendorProject": "Drupal",
  "vulnerabilityName": "Drupal Core Remote Code Execution Vulnerability"
}
Egret — Back to top Egret