Back to Articles
critical CVE-2026-132165

CRITICAL: Drupal Fail2Install RCE Flaw Now Under Active Exploitation

CISA has added CVE-2026-132165, a CVSS 9.8 Drupal core flaw dubbed Fail2Install, to its KEV catalog after attackers began exploiting it on November 19. Resource exhaustion tricks the installer into reinstalling a live site, giving unauthenticated attackers site takeover and PHP code execution. Update to 11.4.13, 11.3.22, or 10.6.22 and block install.php now.

By Danny Mercer, CISSP — Lead Security Analyst • Nov 25, 2026
Is your business exposed? Our McKinney-based security team can assess your risk for free.
Share:

There is a special kind of irony in a vulnerability that turns a server running out of breath into a skeleton key. Drupal's Fail2Install flaw is exactly that, and as of this week it is no longer a research curiosity. CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities catalog on Tuesday, November 24, after the Drupal Security Team received a report that attackers were exploiting it on live sites as early as November 19 at 19:00 UTC. That is barely a day after the fix shipped. Federal civilian agencies have until November 27 to patch, which tells you how seriously CISA is taking this one. If you run Drupal anywhere, for yourself or for a client, this is a drop everything and patch it now situation.

The bug lives in Drupal core itself, not in some forgotten contributed module, and it allows an unauthenticated attacker to take over an existing site or execute arbitrary code through the Drupal installer. CISA classifies it under CWE-636, the "not failing securely" weakness, and the flaw carries a CVSS score of 9.8. Drupal's own risk scale put it at 18 out of 25 when the advisory, SA-CORE-2026-017, went out on November 18. At the time, the project described the vulnerable configurations as uncommon and the exploitation as complex. A week later, with a public technical breakdown in circulation and confirmed attacks in the wild, "complex" is doing a lot less work than it used to.

How Fail2Install Actually Works

Here is the part that should make every web admin a little uncomfortable. The installer ships in every copy of Drupal core as /core/install.php, and it stays on disk after installation. Core's default .htaccess rules do not block requests to it. Drupal does check whether a site is already installed before letting the installer proceed, but that check depends on the installer being able to talk to the configured database and confirm that an installation exists.

Researchers Kevin Gervot and Adam Kues at Searchlight Cyber published an independent analysis showing that ordinary server resource limits can break that logic. If an attacker pushes the server into exhausting its resources, the database connection fails, the check for an existing installation fails, and Drupal interprets that pair of failures as evidence that the site was never installed. The team used three exhaustion techniques to get there. The first was EMFILE, the Linux limit on how many files a single process can hold open. The second was plain database connection exhaustion, and the third was TCP source port exhaustion. Win the resulting race so that a second database connectivity check passes at the right moment, and the installer reopens on a fully configured production site. Searchlight described the pattern as a "FAIL, FAIL, and then SUCCESS sequence," which is about as tidy a summary of a race condition as you will ever read.

From there, the attacker walks through installation and creates an account they control. The jump to code execution comes from the installer's support for SQLite. Drupal lets the person installing the site choose the database file path, and it does not restrict the file extension. Pick a path ending in .php inside the document root, and Drupal happily creates an SQLite database with a PHP extension. When the installer reaches the site configuration form, it stores the submitted site name inside that database, so a site name made of PHP code lands as payload bytes inside the .php file. Drupal's stock .htaccess blocks direct access to that file on a standard Apache deployment, but the researchers found a path handling weakness in the Apache RewriteRule that gets around it and delivers arbitrary PHP execution.

Searchlight confirmed the full pre-authentication RCE chain against Drupal 8.9, 9, 10, and 11 across four common deployment combinations, namely Apache with PostgreSQL, Apache with MySQL, PHP-FPM with PostgreSQL, and PHP-FPM with MySQL. In other words, the stacks most of us actually run. The advisory notes that some exploit paths are blocked when the web server cannot write to or change permissions on settings.php, which is one more reason the old advice about locking down file permissions was never just paranoia.

"Starting from three system-wide limits, we showed how errors that appear to affect only availability can become primitives for crossing a security boundary," the researchers wrote. Every team that has ever downgraded a resource exhaustion finding to "just a DoS" should probably read that sentence twice.

Who Is Exposed

