Back to CVE records
High 8.1Known exploited (CISA KEV)Published Feb 21, 2019

CVE-2019-6340Drupal core - Highly critical - Remote Code Execution

Updated under an hour ago ()

Does this affect you?

It affects Drupal Core and 1 other product. Add what you run to find out whether that includes you.

CISA lists it as known exploited since Mar 25, 2022; federal agencies had to remediate by Apr 15, 2022. Treat that date as your deadline.

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

CVSS
8.1 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-502
Known exploited
Added to CISA KEV Mar 25, 2022; federal remediation due Apr 15, 2022Apply updates per vendor instructions.
EPSS (exploitation in the next 30 days)
92.02% (percentile 100)
Assigned by
drupal
NVD analysis
Analyzed
Record last updated
Oct 21, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Drupal Drupal Core
drupal:core (from the name)
from 8.5 before 8.5.11; from 8.6 before 8.6.10
CNA record
drupal drupal
drupal:drupal
from 8.5.0 before 8.5.11; from 8.6.0 before 8.6.10
NVD

References

  • x-refsource-confirm, third-party-advisory
  • exploit, x-refsource-exploit-db, patch, third-party-advisory, vdb-entry
  • x-refsource-confirm, mitigation, vendor-advisory
  • exploit, x-refsource-exploit-db, third-party-advisory
  • vdb-entry, x-refsource-bid, broken-link, third-party-advisory
  • exploit, x-refsource-exploit-db, third-party-advisory, vdb-entry
  • us-government-resource

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.