Home / Drupal / Drupal Core / CVE-2019-6340
CVE-2019-6340: is it exploited, and which versions of Drupal Core are affected and fixed?
CVE-2019-6340 is a deserialization of untrusted data vulnerability in Drupal Core, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 25, 2022, with a federal due date of April 15, 2022. Affected: drupal/core from 8.6.0 before 8.6.10, drupal/core from 7.0.0 before 7.62.0, drupal/core from 8.0.0 before 8.5.11 and 3 more (GitHub advisory GHSA-3gx6-h57h-rm27). Fixed in 8.6.10, 7.62.0 and 8.5.11 (GitHub advisory GHSA-3gx6-h57h-rm27). Severity: High (8.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:25 UTC.
What is CVE-2019-6340?
Drupal core - Highly critical - Remote Code Execution
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.)
From the CVE record by drupal, last updated October 21, 2025, 23:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Drupal | Drupal Core | from 8.5 before 8.5.11 from 8.6 before 8.6.10 | 8.5.11, 8.6.10 |
As the CVE record by drupal states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | drupal/core | >= 8.6.0, < 8.6.10 | 8.6.10 | GHSA-3gx6-h57h-rm27 |
| Packagist | drupal/core | >= 7.0.0, < 7.62.0 | 7.62.0 | GHSA-3gx6-h57h-rm27 |
| Packagist | drupal/core | >= 8.0.0, < 8.5.11 | 8.5.11 | GHSA-3gx6-h57h-rm27 |
| Packagist | drupal/drupal | >= 7.0.0, < 7.62.0 | 7.62.0 | GHSA-3gx6-h57h-rm27 |
| Packagist | drupal/drupal | >= 8.0.0, < 8.5.11 | 8.5.11 | GHSA-3gx6-h57h-rm27 |
| Packagist | drupal/drupal | >= 8.6.0, < 8.6.10 | 8.6.10 | GHSA-3gx6-h57h-rm27 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Drupal Core Remote Code Execution Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| drupal | drupal | from 8.5.0 before 8.5.11 | application |
| drupal | drupal | from 8.6.0 before 8.6.10 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 02:39 UTC.
How severe is CVE-2019-6340?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-6340 exploited in the wild?
- CISA KEV
- Listed as Drupal Core Remote Code Execution Vulnerability, added March 25, 2022; federal agencies must act by April 15, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- 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.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, February 7, 2025)
- EPSS
- 92.0% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://www.synology.com/security/advisory/Synology_SA_19_09 x_refsource_CONFIRM
- 46452 exploit, x_refsource_EXPLOIT-DB
- https://www.drupal.org/sa-core-2019-003 x_refsource_CONFIRM
- 46510 exploit, x_refsource_EXPLOIT-DB
- 107106 vdb-entry, x_refsource_BID
- 46459 exploit, x_refsource_EXPLOIT-DB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340 government-resource
When was it published, and where is the official record?
- Reserved
- January 15, 2019
- Published
- February 21, 2019, 21:00 UTC
- CVE record updated
- October 21, 2025, 23:45 UTC by drupal
- NVD
- Analyzed, last modified June 17, 2026, 02:39 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:25 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Drupal Core?
- Nov 26, 2026CVE-2026-136716 Drupal core: unusual condition not checked exploited
- Nov 26, 2026CVE-2026-132165 Drupal core: missing authentication for a critical function exploited
- May 20, 2026CVE-2026-9082 Drupal core: SQL injection exploited
- Nov 20, 2020CVE-2020-13671 Drupal Core: unrestricted file upload exploited
- Nov 26, 2026CVE-2026-132166 Drupal core: mass assignment
- Oct 30, 2026CVE-2026-108097 Drupal core: unsafe reflection
- Oct 30, 2026CVE-2026-108515 Drupal core: cross-site scripting (XSS)
- Oct 30, 2026CVE-2026-108514 Drupal core: cross-site scripting (XSS)
Questions about CVE-2019-6340
Is CVE-2019-6340 exploited in the wild?
Yes. CISA added CVE-2019-6340 to its Known Exploited Vulnerabilities catalog on March 25, 2022 and set federal agencies a due date of April 15, 2022. FIRST's EPSS gives it a 92.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Drupal Core are affected by CVE-2019-6340?
drupal/core from 8.6.0 before 8.6.10, drupal/core from 7.0.0 before 7.62.0, drupal/core from 8.0.0 before 8.5.11, drupal/drupal from 7.0.0 before 7.62.0, drupal/drupal from 8.0.0 before 8.5.11 and drupal/drupal from 8.6.0 before 8.6.10, per the GitHub advisory GHSA-3gx6-h57h-rm27. The tables above give every range the sources list.
Which version fixes CVE-2019-6340?
8.6.10, 7.62.0 and 8.5.11, per the GitHub advisory GHSA-3gx6-h57h-rm27. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-6340?
High (8.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2019-6340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.