Drupal shipped a fix for a site takeover flaw on 18 November 2026. Its security team says attackers were using it on live sites roughly a day later, and a week after that Drupal had to publish a second, higher-rated fix because the first one did not cover every site.
In short: Drupal Fail2Install (CVE-2026-132165) abuses the installer that every Drupal site keeps at /core/install.php, and if you patched to 10.6.22, 11.3.22 or 11.4.13 you still need to move to 10.6.23, 11.3.23 or 11.4.14.
What is Drupal Fail2Install?
Drupal Fail2Install is a vulnerability in Drupal core’s installer that can let an anonymous visitor reinstall an existing site. Drupal’s advisory SA-CORE-2026-017 says this can lead to site takeover or remote code execution and rates it Highly critical, 20 out of 25.
The installer script ships with Drupal core and stays in place after setup. Normally it refuses to run on a site that is already installed. Fail2Install is about the conditions under which that check can be fooled.
Drupal credits the discovery to Anthropic’s OSS Scanner. BleepingComputer, which covered the patch on 19 November, used the Fail2Install name and the same credit.
How does the flaw work?
Drupal keeps its own description short: under specific conditions, an attacker can use the installer to attempt a reinstall. The vendor analyses fill in more detail, and they describe the idea in slightly different ways.
- Beazley Security says the installer records its progress in the database and can resume from the last completed step, so a site whose installation never recorded itself as finished can be sent back into the installer.
- SOC Prime says an attacker can cause temporary resource exhaustion that makes the installer’s checks misread a live site as not installed, after which attacker-supplied database settings can lead to an administrator account and, under the right conditions, PHP execution.
Both agree on the outcome: an attacker who controls the reinstall controls the site. Drupal notes that some exploit paths are blocked if the web server cannot write to or change permissions on settings.php.
Fail2Install timeline
| Date (2026) | Event | Source |
|---|---|---|
| 18 November | Drupal publishes SA-CORE-2026-017 for CVE-2026-132165; fixed in 10.6.22, 11.3.22, 11.4.13 | Drupal |
| 19 November | BleepingComputer reports Drupal’s warning that exploits could follow within hours or days | BleepingComputer |
| 19 November, 19:00 UTC | Earliest exploitation on live sites, per a report to the Drupal Security Team | Drupal |
| 24 November | CISA adds CVE-2026-132165 to the KEV catalog based on evidence of active exploitation | CISA |
| 25 November | Drupal publishes SA-CORE-2026-019 for CVE-2026-136716, rated 21 out of 25 and exploited in the wild; fixed in 10.6.23, 11.3.23, 11.4.14 | Drupal |
Beazley also says Drupal first rated the original issue Critical and raised it after exploitation was reported. SOC Prime describes it as Highly critical from the start. The advisory page we read shows 20 out of 25 with exploit code marked as available.
Why did the first patch fail?
The first patch closed the main paths but missed sites stuck in unusual states. Drupal’s second advisory says sites in unusual or incomplete install states remained open to takeover, including production sites.
Two details make this awkward for defenders. Drupal says the vulnerable state is not visible in the admin interface, and that a site that was already compromised may no longer be in that state. So a clean-looking site today does not prove it was never hit.
The second flaw also scores higher. Drupal lowered the access complexity from Complex on the first advisory to Basic on the second, which is why it is rated 21 rather than 20.
The good news is in the same advisory: if you already blocked access to the installer, you were not vulnerable to CVE-2026-136716.
Which Drupal versions are affected?
| Branch | Vulnerable to Fail2Install | Fixed by first patch | Install now |
|---|---|---|---|
| 11.4 | 11.4.0 to 11.4.12 | 11.4.13 | 11.4.14 |
| 11.3 | 11.0.0 to 11.3.21 | 11.3.22 | 11.3.23 |
| 10.6 | below 10.6.22 | 10.6.22 | 10.6.23 |
| 11.2 and older, 10.5 and older, 8, 9 | End of life | No fix | Upgrade to a supported branch |
Sites on end-of-life branches get no patch at all, so blocking the installer is their only protection until they migrate.
How do you detect Fail2Install exploitation?
Start with the web logs. Beazley and SOC Prime both point to requests for /core/install.php on a mature production site, especially POST requests from outside admin networks, as the first thing to look for.
Then check the site itself:
- Changes to user 1, new administrator accounts, or changed admin email addresses and passwords. Drupal’s second advisory specifically tells site owners to review activity on user 1.
- Unexpected edits to settings.php or changed database connection settings.
- Unfamiliar PHP or SQLite files under the web root or files directories. Beazley suggests looking for PHP files newer than 18 November.
- A production site that suddenly shows the install screen.
- The web server or PHP workers starting shells or download tools, new cron entries, new SSH keys or unusual outbound connections, which SOC Prime lists as signs of follow-on activity.
SOC Prime notes that static indicators are of limited value here, so behaviour matters more than IP lists. If you find evidence of takeover, Beazley’s advice is to treat the site as compromised and rebuild from a backup taken before 18 November.
What should defenders do?
- Upgrade to 10.6.23, 11.3.23 or 11.4.14 and run update.php afterwards. Drupal says an update hook in the second release fixes existing sites.
- Block /core/install.php at the web server or in the root .htaccess file, on every site, and confirm from outside that the block works.
- Lock down settings.php so the web server cannot write to it or change its permissions.
- Take back user 1. Drupal recommends setting its email to an address you control and considering a password reset.
- Hunt before you close the ticket. Exploitation began within about a day of the patch, so any site that was patched later than 19 November deserves a log review.
- Migrate end-of-life sites. CISA’s KEV listing makes this a priority for US federal agencies, and it should be for everyone else with an internet-facing Drupal site.
The pattern is familiar. As our piece on exploit_agent and AI-driven patch diffing explains, the gap between a public patch and a working exploit keeps shrinking, and Unit 42’s guide to spotting automated attacks shows why fast, noisy installer probing is worth alerting on.
What we do not know
Drupal, CISA and the vendors we read have not said how many sites were compromised or who is exploiting the flaws. Beazley says a public proof of concept exists but has not confirmed it is widely used.
The bottom line
Drupal Fail2Install turned a file most site owners forget about into a takeover route, and attackers used it within about a day of the patch. The first fix was incomplete, so the safe versions are now 10.6.23, 11.3.23 and 11.4.14. Upgrade, block the installer for good, and check user 1 before you assume you were missed.
Sources
- Drupal Security Team, SA-CORE-2026-017: Drupal core, Highly critical, Remote code execution, 18 November 2026
- Drupal Security Team, SA-CORE-2026-019: Drupal core, Highly critical, Access bypass, 25 November 2026
- CISA, CISA Adds Three Known Exploited Vulnerabilities to Catalog, 24 November 2026
- Beazley Security Labs, Critical Remote Code Execution Vulnerability in Drupal Core Under Active Exploitation, 24 November 2026, updated 25 November 2026
- BleepingComputer, Drupal patches critical RCE flaw, warns exploits may surface quickly, 19 November 2026
- SOC Prime, CVE-2026-132165: Drupal Fail2Install RCE Exploited in the Wild, 27 November 2026
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.