CVE-2019-6340
Drupal core - Highly critical - Remote Code Execution
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.)
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 92.017% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: confirmed catalog inclusion. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T19:06:03.809Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:16.369Z | OSV |
| affected | verified | 2026-11-19T19:04:21.818Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:21.818Z | CVE Program |
Affected versions and configuration
Drupal Drupal Core; default status: unknown: 8.5 to < 8.5.11 [affected; scheme: custom]; 8.6 to < 8.6.10 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Drupal",
"product": "Drupal Core",
"versions": [
{
"status": "affected",
"version": "8.5",
"lessThan": "8.5.11",
"versionType": "custom"
},
{
"status": "affected",
"version": "8.6",
"lessThan": "8.6.10",
"versionType": "custom"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://www.synology.com/security/advisory/Synology_SA_19_09",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/46452/",
"name": "46452",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "https://www.drupal.org/sa-core-2019-003",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/46510/",
"name": "46510",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/107106",
"name": "107106",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/46459/",
"name": "46459",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T20:16:24.806Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2019-6340",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "active"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-02-07T12:38:47.444954Z"
}
}
},
{
"other": {
"type": "kev",
"content": {
"dateAdded": "2022-03-25",
"reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340"
}
}
}
],
"timeline": [
{
"lang": "en",
"time": "2022-03-25T00:00:00.000Z",
"value": "CVE-2019-6340 added to CISA KEV"
}
],
"references": [
{
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340",
"tags": [
"government-resource"
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-502",
"description": "CWE-502 Deserialization of Untrusted Data"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-21T23:45:43.200Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "DRUPAL-CORE-2019-003",
"aliases": [
"CVE-2019-6340",
"GHSA-3gx6-h57h-rm27"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.5.11"
}
],
"database_specific": {
"constraint": ">= 8.0.0 <8.5.11"
}
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.6.0"
},
{
"fixed": "8.6.10"
}
],
"database_specific": {
"constraint": ">=8.6.0 <8.6.10"
}
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.0.0",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2",
"8.4.1",
"8.4.2",
"8.4.3",
"8.4.4",
"8.4.5",
"8.4.6",
"8.4.7",
"8.4.8",
"8.5.0",
"8.5.0-alpha1",
"8.5.0-beta1",
"8.5.0-rc1",
"8.5.1",
"8.5.10",
"8.5.2",
"8.5.3",
"8.5.4",
"8.5.5",
"8.5.6",
"8.5.7",
"8.5.8",
"8.5.9",
"8.6.0",
"8.6.1",
"8.6.2",
"8.6.3",
"8.6.4",
"8.6.5",
"8.6.6",
"8.6.7",
"8.6.8",
"8.6.9"
],
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/core/DRUPAL-CORE-2019-003.json",
"affected_versions": ">= 8.0.0 <8.5.11 || >=8.6.0 <8.6.10"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://www.drupal.org/sa-core-2019-003",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3gx6-h57h-rm27",
"aliases": [
"CVE-2019-6340",
"DRUPAL-CORE-2019-003"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.6.0"
},
{
"fixed": "8.6.10"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.6.0",
"8.6.1",
"8.6.2",
"8.6.3",
"8.6.4",
"8.6.5",
"8.6.6",
"8.6.7",
"8.6.8",
"8.6.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3gx6-h57h-rm27/GHSA-3gx6-h57h-rm27.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.62.0"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3gx6-h57h-rm27/GHSA-3gx6-h57h-rm27.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.5.11"
}
]
}
],
"package": {
"name": "drupal/core",
"purl": "pkg:composer/drupal/core",
"ecosystem": "Packagist"
},
"versions": [
"8.0.0",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2",
"8.4.1",
"8.4.2",
"8.4.3",
"8.4.4",
"8.4.5",
"8.4.6",
"8.4.7",
"8.4.8",
"8.5.0",
"8.5.0-alpha1",
"8.5.0-beta1",
"8.5.0-rc1",
"8.5.1",
"8.5.10",
"8.5.2",
"8.5.3",
"8.5.4",
"8.5.5",
"8.5.6",
"8.5.7",
"8.5.8",
"8.5.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3gx6-h57h-rm27/GHSA-3gx6-h57h-rm27.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6340",
"type": "ADVISORY"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6340.yaml",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6340.yaml",
"type": "WEB"
},
{
"url": "https://github.com/drupal/drupal",
"type": "PACKAGE"
},
{
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340",
"type": "WEB"
},
{
"url": "https://www.drupal.org/sa-core-2019-003",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/exploits/46452",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/exploits/46459",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/exploits/46510",
"type": "WEB"
},
{
"url": "https://www.synology.com/security/advisory/Synology_SA_19_09",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-502"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2019-02-21T21:29:00Z",
"github_reviewed_at": "2024-04-23T17:19:43Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 8.5.11 | Official record |
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 8.6.10 | Official record |
| ecosystem-boundary | Packagist / package | drupal/core | Not a distribution channel | 7.62.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:04:21.818ZArchived source JSON
Source publication: 2019-02-21T21:00:00.000Z
Source modification: 2025-10-21T23:45:43.200ZDocument fingerprint
468719ebaee75b8b9e134779f149c97bb3f3f0524eaef3d72116d11332ec9f99 - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T19:06:03.809ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
bb4aa024c9936b87aac17d03e2a74eddf1e3cb1acde3808380d4d40399cb3e38 - OSVConsulted: 2026-11-19T19:03:16.369ZArchived source JSON
Source publication: 2019-02-20T19:18:48.000Z
Source modification: 2026-09-19T19:59:43.000ZDocument fingerprint
dc2ee21c8ebfbe0b2c6de58e35476f6ba3b751ccbf9bb7278035cd83be90832b - OSVConsulted: 2026-11-19T19:03:16.369ZArchived source JSON
Source publication: 2022-05-13T01:22:41.000Z
Source modification: 2025-12-10T23:41:09.322ZDocument fingerprint
dc2ee21c8ebfbe0b2c6de58e35476f6ba3b751ccbf9bb7278035cd83be90832b
Official status history
- UNKNOWN → PUBLISHED · · evidence