cybersecurity Request an audit

Actively exploited vulnerability / CVE-2019-6340

Drupal: a flaw can let an attacker take control of your website

This flaw in Drupal can allow an attacker to run their own code on the website's server in certain setups. That means they could change the site, access the data stored on it, or use it for further attacks. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).

Identifier
CVE-2019-6340 · EUVD-2022-2184
Severity
High (8.1/10)
On the CISA list (US)
yes, since 25 March 2022
Deadline given to US federal agencies
15 April 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
92.0% (FIRST's estimate for the next 30 days)

Does it concern you?

Drupal is a content management system used for company websites, portals and online shops. You are only affected if the site has web services modules enabled, such as RESTful Web Services or JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7.

Affected are Drupal 8.5 versions before 8.5.11 and Drupal 8.6 versions before 8.6.10. The version is usually shown in the admin area under the status report, or you can ask whoever maintains your website.

Affected products and versions

  • Drupal Core
  • drupal: from 8.5.0 before 8.5.11; from 8.6.0 before 8.6.10

What to do

Update Drupal to version 8.5.11 or 8.6.10 or later, following the vendor's instructions. If you run Drupal 7 with the Services module, also apply the other module updates linked to this advisory.

Versions that contain the fix: 8.5.11, 8.6.10.

The official description

The text below is the description from the public database.

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

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in Drupal Core

All exploited vulnerabilities in Drupal Core

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.