The critical CVE-2026-132165 vulnerability in the Drupal core, dubbed Fail2Install, allows an unauthenticated attacker to trigger reinstallation of an already running site and execute arbitrary PHP code. According to the official Drupal advisory, the security team received a report of the vulnerability being exploited on live sites starting November 19, 2026. CISA has added the vulnerability to its KEV catalog. Affected versions are Drupal 10.6.x below 10.6.22, Drupal 11.0.0–11.3.21, and Drupal 11.4.0–11.4.12. Patches are available — updating should be done immediately.
Attack mechanism: from denial of service to code execution
The vulnerability is based on a non-obvious logical flaw: before allowing the installer to run via install.php, Drupal checks whether the site is already installed. However, as shown in research by Searchlight Cyber, this check can be bypassed by artificially exhausting the server’s system resources.
According to researchers Kevin Jervois and Adam Kewis, the exploitation chain uses three resource exhaustion methods:
- EMFILE — exceeding the limit of open file descriptors for a Linux process
- Database connection exhaustion — filling up the MySQL or PostgreSQL connection pool
- TCP port exhaustion — exhausting available outgoing ports
When resources are exhausted, Drupal cannot connect to the database to verify the existing installation. Two consecutive connection failures are interpreted by the system as if no site is installed. The attacker then exploits a race condition: the third database connection check succeeds, and the installer opens for full use. The researchers describe this sequence as “FAIL, FAIL, SUCCESS”.
From reinstallation to PHP execution
Once they gain access to the installer, the attacker leverages Drupal’s SQLite support. The installer allows specifying a path to the database file and does not restrict the file extension. According to Searchlight Cyber, the attacker selects a path with a .php extension within the web server’s document root — the installer then creates an SQLite file with a PHP extension.
At the site configuration stage, Drupal writes the site name into the database. If the site name is provided as PHP code, the malicious payload ends up inside a file with a .php extension. For a standard Apache configuration, the researchers described a way to bypass .htaccess rules via a path-handling quirk in RewriteRule, which results in arbitrary PHP code execution.
According to Searchlight Cyber, the technique was reproduced on four common configurations: Apache with PostgreSQL, Apache with MySQL, PHP-FPM with PostgreSQL, and PHP-FPM with MySQL. Drupal 7 and Drupal 8 up to 8.9 are not affected by this vulnerability.
Severity assessment and exploitation status
The Drupal security team rated CVE-2026-132165 as Highly critical, giving it a score of 20 out of 25 on its own risk scale (AC:Complex/A:None/CI:All/II:All/E:Exploit/TD:Uncommon). The attack complexity is marked as high, but no authentication is required, and the impact includes complete compromise of confidentiality and integrity.
Drupal reports exploitation on live sites starting November 19, 2026 (19:00 UTC). It should be noted that no independent confirmation of this fact from third-party observers has been found in the available materials — the information is based on a report received by the Drupal security team.
CISA added the vulnerability to the KEV catalog on November 24, 2026, with a remediation deadline of November 27, 2026, for U.S. federal agencies.
Drupal in 2026: the third actively exploited vulnerability
CVE-2026-132165 is not the only security issue in the Drupal ecosystem this year. Earlier, CVE-2026-9082 — an SQL injection in the Drupal core affecting PostgreSQL deployments and available to anonymous users — was actively exploited. We have already covered this vulnerability in May.
In addition, CVE-2026-118539 — an access control bypass vulnerability — is being actively exploited. An important clarification: according to the official advisory, this vulnerability affects not the Drupal core, but the Commerce Core module — a separate product with its own versions and update cycle. More details on this issue are available in our article on CVE-2026-118539.
Remediation recommendations
Update Drupal to the fixed versions:
- Drupal 11.4.x → update to 11.4.13
- Drupal 11.3.x → update to 11.3.22
- Drupal 10.6.x → update to 10.6.22
Drupal 8, 9, 10.5.x and below, as well as Drupal 11.2.x and below, are outside security support and do not receive patches. Organizations running these versions need to plan migration to a supported branch.
Additional protective measures recommended by the Drupal security team:
- Protect the
settings.phpfile — make sure the web server cannot write to this file or change its permissions. According to Drupal, this mitigates some (but not all) exploitation paths - Block the installer after installation is complete — restrict access to
install.phpat the web server level
Given the confirmed exploitation and inclusion in the CISA KEV catalog, updating Drupal to the fixed versions is a top priority. For organizations that cannot update immediately, the minimum necessary steps are to block access to install.php and ensure that settings.php is immutable from the web server’s perspective.












