Drupal's installer bug, Fail2Install, is being exploited on live sites
Drupal disclosed the flaw on November 18, saw exploitation the next day, and shipped a follow-up fix on November 25 for sites left in odd installation states.
On this page
Drupal's installer can be pushed back open on a live site, and someone has already done it. The flaw, nicknamed Fail2Install, was disclosed on November 18, 2026 and rated Highly Critical, 20/25, by Drupal. Exploitation on production websites was confirmed as early as November 19 at 19:00 UTC, one day after the release. CISA added it to its Known Exploited Vulnerabilities catalog on November 24, with a remediation deadline of November 27 for U.S. federal agencies.
A second, related issue followed. Drupal disclosed CVE-2026-136716 on November 25; it affects sites left in unusual or incomplete installation states after the original fixes, and per the reporting it is also being exploited in the wild. CISA's catalog entry for that one carries a CVSS base score of 9.8 and a due date of November 30.
What the bug actually is
The installer lives at /core/install.php and stays on disk after a site is deployed. Before letting setup continue on a configured site, Drupal runs checks: does a database configuration exist, has installation already completed. Searchlight Cyber found that temporary resource exhaustion can make those checks fail in an order Drupal misreads.
The demonstrated sequence is FAIL, FAIL, SUCCESS. The attacker first forces an early database connection to fail. A later check for an existing installation also fails. Drupal takes those failures as evidence of a fresh, unconfigured site. Then a later database connection in the same workflow succeeds, and the installer forms open on a production system.
The researchers showed three ways to create that state: exhausting a process's file descriptors at the EMFILE limit, exhausting available database connections, and exhausting TCP source ports. Availability problems, in other words, used as a lever against application logic.
Impact
Once the installer is reachable, an attacker can submit database settings under their own control. Drupal writes them into settings.php, the live site starts talking to the attacker's database, and the attacker completes setup and creates the first administrative account. That's site takeover.
There's a route to code execution too. The installer supports SQLite and lets the user pick the database file path, and the reporting says it doesn't sufficiently restrict the file extension in this scenario. An attacker can name the file with a .php ending and drop it under the document root, then put PHP code into a value Drupal stores in that database, such as the site name. The result is a file that is both a SQLite database and a PHP payload. On a standard Apache deployment, .htaccess rules block the obvious path to it, but the researchers showed Apache path handling and rewrite behaviour can be abused to reach the embedded code.
Searchlight Cyber demonstrated the attack against Drupal 8.9, 9, 10 and 11 with Apache or PHP-FPM, on both MySQL and PostgreSQL. Drupal 8 and 9 are end-of-life, and 10.5.x and 11.2.x or earlier no longer get security coverage, so those demonstrations don't imply a fix is coming for them.
Drupal's advisory credits Anthropic's OSS Scanner, under identifier ANT-2026-GMRPK0BU, with finding the flaw. Exploit code was already marked as available in Drupal's own risk assessment, and public repositories now claim to reproduce installer takeover or code execution.
HackZoneLabs assessment
The interesting part here isn't the CVSS number, it's the mechanism. A site that is up, serving traffic and fully installed can be walked back into setup by making a few connections fail at the right moment. That inverts the usual assumption that a broken database connection is an availability headache rather than an authentication bypass. In our view, any Drupal estate that has been through a period of database or file-descriptor trouble in the last week deserves a look at its access logs, not just a patch.
We'd also treat the follow-up issue as the more telling signal. A second flaw that only bites sites left in odd installation states after the first round of fixes suggests the original remediation didn't fully close the door, and that some sites are sitting in exactly the state the installer misreads. Drupal's own guidance is to move to the newest supported core release, run update.php, and block public access to the installer. That last step is cheap and we'd do it regardless of patch timing.
What's still unknown
The reporting doesn't say how many sites were hit, who was behind the exploitation, or what they did once inside. Ransomware use is listed as unknown in the CISA catalog entry. It also doesn't say whether the public repositories claiming to reproduce the attack have been checked by anyone independent.
What to check first
Look for requests to /core/install.php on mature production sites, especially repeated requests, POSTs, or traffic clustered around database errors and application instability. Correlate those with database connection failures, file-descriptor exhaustion, PHP errors and unexpected changes to settings.php. Then check the user 1 account for changes to its email address or password, and look for new administrator accounts and PHP execution from unexpected files under the web root.
Blocking the installer at the web server is the step that holds even if a patch is delayed. The reporting notes that making settings.php unwritable or changing its permissions raises the difficulty of some paths, but Drupal explicitly warns that this covers only some of them and isn't a substitute for upgrading.
CVE references
Sources
- CVE-2026-132165: Drupal Fail2Install RCE Exploited in the WildPrimarysocprime.com
If something here is wrong, tell us. Every correction is listed on the corrections page.
Don’t Just Read About Cyberattacks. Learn How They Work.
Go beyond the headlines. Explore hands-on cybersecurity labs, understand real-world vulnerabilities, and build practical security skills with HackZoneLabs.
Start Learning