DRUPAL-CONTRIB-2021-029

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2021-029

    DRUPAL-CONTRIB-2021-029

    Published: 15 Sept 2021Last Modified: 10 Sept 2026

    Summary:

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

    Affected packages

    Package

    Name: drupal/graphql

    Purl: pkg:composer/drupal/graphql?repository_url=https:%2F%2Fpackages.drupal.org%2F8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.0.0
    Fixed -4.2.0

    Affected versions

    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-CONTRIB-2021-029 | CVE-DB