Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-13671: Drupal core Un-restricted Upload of File

80
Patch now
HIGH 8.8EXPLOITEDUPGRADEMITIGATE

CVE-2020-13671 is a high-severity flaw (CVSS 8.8) affecting drupal, fedora, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • EPSS top 2%: very likely to be exploited
  • Exploited in the wild (CISA KEV)

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance36.2% (top 2%)
CISA exploited listYes, fix due 2022-07-18
WeaknessCWE-434
Published2020-11-20
Last modified2026-06-17
Publisher (CNA): Drupal.org · Vendor: drupal · fedoraproject

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

drupal drupal UPGRADE
Affected: >= 7.0 and < 7.74 · >= 8.8.0 and < 8.8.11 · >= 8.9.0 and < 8.9.9 · >= 9.0.0 and < 9.0.8
Fixed in: 7.74, 8.8.11, 8.9.9, 9.0.8
Safe to downgrade to: a release before 7.0
1. Check installed version
apt-cache policy drupal || rpm -q drupal || drupal --version
2. UPGRADE to 7.74 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade drupal
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade drupal
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0 (Debian / Ubuntu)
apt-cache madison drupal sudo apt install drupal=<VERSION_BEFORE_7.0> sudo apt-mark hold drupal
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list drupal sudo dnf downgrade drupal-<VERSION_BEFORE_7.0> sudo dnf versionlock add drupal
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
fedoraproject fedora MITIGATE
Affected: 32 · 33
Fixed in: no fixed release known
Safe to downgrade to: a release before 32
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Composer (PHP) · drupal/core · FIXED · 9.0.8 · vulnerable: >= 9.0.0, < 9.0.8 · source
composer require "drupal/core:>=9.0.8"
Composer (PHP) · drupal/drupal · FIXED · 7.74 · vulnerable: >= 7.0.0, < 7.74 · source
composer require "drupal/drupal:>=7.74"
Fedora 46 · python-dtoc · FIXED · 0.1.0-1.fc46 · FEDORA-2026-e4734649a1 · source
sudo dnf upgrade --advisory=FEDORA-2026-e4734649a1
Fedora ELN · parallel · FIXED · 20261022-1.eln159 · FEDORA-2026-6d961c0286 · source
sudo dnf upgrade --advisory=FEDORA-2026-6d961c0286
Alpine 3.20 · drupal7 · FIXED · drupal7-7.74-r0
apk add --upgrade drupal7 apk info -v drupal7

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-13671?

drupal: upgrade to 7.74, 8.8.11, 8.9.9, 9.0.8; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2020-13671 being exploited?

Yes. CVE-2020-13671 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2020-13671 affect?

CVE-2020-13671 affects drupal, fedora. Severity is high (CVSS 8.8). 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 i

How urgent is CVE-2020-13671?

Priority 80/100. High severity; EPSS top 2%: very likely to be exploited; Exploited in the wild (CISA KEV)

Software pages

Drupal vulnerabilities · PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.