CriticalGHSA-v8wr-r69p-mmwxBIT-drupal-2020-13675CVE-2020-13675DRUPAL-CONTRIB-2021-029DRUPAL-CORE-2021-008
Unrestricted Upload of File with Dangerous Type in Drupal core
Published 12 Feb 2022 · Updated 10 Dec 2025
Affected packages
drupal/coreComposer
- Affected
- >=8.0.0 <8.9.19
- Fixed in
- 8.9.19
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.9.19drupal/coreComposer
- Affected
- >=9.1.0 <9.1.13
- Fixed in
- 9.1.13
Update to the fixed version for your release line, for example:
composer require drupal/core:^9.1.13drupal/coreComposer
- Affected
- >=9.2.0 <9.2.6
- Fixed in
- 9.2.6
Update to the fixed version for your release line, for example:
composer require drupal/core:^9.2.6Details
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.
Is GHSA-v8wr-r69p-mmwx in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.