Drupal Core Arbitrary PHP code execution vulnerability
Published 24 May 2022 · Updated 10 Dec 2025
Affected packages
- Affected
- >=8.8.0 <8.8.8
- Fixed in
- 8.8.8
composer require drupal/core:^8.8.8- Affected
- >=8.9.0 <8.9.1
- Fixed in
- 8.9.1
composer require drupal/core:^8.9.1- Affected
- >=9.0.0 <9.0.1
- Fixed in
- 9.0.1
composer require drupal/core:^9.0.1- Affected
- >=8.8.0 <8.8.8
- Fixed in
- 8.8.8
composer require drupal/drupal:^8.8.8- Affected
- >=8.9.0 <8.9.1
- Fixed in
- 8.9.1
composer require drupal/drupal:^8.9.1- Affected
- >=9.0.0 <9.0.1
- Fixed in
- 9.0.1
composer require drupal/drupal:^9.0.1Details
Arbitrary PHP code execution vulnerability in Drupal Core under certain circumstances. An attacker could trick an administrator into visiting a malicious site that could result in creating a carefully named directory on the file system. With this directory in place, an attacker could attempt to brute force a remote code execution vulnerability. Windows servers are most likely to be affected. This issue affects: Drupal Drupal Core 8.8.x versions prior to 8.8.8; 8.9.x versions prior to 8.9.1; 9.0.1 versions prior to 9.0.1.
Is GHSA-x72f-ggjw-v5xh 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.