Every CVE Search/ Get API key

CVE-2020-13671

Drupal core Unrestricted Upload of File with Dangerous Type

8.8 HighIn KEVPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

36.2%Up 35.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 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 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.

Record
CVE-2020-13671
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-434
Updated
2026-11-02
CVE List 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 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.

Record
CVE-2020-13671
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-434
Updated
2026-11-02
EUVDEUVD-2021-2168 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 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.

Record
EUVD-2021-2168
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-68jc-v27h-vhmw 8.8

Drupal core Unrestricted Upload of File with Dangerous Type

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.

Record
GHSA-68jc-v27h-vhmw
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-434
Updated
2026-11-02
CISA KEV No score

Drupal core Un-restricted Upload of File

Improper sanitization in the extension file names is present in Drupal core.

Record
CVE-2020-13671
Weakness
CWE-434
Updated
2026-11-02
OSVALPINE-CVE-2020-13671 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 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.

Record
ALPINE-CVE-2020-13671
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
Show 7 moreShow less
OSV 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 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.

Record
CVE-2020-13671
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-68jc-v27h-vhmw 8.8

Drupal core Unrestricted Upload of File with Dangerous Type

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.

Record
GHSA-68jc-v27h-vhmw
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-434
Updated
2026-11-02
OSVUBUNTU-CVE-2020-13671 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 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.

Record
UBUNTU-CVE-2020-13671
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-drupal-2020-13671 No score

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.

Record
BIT-drupal-2020-13671
Updated
2026-11-02
OSVDRUPAL-CORE-2020-012 No score

Update November 18: Documented longer list of dangerous file extensions

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.

Record
DRUPAL-CORE-2020-012
Updated
2026-11-02
OSVUSN-6981-1 No score

drupal7 vulnerabilities

It was discovered that Drupal incorrectly sanitized uploaded filenames. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2020-13671)

It was discovered that Drupal incorrectly sanitized archived filenames. A remote attacker could possibly use this issue to overwrite arbitrary files, or execute arbitrary code. (CVE-2020-28948, CVE-2020-28949)

Record
USN-6981-1
Updated
2026-11-02
OSVUSN-6981-2 No score

drupal7 vulnerabilities

USN-6981-1 fixed vulnerabilities in Drupal. This update provides the corresponding updates for Ubuntu 14.04 LTS.

Original advisory details:

It was discovered that Drupal incorrectly sanitized uploaded filenames. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2020-13671)

It was discovered that Drupal incorrectly sanitized archived filenames. A remote attacker could possibly use this issue to overwrite arbitrary files, or execute arbitrary code. (CVE-2020-28948, CVE-2020-28949)

