Skip to content
Server Security Center
KEVhigh8.1

CVE-2019-6340: Drupal Core Remote Code Execution

Drupal Core · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-25.

CVSS v3.1 (CISA ADP)
8.1
high
EPSS (exploit probability, 30 days)
92%
higher than 99.8% of all CVEs
Added to CISA KEV
2022-03-25
US federal due date 2022-04-15
Automatable (CISA SSVC)
no
technical impact: total

What is CVE-2019-6340?

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

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Drupal Core
    Affected
    • ≥ 8.5, < 8.5.11
    • ≥ 8.6, < 8.6.10
    Fixed in
    • 8.5.11
    • 8.6.10

How to fix it

  • Update to a fixed version: 8.5.11, 8.6.10.
  • Vendor advisory: drupal.org/sa-core-2019-003
  • CISA's deadline for US federal agencies: 2022-04-15 (passed) – a useful benchmark for everyone else, too.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-502 Deserialization of Untrusted Data

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.