CVE-2020-13675
highpriority · track · 39EPSS 0.014 · 72 %ileEUUSEPSS · scored 2026-10-24
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
- Packagist:https://packages.drupal.org/8 drupal/graphql4.0.0 → 4.2.0osvUSpkg:composer/drupal/graphql?repository_url=https:%2F%2Fpackages.drupal.org%2F8
advisories (4)
Vendor and ecosystem advisories describing this.
- GHSA-v8wr-r69p-mmwxUnrestricted Upload of File with Dangerous Type in Drupal core2022-02-12ghsa · osvUS
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.
- BIT-drupal-2020-136752024-03-06vendor · osvUS
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.
- DRUPAL-CONTRIB-2021-0292021-09-15vendor · osvUS
This advisory addresses a similar issue to [Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008](https://www.drupal.org/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: 1. The GraphQL module must be enabled on the site. 2. The GraphQL schema must expose a file upload by using the helper "src/GraphQL/Utility/FileUpload.php" in the module. 3. An attacker must have access to that file upload via the GraphQL API. 4. The site must employ a file validation module.
- DRUPAL-CORE-2021-0082021-09-15vendor · osvUS
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: 1. The JSON:API or REST File upload modules must be enabled on the site. 2. An attacker must have access to a file upload via JSON:API or REST. 3. The site must employ a file validation module. This advisory is not covered by [Drupal Steward](/steward). Also see [GraphQL - Moderately critical - Access bypass - SA-CONTRIB-2021-029](https://www.drupal.org/sa-contrib-2021-029) which addresses a similar vulnerability for that module.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202109-1011cnnvd
- EUVD-2022-1196enisa_euvd
- GHSA-v8wr-r69p-mmwxenisa_euvd
- BIT-drupal-2020-13675osv
- DRUPAL-CONTRIB-2021-029osv
- DRUPAL-CORE-2021-008osv
- GHSA-v8wr-r69p-mmwxosv
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2020-13675cnnvd
- https://vigilance.fr/vulnerability/Drupal-GraphQL-file-upload-via-HTTP-API-36430cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3121cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3133cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021091524cnnvd
- https://www.drupal.org/sa-core-2021-008cnnvd
- https://www.drupal.org/sa-core-2021-010。Patchcnnvd
- https://www.drupal.org/sa-core-2021-008enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan