All reports
High

Drupal Core Remote Code Execution Vulnerability

Affected versions

Version ranges need review.

Composerdrupal/core
Affected versions
>= 8.0.0, < 8.5.11
Fixed version
8.5.11
Composerdrupal/core
Affected versions
>= 8.0.0 <8.5.11 || >=8.6.0 <8.6.10
Fixed version
8.5.11 · 8.6.10
Composerdrupal/core
Affected versions
>= 8.6.0, < 8.6.10
Fixed version
8.6.10
Composerdrupal/core
Affected versions
>= 7.0.0, < 7.62.0
Fixed version
7.62.0
Composerdrupal/core
Affected versions
>=7.0.0,<7.62.0|>=8.0.0,<8.1.0|>=8.1.0,<8.2.0|>=8.2.0,<8.3.0|>=8.3.0,<8.4.0|>=8.4.0,<8.5.0|>=8.5.0,<8.5.11|>=8.6.0,<8.6.10
Fixed version
Not reported
Affected versions
>= 8.0.0, < 8.5.11
Fixed version
8.5.11
Affected versions
>= 8.6.0, < 8.6.10
Fixed version
8.6.10
Affected versions
>=7.0.0,<7.62.0|>=8.0.0,<8.1.0|>=8.1.0,<8.2.0|>=8.2.0,<8.3.0|>=8.3.0,<8.4.0|>=8.4.0,<8.5.0|>=8.5.0,<8.5.11|>=8.6.0,<8.6.10
Fixed version
Not reported
Affected versions
>= 7.0.0, < 7.62.0
Fixed version
7.62.0

Exploitation

CVE-2019-6340

Exploitation in the wild has been reported · CISA KEV

Date added: 2022-03-25

Probability of exploitation in the next 30 days: 92.02%

FIRST EPSS · 2026-11-20

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

Links

Credits

  • Samuel Mortenson

Data rights and licenses

Drupal Security Team

Copyright (c) 2025 Ackama

The MIT License (MIT) Copyright (c) 2025 Ackama Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

License terms