CVE-2019-6340

HIGHNVD 8.19.0
EchelonGraph scoreHIGH confidence

Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-03-25), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 8.1 retained for reference. Confidence: HIGH.

Triggered by: CISA KEV (actively exploited)
Sources: cisa_kev, epss, nvd
Trending — 3 sources updated this weekExploited in the wild
8.1
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV)
CISA-KEV: ExploitedEPSS: 92%CVSS: 8.1Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 v3
8.1
EG Score
9.0(high)
EPSS
99.8%
KEV
⚠ Exploited

Published

February 21, 2019

Last Modified

November 7, 2025

Advisory Details (6)

Auto-updated Jun 3, 2026
⚠️ Active exploitation confirmed. No patch confirmed yet.
generic🟡 PoC Available

Drupal < 8.6.9 - REST Module Remote Code Execution - PHP webapps Exploit

https://www.exploit-db.com/exploits/46459/
generic🟡 PoC Available

Drupal < 8.6.10 / < 8.5.11 - REST Module Remote Code Execution - PHP webapps Exploit

https://www.exploit-db.com/exploits/46452/
generic🔴 Active Exploitation

Drupal core - Highly critical - Remote Code Execution - SA-CORE-2019-003 | Drupal.org

https://www.drupal.org/sa-core-2019-003
generic

Synology_SA_19_09 | Synology Inc.

https://www.synology.com/security/advisory/Synology_SA_19_09
generic🟡 PoC Available

Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) - PHP remote Exploit

https://www.exploit-db.com/exploits/46510/

Affected Packages

(2 across 1 ecosystem)
Packagist(2)
PackageVulnerable rangeFixed inDependents
drupal/core8.0.0 ... 8.5.9 (76 versions)8.5.11
drupal/drupal8.6.0 ... 8.6.9 (10 versions)8.6.10

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 9× in last 7d / 30× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-21 14:37 UTCCISA KEV update
  2. 2026-07-19 15:47 UTCEG score recompute
  3. 2026-07-19 14:28 UTCEPSS rescore
  4. 2026-07-19 14:28 UTCEPSS rescore
  5. 2026-07-19 03:18 UTCEG score recompute
  6. 2026-07-19 02:26 UTCEPSS rescore
  7. 2026-07-19 02:26 UTCEPSS rescore
  8. 2026-07-17 09:41 UTCEG score recompute
  9. 2026-07-16 17:04 UTCCISA KEV update
  10. 2026-07-15 16:55 UTCEPSS rescore
  11. 2026-07-15 16:49 UTCCISA KEV update
  12. 2026-07-15 15:04 UTCCISA KEV update
  13. 2026-07-15 01:57 UTCEPSS rescore
  14. 2026-07-14 18:05 UTCCISA KEV update
  15. 2026-07-13 17:07 UTCCISA KEV update
  16. 2026-07-10 17:52 UTCCISA KEV update
  17. 2026-07-08 15:11 UTCEPSS rescore
  18. 2026-07-07 19:01 UTCCISA KEV update
  19. 2026-07-07 17:16 UTCCISA KEV update
  20. 2026-07-06 16:25 UTCEPSS rescore
  21. 2026-07-06 16:25 UTCEPSS rescore
  22. 2026-07-06 02:20 UTCEPSS rescore
  23. 2026-07-06 02:20 UTCEPSS rescore
  24. 2026-07-01 19:16 UTCCISA KEV update
  25. 2026-06-29 19:12 UTCCISA KEV update
