CVE-2019-6340
CVE-2019-6340 is a security flaw in Drupal Core, software for building and running websites. Attackers can run their own code on Drupal Core. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 25 Mar 2022.[1]
Drupal Core is business software or equipment. Most families won’t have it, but attackers break into it to get inside companies, and from there to what those companies hold about their customers, patients and staff. Fixed in version 8.5.11 and 8.6.10 of Drupal Core.
Description
CISA calls it a remote code execution in Drupal Core. In its words: “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.”[1]
The CVE record adds: “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.)”[2]
The underlying weakness is deserialization of untrusted data (CWE-502), in MITRE’s list of common software weaknesses.
It scores 8.1 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by NVD using CVSS 3.1.[2]
Affected versions
NVD’s record lists these fixed versions: in each line, everything before the version shown is affected.[2]
| Product | Fixed in |
|---|---|
| Drupal Core | 8.5.11 |
| Drupal Core | 8.6.10 |
Most families won’t have Drupal Core; it’s for whoever looks after IT at work.
Exploitation
CISA added it to its catalog of known exploited vulnerabilities on 25 Mar 2022, 1,128 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 15 Apr 2022 to fix it.[1]
FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 92%. That’s in the top 1% of the flaws it scores.[4]
CISA assesses it as not automatable: each attack takes some work.
CISA doesn’t say who was attacked, or how.
Fix
Drupal has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions.”[1]
- Check whether you use it.Drupal Core is business software or equipment, so most families won’t have it. If you run a business, or work from home on company equipment, ask whoever looks after your IT.
- Send this page to your IT person.Ask them to confirm it’s fixed (fixed in version 8.5.11 and 8.6.10 of Drupal Core), or not in use. CISA gave US government agencies until 15 Apr 2022 to fix it.
- If it can’t be fixed, take it offline.CISA’s advice when there’s no fix is to stop using the product, or take it off the internet, until there is one.
You can’t fix someone else’s server, but you can watch for what follows a break-in like this: a breach notice, a password reset you didn’t ask for, or a scam message that knows things it shouldn’t. HARD watches for those for you and your family.
Timeline
| Date | Event |
|---|---|
| The flaw is made public in the National Vulnerability Database, with a severity score of 8.1.[2] | |
| CISA adds it to its catalog of flaws known to be used in attacks.[1] | |
| CISA’s deadline for US government agencies to fix it.[1] | |
| FIRST puts the odds of it being used in attacks in the next 30 days at 92%.[4] |
See also
Other Drupal Core flaws
- CVE-2026-9082: SQL injection ·
- CVE-2018-7602: remote code execution ·
Other Drupal flaws
- CVE-2020-13671, Drupal core: core un-restricted upload of file ·
- CVE-2018-7600, Drupal Core: core remote code execution ·
Other deserialization of untrusted data flaws
- CVE-2021-23758, Ajax.NET Professional: deserialization of untrusted data ·
- CVE-2026-63077, JetBrains TeamCity: deserialization of untrusted data ·
- CVE-2026-50522, Microsoft SharePoint: deserialization of untrusted data ·
- CVE-2026-58644, Microsoft SharePoint: deserialization of untrusted data ·
- CVE-2026-45659, Microsoft SharePoint Server: deserialization of untrusted data ·
Added the same day
- CVE-2022-26318, WatchGuard Firebox and XTM Appliances: arbitrary code execution ·
- CVE-2022-26143, Mitel MiCollab, MiVoice Business Express: access control ·
- CVE-2022-21999, Microsoft Windows: print spooler privilege escalation ·
- CVE-2021-42237, Sitecore XP: remote command execution ·
- CVE-2021-22941, Citrix ShareFile: improper access control ·
Every Drupal flaw on CISA’s list · Everything added in March 2022
References
- ^ Cybersecurity and Infrastructure Security Agency. “Drupal Core Remote Code Execution Vulnerability”. Known Exploited Vulnerabilities Catalog, added 25 Mar 2022.
- ^ National Institute of Standards and Technology. “CVE-2019-6340 Detail”. National Vulnerability Database, published 21 Feb 2019.
- ^ Drupal. Advisories and fixes: drupal.org.
- ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.920, percentile 99.8, 31 Oct 2026.
- CVE Program. “CVE-2019-6340”. The official CVE record.
This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.

