Drupal Fail2Install: Why the First Patch Was Not Enough

By 6 min read
Drupal Fail2Install, the CVE-2026-132165 installer flaw that lets attackers reinstall and take over Drupal sites

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.

Three headline figures: a 20 of 25 rating, about one day to exploitation, and a 21 of 25 rating
The first fix was followed by attacks within about a day, and a second advisory scored higher. Data: Drupal.

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
Timeline from the 18 November Drupal patch to exploitation, CISA listing and the second advisory
Exploitation began the day after the patch and a second, higher-rated fix followed a week later. Dates as reported by Drupal and CISA.

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?

  1. 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.
  2. 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.
  3. Lock down settings.php so the web server cannot write to it or change its permissions.
  4. Take back user 1. Drupal recommends setting its email to an address you control and considering a password reset.
  5. 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.
  6. 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

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is Drupal Fail2Install?

Fail2Install is the name given to CVE-2026-132165, a flaw in Drupal core's installer (core/install.php). Under specific conditions an unauthenticated attacker can make an installed site reinstall itself, which can lead to site takeover or remote code execution.

Which Drupal versions are affected by CVE-2026-132165?

Drupal's advisory lists versions below 10.6.22, 11.0.0 up to 11.3.21 and 11.4.0 up to 11.4.12. Because of the follow-up flaw CVE-2026-136716, the versions to install now are 10.6.23, 11.3.23 or 11.4.14.

Is Drupal Fail2Install being exploited?

Yes. The Drupal Security Team says it was exploited on live sites from 19 November 2026, and CISA added it to the Known Exploited Vulnerabilities catalog on 24 November. Drupal says the follow-up flaw CVE-2026-136716 is also exploited in the wild.

Does blocking install.php protect a Drupal site?

Drupal recommends blocking /core/install.php on every site, and its second advisory says sites that already secured the installer are not vulnerable to CVE-2026-136716. It is a mitigation, not a replacement for upgrading.

How do I know if my Drupal site was hacked through Fail2Install?

Look for requests to /core/install.php in web logs, changes to the user 1 account or new administrators, unexpected edits to settings.php, and unfamiliar PHP or SQLite files under the web root. Beazley advises rebuilding confirmed victims from a backup taken before 18 November 2026.

Keep reading

Drupal Fail2InstallCVE-2026-132165CVE-2026-136716Drupal securityCISA KEVvulnerability managementweb application security