CVE-2019-6340
CONFIRMED EXPLOITEDDrupal Core Remote Code Execution Vulnerability
Is Drupal Core affected by CVE-2019-6340?
Drupal Core is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2019-6340, added on 2022-03-25. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (2 vulnerable CPE entries): drupal drupal.
Published CPE version bounds mark releases below 8.6.10 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-04-15.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-136716Same productDrupal Core
Drupal Core Improper Check for Unusual or Exceptional Conditions Vulnerability
- CVE-2026-132165Same productDrupal Core
Drupal Core Remote Code Execution Vulnerability
- CVE-2026-9082Same productDrupal Core
Drupal Core SQL Injection Vulnerability
- CVE-2018-7602Same productDrupal Core
Drupal Core Remote Code Execution Vulnerability
- CVE-2019-2616Neighboring entryOracle BI Publisher (Formerly XML Publisher)
Oracle BI Publisher Unauthorized Access Vulnerability
- CVE-2020-1631Neighboring entryJuniper Junos OS
Juniper Junos OS Path Traversal Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
In Drupal Core, some field types do not properly sanitize data from non-form sources. This can lead to arbitrary PHP code execution in some cases.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.)
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-03-25. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Core has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Drupal Core): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Deserialization of Untrusted Data (CWE-502): monitor service exception logs for deserialization faults and inspect outbound network connections from the service process for unexpected callbacks.
- Inventory all hosts running Drupal Core and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://www.securityfocus.com/bid/107106Broken LinkThird Party AdvisoryVDB Entry
- https://www.drupal.org/sa-core-2019-003MitigationVendor Advisory
- https://www.exploit-db.com/exploits/46452/PatchThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/46459/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/46510/ExploitThird Party Advisory
- https://www.synology.com/security/advisory/Synology_SA_19_09Third Party Advisory
- http://www.securityfocus.com/bid/107106Broken LinkThird Party AdvisoryVDB Entry
- https://www.drupal.org/sa-core-2019-003MitigationVendor Advisory
- https://www.exploit-db.com/exploits/46452/PatchThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/46459/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/46510/ExploitThird Party Advisory
- https://www.synology.com/security/advisory/Synology_SA_19_09Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine