Actively exploited vulnerability / CVE-2020-13671
Drupal: files uploaded to a website can end up running code on the server
A flaw in Drupal core means some uploaded files are not checked properly by their names. On certain hosting setups, an attacker can get such a file treated as the wrong type or even run as a program on the server, which can give them control over the website and its data. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2020-13671 · EUVD-2021-2168
- Severity
- High (8.8/10)
- On the CISA list (US)
- yes, since 18 January 2022
- Deadline given to US federal agencies
- 18 July 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 32.6% (FIRST's estimate for the next 30 days)
Does it concern you?
Drupal is a content management system used for company websites, portals and online shops. It concerns you if your company's website is built on Drupal.
The version is shown in the site's administration area under the status report, or you can ask the company or person who maintains your website. Affected are version 7 before 7.74, 8.8 before 8.8.11, 8.9 before 8.9.9 and 9.0 before 9.0.8.
Affected products and versions
- Drupal core
- drupal: from 7.0 before 7.74; from 8.8.0 before 8.8.11; from 8.9.0 before 8.9.9; from 9.0.0 before 9.0.8
What to do
Update Drupal core to version 7.74, 8.8.11, 8.9.9 or 9.0.8, or later, following Drupal's instructions. If you do not manage the site yourself, ask whoever maintains it to apply the update.
Versions that contain the fix: 7.74, 8.8.11, 8.9.9, 9.0.8.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.