CVE-2019-6340
8.1, high Known exploitedDrupal Core Remote Code Execution Vulnerability
- CVSS
- 8.1, high high CVSS v3.1
- EPSS, next 30 days
- 92% higher than 99.8% of scored CVEs
- Exploitation
- Confirmed in the wild
- Published
- 21 Feb 20197 years ago
Known exploited
CISA added this to the Known Exploited Vulnerabilities Catalog on 25 Mar 2022. US federal agencies had to remediate by 15 Apr 2022, a deadline that has passed.
Required action. Apply updates per vendor instructions.
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.)
Details
- Vendor
- Drupal
- Product
- Drupal Core
- Weakness
- CWE-502 (opens in a new tab)
- Status
- Analyzed
- Updated
- 17 Jun 2026
- Assigner
- mlhess@drupal.org
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References 7
Exploit code 3
Advisories 3
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Drupal CVEs
Every Drupal CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-9082 Drupal Core SQL Injection Vulnerability KEV EPSS 16% 9.8, critical
- CVE-2020-13671 Drupal core Un-restricted Upload of File KEV EPSS 35% 8.8, high
- CVE-2018-7602 Drupal Core Remote Code Execution Vulnerability KEV EPSS 99% 9.8, critical
- CVE-2018-7600 Drupal Core Remote Code Execution Vulnerability KEV EPSS 100% 9.8, critical
Beyond this page
Is CVE-2019-6340 in your network?
This page tells you how dangerous CVE-2019-6340 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
CVE-2019-6340 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2019-6340 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.