CVE-2019-6340
Drupal core - Highly critical - Remote Code Execution
- High 8.1
- Exploited: added to CISA KEV 25 Mar 2022
- A public exploit reference is listed
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.)
Key facts
- Published
- 21 Feb 2019
- Last changed
- 21 Oct 2025
- Assigned by
- drupal
- KEV added
- 25 Mar 2022
- KEV fix due
- 15 Apr 2022
- EPSS
- 92.017% likely to be exploited in the next 30 days, higher than 99.823% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 8.1CVSS 3.1, Highfrom CISA (ADP container)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What to do
- Apply updates per vendor instructions.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Drupal | Drupal Core |
|
Timeline
- 21 Feb 2019 Published
- 25 Mar 2022 CVE-2019-6340 added to CISA KEV
- 25 Mar 2022 Added to the CISA KEV catalogue