8.1

CVE-2019-6340: Drupal Core Remote Code Execution Vulnerability

KEV
Analyzed
Published 21-02-2019Last modified 21-10-2025

Vulnerability summary

CVE-2019-6340 is a high (CVSS 8.1) Deserialization of Untrusted Data vulnerability in Drupal Core. It is known to be exploited: CISA lists it, first on 25-03-2022. EPSS estimates a 92.02% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 4 public exploits are recorded.

Priority
Act nowlisted as exploited

Listed as exploited by CISA (25-03-2022)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
92.02%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareNot flaggedNo ransomware use recorded.
Public exploits4exploit-database, metasploit

Timeline

  1. 21-02-2019
    PublishedVulnerability first disclosed.
  2. 25-03-2022
    Added to CISA KEVExploitedDrupal Core Remote Code Execution Vulnerability
  3. 15-04-2022
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

Description

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 metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

92.02%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 92.02% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
25-03-2022
Federal due date
15-04-2022
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2019-6340

Public exploits

4 found
  • exploit-databaseremotephpVerified

    Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services 'unserialize()' Remote Code Execution (RCE) (Metasploit)

    Maturity: weaponized

  • exploit-databasephpUnverified

    Drupal < 8.6.10 / < 8.5.11 - REST Module Remote Code Execution (RCE)

    Maturity: poc

  • exploit-databasephpUnverified

    Drupal < 8.6.9 - REST Module Remote Code Execution (RCE)

    Maturity: poc

Show all 4 exploits
  • MetasploitMetasploitremoteUnverified

    Drupal RESTful Web Services unserialize() RCE

    exploit/unix/webapp/drupal_restws_unserialize

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Drupal2 products
  • drupal≥ 8.5.0, < 8.5.11 | ≥ 8.6.0, < 8.6.10
  • drupal core≥ 8.5, < 8.5.11 | ≥ 8.6, < 8.6.10

1 vendor · 2 products

References

7 links