CVE-2019-6340
KEVHIGH 8.1EPSS 92.0%
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.1
- 8.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1
- 8.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.0
- 8.1 HIGH
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H - CVSS v2.0
- 6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P - EPSS
- 92.02% chance of exploitation in the next 30 days, 100th percentile
- CISA KEV
- added 2022-03-25
- Nuclei
- high · CWE-502
- Published
- 2019-02-21
- Updated
- 2025-10-21
Proof-of-concept exploits (15)
- DevDungeon/CVE-2019-6340-Drupal-8.6.9-REST-Auth-Bypass2★ · 2019-02-25
- Mezantrop74/M3M00★ · 2020-05-12
- Sumitpathania03/Drupal-cve-2019-63400★ · 2023-03-21
- borahan951/priv8.mechploit1★ · 2019-11-10
- cved-sources/cve-2019-63400★ · 2021-04-15
- d1vious/cve-2019-6340-bits0★ · 2019-03-12
- honeybot/wtf-plugin-honeybot-cve_2019_63401★ · 2019-03-06
- jas502n/CVE-2019-634071★ · 2020-06-10
- josehelps/cve-2019-6340-bits0★ · 2019-03-12
- knqyf263/CVE-2019-634042★ · 2023-06-19
- nobodyatall648/CVE-2019-63400★ · 2021-05-01
- oways/CVE-2019-634012★ · 2019-02-25
- reanzai/Reanzai-Penetration-Testing-tool0★ · 2024-12-30
- starling021/M3M03★ · 2020-08-30
- joaoaugustom/Drupal_REST-RCE_Unauthenticated
Nuclei templates (1)
Metasploit modules (1)
ExploitDB entries (3)
- https://www.exploit-db.com/exploits/46510
- https://www.exploit-db.com/exploits/46459
- https://www.exploit-db.com/exploits/46452
Exploit collections (2)
- chaitin/xray/blob/master/pocs/drupal-cve-2019-6340.yml
- zan8in/afrog/blob/main/pocs/afrog-pocs/CVE/2019/CVE-2019-6340.yaml