CVE-2019-6340

Known Exploited Public Exploit
Drupal core - Highly critical - Remote Code Execution

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.)

Category

8.1
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 94.44% Top 5%
KEV Since 
Vendor Advisory drupal.org
Affected: Drupal Drupal Core
Published at:
Updated at:

References

Link Tags
https://www.synology.com/security/advisory/Synology_SA_19_09 third party advisory
https://www.exploit-db.com/exploits/46452/ exploit vdb entry third party advisory patch
https://www.drupal.org/sa-core-2019-003 mitigation vendor advisory
https://www.exploit-db.com/exploits/46510/ third party advisory exploit
http://www.securityfocus.com/bid/107106 vdb entry third party advisory
https://www.exploit-db.com/exploits/46459/ exploit vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2019-6340?
CVE-2019-6340 has been scored as a high severity vulnerability.
How to fix CVE-2019-6340?
To fix CVE-2019-6340, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2019-6340 being actively exploited in the wild?
It is confirmed that CVE-2019-6340 is actively exploited. Be extra cautious if you are using vulnerable components. According to its EPSS score, there is a ~94% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2019-6340?
CVE-2019-6340 affects Drupal Drupal Core.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.