Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2019-6340

HIGH 8.1ExploitedPoCEPSS 100%

Drupal core - Highly critical - Remote Code Execution

Also known as DRUPAL-CORE-2019-003, EDB-46452, EDB-46459, EDB-46510, GHSA-3gx6-h57h-rm27

Mitigation

  • Upgrade drupal/core to one of 8.5.11, 8.6.10, 7.62.0 (or later in the same release line).
  • Upgrade drupal/drupal to one of 7.62.0, 8.5.11, 8.6.10 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package drupal/core (>= 8.0.0, < 8.5.11; >= 8.6.0, < 8.6.10)
  • Projects that depend on Packagist package drupal/drupal (>= 7.0.0, < 7.62.0)
  • Anyone running Drupal Core >= 8.5, < 8.5.11; >= 8.6, < 8.6.10

Vulnerability facts

Affected
drupal/core >= 8.0.0, < 8.5.11; >= 8.6.0, < 8.6.10; drupal/drupal >= 7.0.0, < 7.62.0
Fixed in
8.5.11, 8.6.10, 7.62.0
Exploited in the wild
Yes: in CISA KEV since 2022-03-25; federal due date 2022-04-15
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
92.02% chance of exploitation in 30 days (percentile 100, 2026-11-26)
CWE
CWE-502
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Packagist drupal/core>= 8.0.0, < 8.5.11; >= 8.6.0, < 8.6.108.5.11, 8.6.10, 7.62.0osv
Packagist drupal/drupal>= 7.0.0, < 7.62.07.62.0, 8.5.11, 8.6.10osv
Drupal Core>= 8.5, < 8.5.11; >= 8.6, < 8.6.10—cvelist

Timeline

  1. 2019-02-20 Published
  2. 2022-03-25 Added to CISA KEV (exploited in the wild)
  3. 2022-04-15 CISA remediation due date for US federal agencies
  4. 2026-09-19 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2019-6340. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-6340.md
Affected: drupal/core >= 8.0.0, < 8.5.11; >= 8.6.0, < 8.6.10; drupal/drupal >= 7.0.0, < 7.62.0
Fixed in: 8.5.11, 8.6.10, 7.62.0

Steps:
1. Search this machine and project for drupal/core (Packagist), drupal/drupal (Packagist), Drupal Core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2019-6340 being exploited?

Yes. CISA lists CVE-2019-6340 in its Known Exploited Vulnerabilities catalog since 2022-03-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 92.02% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2019-6340?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2019-6340?

drupal/core >= 8.0.0, < 8.5.11; >= 8.6.0, < 8.6.10; drupal/drupal >= 7.0.0, < 7.62.0.

Is there a fix for CVE-2019-6340?

Yes. Fixed in 8.5.11, 8.6.10, 7.62.0. Upgrade drupal/core to one of 8.5.11, 8.6.10, 7.62.0 (or later in the same release line). Upgrade drupal/drupal to one of 7.62.0, 8.5.11, 8.6.10 (or later in the same release line).

How do I check if I'm affected by CVE-2019-6340?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors