CVE-2019-6340
Drupal core - Highly critical - Remote Code Execution
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
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.)
Official description from the CVE record, published by drupal. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
CVSS 3.1 High 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector: Network
The vulnerable component can be reached over a network, possibly from the Internet.
Attack complexity: High
The attack depends on conditions outside the attacker's control, so it takes preparation.
Privileges required: None
No account or privileges are needed.
User interaction: None
No action from any user is needed.
Scope: Unchanged
The impact stays within the vulnerable component.
Confidentiality impact: High
Serious or total effect on the secrecy of data.
Integrity impact: High
Serious or total effect on the trustworthiness of data.
Availability impact: High
Serious or total effect on availability.
| Metric | Value | What it means |
|---|---|---|
| Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. |
| Attack complexity | High | The attack depends on conditions outside the attacker's control, so it takes preparation. |
| Privileges required | None | No account or privileges are needed. |
| User interaction | None | No action from any user is needed. |
| Scope | Unchanged | The impact stays within the vulnerable component. |
| Confidentiality impact | High | Serious or total effect on the secrecy of data. |
| Integrity impact | High | Serious or total effect on the trustworthiness of data. |
| Availability impact | High | Serious or total effect on availability. |
CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.
EPSS
- Score
- 0.92017 (92.0% probability)
- Percentile
- 99.8%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
CISA Known Exploited Vulnerabilities
- Name in the catalog
- Drupal Core Remote Code Execution Vulnerability
- Added to the catalog
- Mar 25, 2022
- Federal due date
- Apr 15, 2022
CISA assessment as of Feb 7, 2025
- Exploitation
- Recorded by CISA as active
- Automatable
- no
- Technical impact
- total
Weakness (CWE)
- CWE-502Deserialization of Untrusted Data
Affected products
Drupal Core
- affected: 8.5 up to before 8.5.11
- affected: 8.6 up to before 8.6.10
References
- synology.com/security/advisory/Synology_SA_19_09
- 46452 (exploit-db.com)exploit
- drupal.org/sa-core-2019-003
- 46510 (exploit-db.com)exploit
- 107106 (securityfocus.com)vdb-entry
- 46459 (exploit-db.com)exploit
Timeline
- ID reserved
- Record published
- Added to CISA KEV
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:30 UTC. Sources and licenses