Skip to content
Vulnerability Intelligence

CVE-2019-6340

HighExploitedPublic exploit

Drupal Core Remote Code Execution Vulnerability

Published May 13, 2022 · Updated Sep 19, 2026 · Also known as DRUPAL-CORE-2019-003, GHSA-3gx6-h57h-rm27

Key Facts

Patch immediately
  • CVE-2019-6340 is a high-severity vulnerability (CVSS 8.1 v3.1) affecting Drupal, drupal/core (composer), drupal/drupal (composer) and 1 more product.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Dec 27, 2019. Public exploit code is available.
  • EPSS estimates a 92% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Drupal Core 8.5.11, Drupal Core 8.6.10, Drupal 8.5.11.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

8.1

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

92%

Higher than 99.8% of all scored CVEs

Exploited in the wild

Yes

4 catalog listings

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2019-6340 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

Some field types do not properly sanitize data from non-form sources in Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10. This can lead to arbitrary PHP code execution in some cases. A site is only affected by this if one of the following conditions is met: The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows PATCH or POST requests, or the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. (Note: The Drupal 7 Services module itself does not require an update at this time, but you should apply other contributed updates associated with this advisory if Services is in use.)

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVMar 25, 2022Apr 15, 2022Not reported
Industry KEV feedDec 27, 2019Apr 15, 2022Not reported
CIRCL KEVMar 25, 2022Apr 15, 2022Not reported
ENISA EUVDMar 25, 2022n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
DrupalDrupalSee advisory8.5.11
drupal/corecomposer>= 8.0.08.5.11
drupal/drupalcomposer>= 8.6.08.6.10
Drupal Core>= 8.58.5.11

Patched Releases

Drupal Core

8.5.11, 8.6.10

Drupal

8.5.11

drupal/core

7.62.0, 8.5.11, 8.6.10

drupal/drupal

7.62.0, 8.5.11, 8.6.10

Timeline

  1. Added to Industry KEV feed

    Dec 27, 2019

  2. Added to CISA KEV

    Mar 25, 2022

  3. Added to CIRCL KEV

    Mar 25, 2022

  4. Added to ENISA EUVD

    Mar 25, 2022

  5. Publicly disclosed

    May 13, 2022

  6. Last updated

    Sep 19, 2026

Weakness Type

  • CWE-502 Deserialization of Untrusted Data

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2019-6340 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo