CVE-2019-6340

Drupal Core Remote Code Execution Vulnerability

Actively exploited · CISA KEV
8.1 HighCVSS v3.1
92.0%EPSS (30-day exploit probability)
2022-03-25added to KEV
2022-04-15CISA federal due date

Summary

Drupal Core. 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.

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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Published
2019-02-21 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Drupal Core in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2019-6340 being exploited?

Yes. CISA added CVE-2019-6340 to its Known Exploited Vulnerabilities catalog on 2022-03-25, which means there is reliable evidence of active exploitation.

How do I fix CVE-2019-6340?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2019-6340?

The EPSS score is 92.02%, meaning an estimated 92.02% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Drupal vulnerabilities

CVE-2026-136716Drupal Core Improper Check for Unusual or Exceptional Conditions Vulnerability2026-11-27
CVE-2026-132165Drupal Core Remote Code Execution Vulnerability2026-11-24
CVE-2026-9082Drupal Core SQL Injection Vulnerability2026-05-22
CVE-2018-7602Drupal Core Remote Code Execution Vulnerability2022-04-13
CVE-2020-13671Drupal core Un-restricted Upload of File2022-01-18
CVE-2018-7600Drupal Core Remote Code Execution Vulnerability2021-11-03

All Drupal exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.