The patched releases are Drupal 11.4.13 for the 11.4 branch, 11.3.22 for the 11.3 branch, and 10.6.22 for the 10.6 branch. Every release below 10.6.22 is affected, along with Drupal 11 releases from 11.0.0 before 11.3.22 and from 11.4.0 before 11.4.13.

The uncomfortable math is in the end of life population. Drupal 11.2.x and earlier, 10.5.x and earlier, and every Drupal 8 and 9 installation are past support and will not receive a fix. In the week of November 8, 154,485 of the 528,430 sites reporting usage data to drupal.org were running end of life branches. That is roughly 29 percent of the reporting install base, and the real number is almost certainly higher because the sites least likely to phone home are also the sites least likely to be maintained. Those are the brochure sites built five years ago by an agency that no longer exists, sitting on shared hosting that nobody has logged into since the pandemic. Attackers know exactly where to find them.

It also does not help that the clock is ticking on supported branches. Under the project's support schedule, the 11.3.x branch and Drupal 10 lose security coverage entirely in December, so anyone patching to 10.6.22 today is buying weeks, not years.

This is also the third Drupal flaw to land on the KEV list this year, following CVE-2026-9082 and CVE-2026-118539, and the second critical core RCE fixed in two months after the Field UI bug patched on October 14. The flaw itself was found by Anthropic's OSS Scanner, an automated service that sends vulnerability findings straight to maintainers, and the Drupal Security Team has already said the surge of AI assisted reports is more than it can sustain at its current funding. Expect the cadence of these advisories to stay high, which means the cadence of your patching needs to match it.

What To Do Right Now

The first move is obvious. Update to 11.4.13, 11.3.22, or 10.6.22 today, not at the next maintenance window. If a site is on an end of life branch, there is no patch coming, so the conversation shifts to an emergency upgrade or taking the site offline until one happens.

The second move matters even after you patch. The Drupal team recommends blocking the installer permanently, and its updated installer guidance offers three ways to do it. You can add a deny rule for /core/install.php in your web server configuration, add an equivalent .htaccess rule, or delete the file and keep it deleted with Composer scripts so a future core update does not quietly put it back. For anything you cannot patch immediately, blocking install.php is your best stopgap, and frankly it should have been standard hardening all along. A production site has no business serving its own installer to the internet. Sites protected by the Drupal Steward service are already covered against known attack vectors, but the team still says to update in case new vectors emerge.

Because exploitation started on November 19, assume any exposed and unpatched site may already be compromised and hunt accordingly. CISA flagged this entry for forensic triage, and that is a good instinct to borrow. Review web server logs for requests to /core/install.php, particularly install.php hits clustered alongside bursts of failed connections, 500 errors, or "too many open files" and "too many connections" messages in PHP, database, or system logs. Look for unexpected .php files inside the document root, especially anything that turns out to be an SQLite database when you inspect its header. Check the users table for administrator accounts nobody recognizes, compare settings.php against a known good copy, and confirm the site name has not quietly turned into a blob of PHP. If you find evidence of a reinstall, treat the host as compromised. Rebuild from a clean source, restore content from a backup taken before November 19, and rotate the database credentials, the hash salt, and any API keys the site holds.

Longer term, this bug is a good argument for putting a web application firewall in front of every CMS you manage and for treating resource exhaustion events as security signals rather than just uptime problems. A sudden spike in open file errors on a quiet marketing site is not a capacity issue. It is somebody knocking.

If an IT provider manages your systems

If your website runs on Drupal, attackers can take it over without a password, and they have been doing so since November 19. Older sites that nobody checks are the easiest targets, so ask whoever runs your IT about this now.

  • Do we run Drupal anywhere, and has it been updated to 11.4.13, 11.3.22, or 10.6.22?
  • If any of our sites is on an unsupported version such as Drupal 8 or 9, will you upgrade it or take it offline?
  • Have you blocked /core/install.php and checked our logs and admin accounts for signs of a break-in since November 19?

A good answer names your exact version, confirms the installer is blocked, and describes a log review that is already done. If your provider is unsure, or finds admin accounts nobody recognizes or unexpected .php files, bring in incident response to find out whether the site was taken over.

If you are an IT provider yourself, see how we partner with MSPs.

References

Happening right now?

Business email taken over, or a payment sent to the wrong account?

Call us now. The first hours matter most: your bank may still be able to recall the payment, and whoever is in the mailbox keeps access until it is locked down. We handle the lockout and help trace the payment.

Not an emergency? Get a free security assessment instead.