DRUPAL-CORE-2021-008 in drupal/core
Published 15 Sept 2021 · Updated 19 Sept 2026
Is your project on an affected drupal/core?
Affected package
- Affected
- >=8.0.0 <8.9.19 · >=9.1.0 <9.1.13 · >=9.2.0 <9.2.6
- Fixed in
- 8.9.19, 9.1.13, 9.2.6
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.
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 which addresses a similar vulnerability for that module.
Is DRUPAL-CORE-2021-008 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.
More advisories for drupal/core
- LowCVE-2026-108514No summary published · 14 Oct 2026
- LowCVE-2026-108515No summary published · 14 Oct 2026
- LowCVE-2026-108097No summary published · 14 Oct 2026
- LowDRUPAL-CORE-2026-013No summary published · 16 Sept 2026
- LowCVE-2026-55805No summary published · 15 Jul 2026
- LowCVE-2026-15917No summary published · 15 Jul 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.