CVE-2019-6340

Drupal core - Highly critical - Remote Code Execution

HIGH
8.1
CVSS Score
Published: February 21, 2019 at 09:00 PM UTC
Updated: June 17, 2026 at 02:39 AM UTC
1 product affected across 1 vendorDrupal

Using Drupal Core by Drupal?

Get instant alerts when new vulnerabilities affect Drupal Core - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploitation
CISA KEV
Exploit prediction
EPSS 92%
SSVC
Active

Actively Exploited

CISA Known Exploited Vulnerabilities (KEV) Catalog

EPSS Score92.0%

EPSS (Exploit Prediction Scoring System) estimates a 92.0% chance this CVE is exploited in the wild within the next 30 days — higher than 100% of all CVEs. It complements CVSS: a high EPSS on a mid-severity CVE can still be urgent.

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.

Required Action
Apply updates per vendor instructions.
Ransomware Use
Unknown
Added to KEV
Mar 25, 2022
Remediation Due
Apr 15, 2022
1656 days overdue

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

8.5 ≤ v < 8.5.118.5.0 ≤ v < 8.5.118.6 ≤ v < 8.6.108.6.0 ≤ v < 8.6.108.58.6
Affected range stops below 8.5.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.6.10, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (7)

VDB Entryx_refsource_BIDBroken LinkThird Party Advisory
http://www.securityfocus.com/bid/107106
x_refsource_CONFIRMMitigationVendor Advisory
https://www.drupal.org/sa-core-2019-003
Exploitx_refsource_EXPLOIT-DBPatchThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/46452/
Exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/46459/
Exploitx_refsource_EXPLOIT-DBThird Party Advisory
https://www.exploit-db.com/exploits/46510/
US Government Resource
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340

SSVC — Action Prioritization

SSVCActiveNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.1HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-502

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card