DRUPAL-CORE-2021-008

    Dashboard / Vulnerabilities / DRUPAL-CORE-2021-008

    DRUPAL-CORE-2021-008

    Published: 15 Sept 2021Last Modified: 19 Sept 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: drupal/core

    Purl: pkg:composer/drupal/core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 8.0.0
    Fixed -8.9.19

    Affected versions

    8.0.0
    8.0.1
    8.0.2
    8.0.3
    8.0.4
    8.0.5
    8.0.6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DRUPAL-CORE-2021-008 | CVE-DB