Show 26 more
  1. 2026-06-28 14:04 UTCEPSS rescore
  2. 2026-06-25 19:15 UTCCISA KEV update
  3. 2026-06-23 21:31 UTCEPSS rescore
  4. 2026-06-23 21:31 UTCEPSS rescore
  5. 2026-06-23 17:44 UTCCISA KEV update
  6. 2026-06-18 16:13 UTCCISA KEV update
  7. 2026-06-16 19:33 UTCCISA KEV update
  8. 2026-06-15 19:33 UTCCISA KEV update
  9. 2026-06-15 17:46 UTCEPSS rescore
  10. 2026-06-12 17:35 UTCCISA KEV update
  11. 2026-06-11 19:10 UTCCISA KEV update
  12. 2026-06-09 18:42 UTCCISA KEV update
  13. 2026-06-09 17:12 UTCCISA KEV update
  14. 2026-06-08 19:16 UTCCISA KEV update
  15. 2026-06-08 17:26 UTCCISA KEV update
  16. 2026-06-05 22:43 UTCCISA KEV update
  17. 2026-06-03 19:09 UTCCISA KEV update
  18. 2026-06-02 18:32 UTCCISA KEV update
  19. 2026-06-01 20:42 UTCCISA KEV update
  20. 2026-05-29 22:20 UTCCISA KEV update
  21. 2026-05-29 13:42 UTCEPSS rescore
  22. 2026-05-27 20:35 UTCCISA KEV update
  23. 2026-05-26 19:23 UTCEG score recompute
  24. 2026-05-26 19:13 UTCCISA KEV update
  25. 2026-05-24 20:42 UTCOSV refresh
  26. 2026-05-24 16:47 UTCEPSS rescore

Publicly available exploits

(10 references)

Working exploit code is in the public domain (1 Metasploit module) (6 GitHub PoCs) (3 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCludy-dev/drupal8-REST-RCE
    First seen Aug 31, 2020

    (CVE-2019-6340, CVE-2018-7600) drupal8-REST-RCE

    Open source ↗
  • GitHub PoCjas502n/CVE-2019-6340
    First seen May 27, 2019

    Drupal8's REST RCE, SA-CORE-2019-003, CVE-2019-6340

    Open source ↗
  • Exploit-DBEDB-46510✓ verified
    First seen Mar 7, 2019

    Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit)

    Open source ↗
  • Exploit-DBEDB-46459
    First seen Feb 25, 2019

    Drupal < 8.6.9 - REST Module Remote Code Execution

    Open source ↗
  • GitHub PoCDevDungeon/CVE-2019-6340-Drupal-8.6.9-REST-Auth-Bypass
    First seen Feb 25, 2019

    CVE-2019-6340 Drupal 8.6.9 REST Auth Bypass examples

    Open source ↗
  • GitHub PoCoways/CVE-2019-6340
    First seen Feb 25, 2019

    CVE-2019-6340 POC Drupal rce

    Open source ↗
  • Exploit-DBEDB-46452
    First seen Feb 23, 2019

    Drupal < 8.6.10 / < 8.5.11 - REST Module Remote Code Execution

    Open source ↗
  • GitHub PoCknqyf263/CVE-2019-6340
    First seen Feb 23, 2019

    Environment for CVE-2019-6340 (Drupal)

    Open source ↗
  • GitHub PoCg0rx/Drupal-SA-CORE-2019-003
    First seen Feb 22, 2019

    CVE-2019-6340-Drupal SA-CORE-2019-003

    Open source ↗
  • Metasploitexploit/unix/webapp/drupal_restws_unserialize✓ verified
    First seen Feb 20, 2019

    Drupal RESTful Web Services unserialize() RCE

    Open source ↗

Frequently asked(6)

What is CVE-2019-6340?
CVE-2019-6340 is a high vulnerability published on February 21, 2019. 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…
When was CVE-2019-6340 disclosed?
CVE-2019-6340 was first published in the National Vulnerability Database on February 21, 2019, with the most recent update on November 7, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2019-6340 actively exploited?
Yes. CISA added CVE-2019-6340 to the Known Exploited Vulnerabilities catalog on March 25, 2022, affecting Drupal Core. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate patching attention.
What is the CVSS score of CVE-2019-6340?
CVE-2019-6340 has a CVSS v3 base score of 8.1 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0.
Which products are affected by CVE-2019-6340?
CVE-2019-6340 affects Drupal Core. The full affected-products list, including version ranges and fixed versions, is shown in the Affected Packages section of this page.
How do I remediate CVE-2019-6340?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2019-6340, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-6340

Explore →

Is Your Infrastructure Affected by CVE-2019-6340?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.