GHSA-8cw5-rv98-5c46

    Dashboard / Vulnerabilities / GHSA-8cw5-rv98-5c46

    GHSA-8cw5-rv98-5c46

    Published: 6 Jan 2022Last Modified: 10 Dec 2025

    Summary: Arbitrary PHP code execution in Drupal

    Details: In Drupal Core versions 7.x prior to 7.62, 8.6.x prior to 8.6.6, and 8.5.x prior to 8.5.9; A remote code execution vulnerability exists in PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI. Some Drupal code (core, contrib, and custom) may be performing file operations on insufficiently validated user input, thereby being exposed to this vulnerability. This vulnerability is mitigated by the fact that such code paths typically require access to an administrative permission or an atypical configuration.

    Affected packages

    Package

    Name: drupal/drupal

    Purl: pkg:composer/drupal/drupal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 7.0.0
    Fixed -7.62.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
    GHSA-8cw5-rv98-5c46 | CVE-DB