Record
USN-6981-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
drupal/core
Packagist
9.0.0 up to 9.0.8
9.0.8
drupal/core
Packagist
8.9.0 up to 8.9.9
8.9.9
drupal/core
Packagist
8.0.0 up to 8.8.11
8.8.11
drupal/core
Packagist
7.0.0 up to 7.74
7.74
drupal/drupal
Packagist
7.0.0 up to 7.74
7.74
drupal/drupal
Packagist
8.0.0 up to 8.8.11
8.8.11
drupal/drupal
Packagist
8.9.0 up to 8.9.9
8.9.9
drupal/drupal
Packagist
9.0.0 up to 9.0.8
9.0.8
drupal7
Alpine:v3.11
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.12
before 7.74-r0
7.74-r0
Show 21 moreShow less
Affected packages
PackageAffectedFixed
drupal7
Alpine:v3.13
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.14
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.15
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.16
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.17
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.18
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.19
before 7.74-r0
7.74-r0
drupal7
Alpine:v3.20
before 7.74-r0
7.74-r0
drupal
Bitnami
7.0.0 up to 7.74.0, 8.8.0 up to 8.8.11, 8.9.0 up to 8.9.9, 9.0.0 up to 9.0.8
7.74.08.8.118.9.99.0.8
drupal7
Debian:9
From an advisory covering 2 CVEs
before 7.52-2+deb9u12, plus listed versions
7.52-27.52-2+deb9u17.52-2+deb9u107.52-2+deb9u117.52-2+deb9u2
Show 7 moreShow less
7.52-2+deb9u37.52-2+deb9u47.52-2+deb9u57.52-2+deb9u67.52-2+deb9u77.52-2+deb9u87.52-2+deb9u9
7.52-2+deb9u12
drupal/core
Packagist
8.0.0 up to 8.8.11, 8.9.0 up to 8.9.9, 9.0.0 up to 9.0.8, plus listed versions
8.0.18.0.28.0.38.0.48.0.5
Show 45 moreShow less
8.0.68.1.08.1.0-beta18.1.0-beta28.1.0-rc18.1.18.1.108.1.28.1.38.1.48.1.58.1.68.1.78.1.88.1.98.2.08.2.0-beta18.2.0-beta28.2.0-beta38.2.0-rc18.2.0-rc28.2.18.2.28.2.38.2.48.2.58.2.68.2.78.2.88.3.08.3.0-alpha18.3.0-beta18.3.0-rc18.3.0-rc28.3.18.3.28.3.38.3.48.3.58.3.68.3.78.3.88.3.98.4.08.4.0-alpha1
8.8.118.9.99.0.8
drupal/core
Packagist
9.0.0 up to 9.0.8, plus listed versions
9.0.19.0.29.0.39.0.49.0.59.0.69.0.7
9.0.8
drupal/core
Packagist
8.9.0 up to 8.9.9, plus listed versions
8.9.18.9.28.9.38.9.48.9.58.9.68.9.78.9.8
8.9.9
drupal/core
Packagist
8.0.0 up to 8.8.11, plus listed versions
8.0.18.0.28.0.38.0.48.0.5
Show 45 moreShow less
8.0.68.1.08.1.0-beta18.1.0-beta28.1.0-rc18.1.18.1.108.1.28.1.38.1.48.1.58.1.68.1.78.1.88.1.98.2.08.2.0-beta18.2.0-beta28.2.0-beta38.2.0-rc18.2.0-rc28.2.18.2.28.2.38.2.48.2.58.2.68.2.78.2.88.3.08.3.0-alpha18.3.0-beta18.3.0-rc18.3.0-rc28.3.18.3.28.3.38.3.48.3.58.3.68.3.78.3.88.3.98.4.08.4.0-alpha1
8.8.11
drupal/drupal
Packagist
8.0.0 up to 8.8.11, plus listed versions
8.0.18.0.28.0.38.0.48.0.5
Show 45 moreShow less
8.0.68.1.08.1.0-beta18.1.0-beta28.1.0-rc18.1.18.1.108.1.28.1.38.1.48.1.58.1.68.1.78.1.88.1.98.2.08.2.0-beta18.2.0-beta28.2.0-beta38.2.0-rc18.2.0-rc28.2.18.2.28.2.38.2.48.2.58.2.68.2.78.2.88.3.08.3.0-alpha18.3.0-beta18.3.0-rc18.3.0-rc28.3.18.3.28.3.38.3.48.3.58.3.68.3.78.3.88.3.98.4.08.4.0-alpha1
8.8.11
drupal/drupal
Packagist
8.9.0 up to 8.9.9, plus listed versions
8.9.18.9.28.9.38.9.48.9.58.9.68.9.78.9.8
8.9.9
drupal/drupal
Packagist
9.0.0 up to 9.0.8, plus listed versions
9.0.19.0.29.0.39.0.49.0.59.0.69.0.7
9.0.8
drupal7
Ubuntu:Pro:14.04:LTS
before 7.26-1ubuntu0.1+esm2, plus listed versions
7.23-17.24-17.24-27.26-17.26-1ubuntu0.17.26-1ubuntu0.1+esm1
7.26-1ubuntu0.1+esm2
drupal7
Ubuntu:Pro:16.04:LTS
before 7.44-1ubuntu1~16.04.0+esm2, plus listed versions
7.38-17.41-17.44-1ubuntu1~16.04.07.44-1ubuntu1~16.04.0+esm1
7.44-1ubuntu1~16.04.0+esm2
drupal7
Ubuntu:Pro:16.04:LTS
From an advisory covering 3 CVEs
before 7.44-1ubuntu1~16.04.0+esm2, plus listed versions
7.38-17.41-17.44-1ubuntu1~16.04.07.44-1ubuntu1~16.04.0+esm1
7.44-1ubuntu1~16.04.0+esm2
drupal7
Ubuntu:Pro:14.04:LTS
From an advisory covering 3 CVEs
before 7.26-1ubuntu0.1+esm2, plus listed versions
7.23-17.24-17.24-27.26-17.26-1ubuntu0.17.26-1ubuntu0.1+esm1
7.26-1ubuntu0.1+esm2

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubDungsocool/CVE-2020-136712026-08-22
PoC in GitHubDungsocool/CVE-2020-13671-old2026-08-22
PoC in GitHubivanesk315/CVE-2020-136712026-09-10

History

History
RecordedChangedSources
affected
exploitation
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, CISA KEV, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-13671 is a high vulnerability (CVSS 8.8) in Drupal, published November 18, 2020. CISA lists it as known to be exploited, since January 18, 2022. EUVD reports exploitation since January 18, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 36.2%, the 98th percentile. Fixed in drupal/core 9.0.8.

References

Show 14 moreShow less
This page doesn't list everything

Left out here: 276 versions. The JSON record has them.

MoveEnter Open