# CVE-2020-13671: Drupal core Unrestricted Upload of File with Dangerous Type

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2022-01-18. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 32.6%, higher than 98% of CVEs (2026-12-02)
- Published: 2020-11-18T17:18:31.000Z
- Modified: 2026-09-19T17:38:35.000Z
- Also known as: GHSA-68jc-v27h-vhmw, BIT-DRUPAL-2020-13671, DRUPAL-CORE-2020-012
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: drupal

## Description

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.

(As written by CVE List.)

## Affected

- 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; 7 versions prior to 7.74
- drupal/core (Packagist): from 9.0.0 before 9.0.8; from 8.9.0 before 8.9.9; from 8.0.0 before 8.8.11; from 7.0.0 before 7.74
- drupal/drupal (Packagist): from 7.0.0 before 7.74; from 8.0.0 before 8.8.11; from 8.9.0 before 8.9.9; from 9.0.0 before 9.0.8
- drupal 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
- fedoraproject fedora: 32; 33
- drupal (Bitnami): from 7.0.0 before 7.74.0; from 8.8.0 before 8.8.11; from 8.9.0 before 8.9.9; from 9.0.0 before 9.0.8

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.drupal.org/sa-core-2020-012> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/> (discussion, mailing-list, release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/> (discussion, mailing-list, release-notes, vendor-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13671> (advisory, kev, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml> (web)
- <https://github.com/drupal/core> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT> (web)

## Sources

- CVE List: [CVE-2020-13671](https://www.cve.org/CVERecord?id=CVE-2020-13671), CVE Terms of Use, modified 2025-10-21
- GitHub Advisory Database: [GHSA-68jc-v27h-vhmw](https://github.com/advisories/GHSA-68jc-v27h-vhmw), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CORE-2020-012](https://osv.dev/vulnerability/DRUPAL-CORE-2020-012), MIT, modified 2026-09-19
- NVD: [CVE-2020-13671](https://nvd.nist.gov/vuln/detail/CVE-2020-13671), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DRUPAL-2020-13671](https://osv.dev/vulnerability/BIT-DRUPAL-2020-13671), Apache-2.0, modified 2026-09-08
- CISA KEV: [CVE-2020-13671](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-13671), CC0-1.0, modified 2022-01-18

---

Page: https://cve.day/CVE-2020-13671 · Whole record: https://cve.day/CVE-2020-13671.json · Rebuilt by cve.day 2026-11-25T22:57:55.898Z
