DRUPAL-CORE-2026-017: Composer/drupal/core vulnerability
Update: the Security Team has received a report this was exploited on live sites as early as 2026-11-19 19:00 UTC.
Drupal core ships with an install.php file for installing Drupal core.
Under specific conditions, an attacker can use the installer to attempt to reinstall Drupal. This can lead to a site takeover or remote code execution.
Some (but not all) exploit paths are mitigated if the web server cannot write to or change permissions on settings.php. In addition to upgrading, the Drupal Security Team recommends securing the Drupal installer after installation.
Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-GMRPK0BU.
Drupal Steward protection:
This issue is being protected by Drupal Steward. Sites that use Drupal Steward are already protected from known attack vectors, but sites should upgrade in the near future in case additional attack vectors are discovered.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 10.6.22 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 11.3.22 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 11.4.13 - Compensating control
Configure file permissions so the web server cannot write to or change permissions on settings.php.
Event History
Frequently Asked Questions
What conditions increase the likelihood of a successful takeover or remote code execution attempt?
The issue applies under specific conditions that allow an attacker to use install.php to attempt a Drupal reinstallation. Exploit paths are mitigated when the web server cannot write to or change permissions on settings.php.
What should teams do besides upgrading?
Secure the Drupal installer after installation, as recommended by the Drupal Security Team. Restricting the web server's ability to write to or change permissions on settings.php also mitigates some exploit paths.
Does Drupal Steward fully mitigate this issue?
No. Drupal Steward protects against some known attack vectors, but it does not cover all possible exploits; affected sites should still upgrade in the near future.