cve.bz

CVE-2019-6340 Drupal Core Remote Code Execution Vulnerability

8.1 highKEVExploitEPSS 92%Fix available

High (8.1) in Drupal Core. In CISA KEV since 2022-03-25. EPSS 92% estimated probability of exploitation activity in the next 30 days. Fixed in drupal/core 7.62.0, 8.5.11, 8.6.10.

On this page
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.)

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
92% (unchanged from 92% a week ago; 92% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-03-25, due 2022-04-15
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-6340 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-6340?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-6340?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-6340 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Drupal Corefrom 8.5 before 8.5.11
Drupal Corefrom 8.6 before 8.6.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
DRUPAL-CORE-2019-003Packagistdrupal/core>=8.0.0 <8.5.11
>=8.6.0 <8.6.10
8.5.11, 8.6.10
GHSA-3gx6-h57h-rm27Packagistdrupal/core>=8.6.0 <8.6.108.6.10
GHSA-3gx6-h57h-rm27Packagistdrupal/core>=7.0.0 <7.62.07.62.0
GHSA-3gx6-h57h-rm27Packagistdrupal/core>=8.0.0 <8.5.118.5.11
GHSA-3gx6-h57h-rm27Packagistdrupal/drupal>=7.0.0 <7.62.07.62.0
GHSA-3gx6-h57h-rm27Packagistdrupal/drupal>=8.0.0 <8.5.118.5.11
GHSA-3gx6-h57h-rm27Packagistdrupal/drupal>=8.6.0 <8.6.108.6.10

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON