CVE-2019-6340Drupal Insecure Deserialization
Drupal Core Remote Code Execution Vulnerability
Published Feb 21, 2019 · Updated Oct 24, 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 and is known to be used in ransomware campaigns. 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.
Scores
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
Exploit maturity
Exploited (KEV)
ATLAS score
82/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Mar 25, 2022
1128 days after publication
Federal due date
Apr 15, 2022
Overdue
Attributed actors
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
6
Proof-of-concept links
In-the-wild evidence
14
Reports of active use
Required action (CISA): Apply updates per vendor instructions.
Advisories And Exploit References
- 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
- advisoryGHSA advisory
- advisoryhttps://www.drupal.org/sa-core-2019-003
- advisoryhttps://www.synology.com/security/advisory/Synology_SA_19_09
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 | Known |
| 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
Publicly disclosed
Feb 21, 2019
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
Last updated
Oct 24, 2026
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisorygithub.com · CVE-2019-6340
- advisorygithub.com · CVE-2019-6340
- advisorynvd.nist.gov · CVE-2019-6340
- advisoryGHSA advisory
- advisorydrupal.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 and is known to be used in ransomware campaigns.
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo