CVE-2019-6340
HighExploitedPublic exploitDrupal 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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Mar 25, 2022 | Apr 15, 2022 | Not reported |
| Industry KEV feed | Dec 27, 2019 | Apr 15, 2022 | Not reported |
| CIRCL KEV | Mar 25, 2022 | Apr 15, 2022 | Not reported |
| ENISA EUVD | Mar 25, 2022 | n/a | Not reported |
Required action: Apply updates per vendor instructions.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| DrupalDrupal | See advisory | 8.5.11 |
| drupal/corecomposer | >= 8.0.0 | 8.5.11 |
| drupal/drupalcomposer | >= 8.6.0 | 8.6.10 |
| Drupal Core | >= 8.5 | 8.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
Added to Industry KEV feed
Dec 27, 2019
Added to CISA KEV
Mar 25, 2022
Added to CIRCL KEV
Mar 25, 2022
Added to ENISA EUVD
Mar 25, 2022
Publicly disclosed
May 13, 2022
Last updated
Sep 19, 2026
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisoryGHSA advisory
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6340.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6340.yaml
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-6340
- advisoryhttps://www.drupal.org/sa-core-2019-003
FAQ
Common Questions.
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.
Affected: Drupal; drupal/core (composer) versions >= 8.0.0; drupal/drupal (composer) versions >= 8.6.0, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Dec 27, 2019.
Yes. It was added on Mar 25, 2022 with a federal remediation due date of Apr 15, 2022.
Public exploit code is available.
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.
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