Itdaily - Attackers exploit critical Drupal flaw to take over websites

Attackers exploit critical Drupal flaw to take over websites

Magnifying glass over the drupal.org website, with the Drupal logo in the center of the screen.

Attackers are exploiting a highly critical Drupal vulnerability in the install.php installation file to take over websites that have not yet been updated.

The Drupal Security Team patched a highly critical vulnerability in Drupal core on 18 November. Drupal core is the foundation of the open source content management system Drupal. The flaw (CVE-2026-132165) allows an attacker without an account to take over a website. According to the team, it was already being exploited on live websites on 19 November from 8 p.m. Belgian time.

Drupal gives the vulnerability a risk score of 20 out of 25, which corresponds to the highest category, highly critical. The flaw was discovered with the OSS Scanner from Anthropic.

Drupal vulnerability sits in install.php

Every Drupal installation contains the file install.php. You need that script once, to set up the website. After installation, it stays on the server by default. Under certain circumstances, an attacker can use that script to try to reinstall Drupal. That allows them to take over the site or run their own code on the server (remote code execution).

According to Drupal, the attack is complex and only works with less common module configurations. An attacker does not need to be logged in. If the attack succeeds, they gain access to all non-public data on the website and can also modify or delete it.

Some of the attack routes do not work if the web server cannot modify the configuration file settings.php or change its permissions. Websites that use the security service Drupal Steward are already protected against the known attack routes. Drupal advises them to update soon as well, in case new routes emerge.

Affected versions

All versions of Drupal 10 before 10.6.22, Drupal 11.0 up to and including 11.3 before 11.3.22, and Drupal 11.4 before 11.4.13 are vulnerable. The flaw is fixed in security updates 10.6.22, 11.3.22 and 11.4.13.

Drupal 11.2 and older and Drupal 10.5 and older no longer receive security updates, just like Drupal 8 and 9. There is no fix for websites on those versions. They must first move to a supported version.

Shielding the installer

Drupal advises administrators to update immediately and then shield install.php. If an administrator cannot update right away, they are best off shielding the file now. Drupal describes how to do this: block access in the web server configuration (Apache or Nginx), via the .htaccess file, or by deleting install.php. Composer restores a deleted file with every update, which is why Drupal recommends combining deletion and blocking.

Some managed hosting platforms already block the installer, so checking with the hosting provider is a good first step. Anyone who wants to find out whether a website has already been breached via the installer will find a separate guide at Drupal.