CVE-2019-6340
This CVE is being exploited. Apply the vendor fix, or take the service off the internet until you can, then check your logs for attempts.
What it is
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.)
Live exploitation on the huntback network (30 days)
Detection
Evidence
Confirmed exploited. Our decoys saw 2 exploitation attempts in the last 14 days; CISA added it to KEV 1690 days ago.
Last attempt. 13 attempts on our decoys, 2 in the last 14 days
First exploitation attempt on our decoys
Added to CISA Known Exploited Vulnerabilities
Published
Exploit code published (ExploitDB)
Exploit code published (Metasploit)
Nuclei detection template available
Observed: our own decoys saw it. Reported: CISA, the vendor or another named source says so. Weaponised: public exploit code or a scanner template exists. Methodology
Questions
Is CVE-2019-6340 being exploited in the wild?
Yes. The huntback decoy network captured 13 exploitation attempts from 5 distinct source IPs; the most recent was on 2026-11-04. It is also in the CISA KEV catalogue.
Can CVE-2019-6340 be detected on the network?
Yes. huntback carries a network signature for CVE-2019-6340, so attempts against a decoy are tagged in real time.
How huntback helps
Deploy a decoy that emulates Drupal and you will see every attempt at this CVE the moment it lands, with the full payload, the attacker's infrastructure, and any stage-2 loader. Then huntback can scan the attacker back.
Related
NVD record → Browse all CVEs → Live malware and C2 finds → Novel-attack discovery → Deploy a decoy →API
This record, with its evidence timeline, as JSON:
curl -H "X-API-Key: $HUNTBACK_KEY" https://app.huntback.io/api/v1/evidence/CVE-2019-6340