CVE-2020-13675
Unrestricted Upload of File with Dangerous Type in Drupal core
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
CVE-2020-13675- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-284, CWE-434
- Updated
- 2026-11-02
CVE List No score
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
CVE-2020-13675- Weakness
- CWE-284
- Updated
- 2026-11-02
EUVDEUVD-2022-1196 No score
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
EUVD-2022-1196- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v8wr-r69p-mmwx
9.8
Unrestricted Upload of File with Dangerous Type in Drupal core
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
GHSA-v8wr-r69p-mmwx- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-284, CWE-434
- Updated
- 2026-11-02
OSV
9.8
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
CVE-2020-13675- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-v8wr-r69p-mmwx
9.8
Unrestricted Upload of File with Dangerous Type in Drupal core
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
GHSA-v8wr-r69p-mmwx- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-284, CWE-434
- Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2020-13675
9.8
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
UBUNTU-CVE-2020-13675- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-drupal-2020-13675 No score
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
- Record
BIT-drupal-2020-13675- Updated
- 2026-11-02
OSVDRUPAL-CONTRIB-2021-029 No score
This advisory addresses a similar issue to Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008.
The GraphQL module allows file uploads through its HTTP API. The module does not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
This vulnerability is mitigated by four factors:
- The GraphQL module must be enabled on the site.
- The GraphQL schema must expose a file upload by using the helper "src/GraphQL/Utility/FileUpload.php" in the module.
- An attacker must have access to that file upload via the GraphQL API.
- The site must employ a file validation module.
- Record
DRUPAL-CONTRIB-2021-029- Updated
- 2026-11-02
OSVDRUPAL-CORE-2021-008 No score
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
This vulnerability is mitigated by three factors:
- The JSON:API or REST File upload modules must be enabled on the site.
- An attacker must have access to a file upload via JSON:API or REST.
- The site must employ a file validation module.
This advisory is not covered by Drupal Steward.
Also see GraphQL - Moderately critical - Access bypass - SA-CONTRIB-2021-029 which addresses a similar vulnerability for that module.
- Record
DRUPAL-CORE-2021-008- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
drupal/corePackagist |
9.1.0 up to 9.1.13 | 9.1.13 |
drupal/corePackagist |
9.2.0 up to 9.2.6 | 9.2.6 |
drupal/corePackagist |
8.0.0 up to 8.9.19 | 8.9.19 |
drupalBitnami |
8.0.0 up to 8.9.19, 9.1.0 up to 9.1.13, 9.2.0 up to 9.2.6 | 8.9.199.1.139.2.6 |
drupal/graphqlPackagist:https://packages.drupal.org/8 |
4.0.0 up to 4.2.0 | 4.2.0 |
drupal/corePackagist |
8.0.0 up to 8.9.19, 9.1.0 up to 9.1.13, 9.2.0 up to 9.2.6, plus listed versions 8.0.18.0.28.0.38.0.48.0.5 Show 45 moreShow less8.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.9.199.1.139.2.6 |
drupal/corePackagist |
8.0.0 up to 8.9.19, plus listed versions 8.0.18.0.28.0.38.0.48.0.5 Show 45 moreShow less8.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.9.19 |
drupal/corePackagist |
9.1.0 up to 9.1.13, plus listed versions 9.1.19.1.109.1.119.1.129.1.2 Show 7 moreShow less9.1.39.1.49.1.59.1.69.1.79.1.89.1.9 |
9.1.13 |
drupal/corePackagist |
9.2.0 up to 9.2.6, plus listed versions 9.2.19.2.29.2.39.2.49.2.5 |
9.2.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-13675 is a critical vulnerability (CVSS 9.8) in Drupal Core, published September 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.39%, the 72nd percentile. Fixed in drupal/core 9.1.13.
References
Left out here: 241 versions. The JSON record has them.