Critical Drupal core RCE (CVE-2026-132165, Fail2Install) is being actively exploited: how the attack works, affected versions, and how to secure your site.
On November 18, 2026, the Drupal Security Team released emergency core releases patching a critical remote code execution vulnerability. Tracked as CVE-2026-132165 and dubbed "Fail2Install," it carries a CVSS score of 9.8. The most troubling part: no account is required. An attacker who can simply reach the installer file on a live site can, under specific conditions, reinstall Drupal and fully take over the site or execute arbitrary code on the server.
A day after the patch, on November 19 at 19:00 UTC, the Drupal Security Team confirmed the vulnerability was already being exploited on live sites. On November 24, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-132165 to its Known Exploited Vulnerabilities (KEV) catalog and set a federal remediation deadline of November 27, 2026.
This is not Drupal's first high-profile RCE of 2026: in October the core patched a critical Field UI vulnerability that also had an unauthenticated vector. The frequency of these incidents is a signal in itself for anyone maintaining sites on this CMS.

What is Fail2Install and why is it "critical"
Every copy of Drupal ships with an installation file — core/install.php. It is meant for initial site setup: creating the database, the first administrator account, and so on. The problem is that this file remains on the server after installation, and Drupal's default .htaccess rules do not block it. On most sites the installer is reachable from outside unless it has been explicitly locked down.
The vulnerability belongs to the "fail-open" class — a failure in the wrong direction. Instead of guaranteeing a denial when something goes wrong, the system under certain conditions does the opposite: it allows a process it should never allow. In Fail2Install, the Drupal installer includes a check for whether the site is already installed. By exhausting server resources, an attacker makes these checks misbehave, and the installer "believes" the site is still new — that is, it opens the installation forms on a live site.
On Drupal's own risk scale the vulnerability scores 18 out of 25: high exploitation complexity (AC:Complex), no authentication required (A:None), full read/write access to site data on success (CI:All/II:All), a proof-of-concept exists, and the configuration is considered uncommon (TD:Uncommon).
How the attack works: system failure as a "lockpick"
The key idea of the research conducted by Searchlight Cyber is to use ordinary server resource limits as "security primitives" — turning the unavailability of individual components into a tool for deceiving the installer.
The logic works like this. Before showing the installation forms, the installer checks whether the site configuration exists and whether a database connection is available. If the connection to the configured database fails and the check for an existing installation also fails, the installer interprets this as evidence that the site has not been installed. It then gives the attacker a chance to "win" a race condition: the first database connection attempts are refused, while a later one succeeds — all within a single HTTP request.
As StepSecurity explains, if the database refuses the early connections and accepts a later one, the installer concludes the site is new and shows its setup forms on a live site.
Three ways to exhaust server resources
The researchers started with EMFILE — the limit on how many files a Linux process can open at once — and then extended the approach to other limits. In the end, three resource-exhaustion techniques are used to push a site into a "not installed" state:
- EMFILE — exhausting the open file descriptor limit of a process.
- Database connection exhaustion — when the connection pool is full, new requests are refused.
- TCP source-port exhaustion — when no free ports remain for new outgoing connections.
In all three cases this is not a classic buffer overflow or injection, but manipulation of availability: a system that cannot connect or open a file starts behaving as if the site has not yet been configured.

The attack chain: from install.php to code execution
The full scenario looks like this:
- The attacker reaches
core/install.phpon a live site. - They exhaust resources so the early "is the site installed" checks fail.
- The installer shows the database configuration form.
- The attacker submits their own database settings — and the installer writes them to
settings.php, the site's configuration file. - The live site now points to the attacker's database, where they create an administrator account.
- From there — arbitrary PHP code execution, including by writing a PHP payload into a SQLite database file with a
.phpextension in the site's document root.
One thing that partially limits the attack: some exploit paths do not work if the web server cannot write to settings.php or change its permissions. But this does not cover all vectors, and it is not something to rely on.

Which versions are affected and how to update
All supported core branches are affected. The fixed versions are:
- Drupal 10.6.x — update to 10.6.22;
- Drupal 11.3.x — update to 11.3.22;
- Drupal 11.4.x — update to 11.4.13.
End-of-life branches — Drupal 10.5 and earlier, Drupal 8 and 9, and 11.0–11.2 — will not receive fixes. For these the only path is migration to a supported branch, and until then, hard-blocking the installer.
Alongside Fail2Install, the same releases also fixed a second vulnerability — CVE-2026-132166 (SA-CORE-2026-018), a moderately critical gadget chain in core. On its own it requires administrative privileges and only works alongside a separate deserialization flaw, so its practical danger is lower, but the update closes both.
Fail2Install was found by Anthropic's OSS Scanner — another reminder that automated open-source auditing can surface complex logic flaws that went unnoticed for years.
Active exploitation and the CISA deadline
The timeline moved fast. The patch shipped on November 18. By November 19 at 19:00 UTC the Drupal Security Team had received a report of exploitation on live sites. On November 24, CISA added the vulnerability to its KEV catalog — the list of vulnerabilities confirmed to be actively exploited in real attacks — and required U.S. federal agencies to remediate it by November 27.
According to Aviatrix, this is the third actively exploited Drupal vulnerability of 2026. The trend is clear: attackers are turning published patches into working exploits faster and faster, squeezing the window between "update released" and "first attacks" down to hours and days.
How to protect your site
The first step is to update the core. If an immediate update is impossible, the Drupal Security Team recommends a mandatory temporary measure: block access to core/install.php. It takes minutes, does not affect a running site, and is the officially recommended practice — the installer should be locked down after installation in any case.
Next, check whether the site has been compromised. Drupal has not published indicators of compromise, but experts recommend looking for:
- requests to
core/install.phpafter the site went live, especially POST requests, in web server and WAF logs; - changes to
settings.php: a modification time after go-live, or unrecognized database connection settings; - new administrator accounts, unexpected modules, and
.phpfiles undersites/default/files; - unexpected web server or PHP child processes (php-fpm, httpd, apache2) launching shells, interpreters, or download tools.
Separately: Drupal Steward (the project's paid WAF subscription) blocks some known vectors but not all — sites using it still need to update.
If you suspect user credentials may have leaked, check the affected records with breach-checking services — including our data breach check tool. And for those who want a deeper understanding of web application security and working with vulnerabilities, our cybersecurity learning materials are a good place to start.
Conclusion
Fail2Install is notable because it needs no code injection or buffer overflow: it is enough to make the system "fail" at the right moment, and it opens the door itself. It is a reminder that security is not only about "closing a hole in the code," but also about correct behavior of the system in failure scenarios. For Drupal site owners the conclusion is simple: update the core immediately, and lock down the installer right after installation — whether or not a new vulnerability has emerged.
Source: Drupal Security Advisory SA-CORE-2026-017; CISA Known Exploited Vulnerabilities; The Hacker News; BleepingComputer; Searchlight Cyber; StepSecurity; Aviatrix Threat Research.