CVE-2020-13671Drupal core
Unrestricted File Upload in Drupal Core
High 8.8 KEV High EPSS
Follow: this CVE · Drupal · Drupal core We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 8.8
- EPSS
- 32.6% probability of exploitation in 30 days · percentile 99
- Auth required
- Yes
- In KEV since
- Jan 18, 2022
- CISA deadline
- Jul 18, 2022
- Ransomware use
- Unknown
- Published
- Nov 20, 2020
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Drupal Core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted with incorrect extension or executed as PHP in certain hosting configurations. Affects versions 7.x prior to 7.74, 8.8.x prior to 8.8.11, 8.9.x prior to 8.9.9, and 9.0.x prior to 9.0.8. CISA confirmed this vulnerability is being actively exploited.
Show the original NVD text
Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.
Exploitation confirmed by CISA
Improper sanitization in the extension file names is present in Drupal core.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 7.74, 8.8.11, 8.9.9, 9.0.8
Update Drupal Core to the corresponding fixed version: 7.74, 8.8.11, 8.9.9, or 9.0.8 depending on your version branch.
- Apply the vendor's security update for Drupal core.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was July 18, 2022.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.8.11 |
8.8.11 |
composer require "drupal/core:^8.8.11" |
| Packagist | drupal/core |
≥ 8.9.0 < 8.9.9 |
8.9.9 |
composer require "drupal/core:^8.9.9" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.8 |
9.0.8 |
composer require "drupal/core:^9.0.8" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.8 |
9.0.8 |
composer require "drupal/core:^9.0.8" |
| Packagist | drupal/core |
≥ 8.9.0 < 8.9.9 |
8.9.9 |
composer require "drupal/core:^8.9.9" |
| Packagist | drupal/core |
≥ 8.0.0 < 8.8.11 |
8.8.11 |
composer require "drupal/core:^8.8.11" |
| Packagist | drupal/core |
≥ 7.0.0 < 7.74 |
7.74 |
composer require "drupal/core:^7.74" |
| Packagist | drupal/drupal |
≥ 7.0.0 < 7.74 |
7.74 |
composer require "drupal/drupal:^7.74" |
| Packagist | drupal/drupal |
≥ 8.0.0 < 8.8.11 |
8.8.11 |
composer require "drupal/drupal:^8.8.11" |
| Packagist | drupal/drupal |
≥ 8.9.0 < 8.9.9 |
8.9.9 |
composer require "drupal/drupal:^8.9.9" |
| Packagist | drupal/drupal |
≥ 9.0.0 < 9.0.8 |
9.0.8 |
composer require "drupal/drupal:^9.0.8" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2020-012, GHSA-68jc-v27h-vhmw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 7.0 < 7.74 |
| drupal | drupal | ≥ 8.8.0 < 8.8.11 |
| drupal | drupal | ≥ 8.9.0 < 8.9.9 |
| drupal | drupal | ≥ 9.0.0 < 9.0.8 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Mailing List Release Notes
- lists.fedoraproject.org Mailing List Release Notes
- www.drupal.org Vendor Advisory
- www.cisa.gov US Government Resource