
Attackers are exploiting CVE-2026-132165, a critical Drupal core flaw that lets an unauthenticated visitor push a live site back into its installer, take it over and, under the right conditions, run arbitrary PHP code. The Drupal Security Team has received a report that the flaw was exploited on live sites as early as November 19, 2026, one day after the patch shipped.
CISA added the flaw, now widely known as Fail2Install, to its Known Exploited Vulnerabilities catalog on November 24. Detailed public research showing how to reach the bug on stock deployments appeared the same day, so any unpatched Drupal site should be treated as exposed.
What Is CVE-2026-132165?
CVE-2026-132165 is a remote code execution (RCE) vulnerability in the Drupal core installer, the install.php script used to set up a new site. Drupal’s security advisory rates it “Highly critical,” with a risk score of 20 out of 25, and the flaw carries a CVSS score of 9.8.
No account is needed. Drupal lists the required access as none, meaning an anonymous visitor can attempt the attack, although it rates the attack itself as complex. A successful attack forces Drupal to reinstall itself on a live site, leading to site takeover or RCE.
Anthropic’s OSS Scanner discovered the issue, and the advisory credits it under the reference ANT-2026-GMRPK0BU.
How Does the Fail2Install Vulnerability Work?
Fail2Install abuses the way the Drupal installer, /core/install.php, decides whether a site already exists. Before it lets anyone run setup, the installer checks whether the site is already installed by connecting to the database configured in settings.php and looking for existing tables.
The weakness is in how those checks fail. When the first connectivity check and the existing-installation check both hit a database error, Drupal reads the errors as a sign that no site exists yet. If a later check in the same request then succeeds, the installer concludes it is looking at a fresh site and serves its setup forms on a live one.
How Do Attackers Trigger Fail2Install?
Attackers trigger it by exhausting ordinary server resources, a method Drupal’s advisory does not describe. Independent research published on November 24, which gave the bug its Fail2Install name, fills that gap by showing how those limits can be pushed until Drupal’s database connections fail briefly and then recover.
The researchers studied three limits:
- Open file limits: The per-process cap on file descriptors, which returns an EMFILE error when reached
- Database connection limits: The max_connections setting in MySQL and PostgreSQL, which stock web server worker counts can exceed
- TCP source ports: The pool of ephemeral ports, which can run dry when enough closed connections linger in the TIME_WAIT state
On stock Apache with PostgreSQL, Apache’s default worker count is higher than PostgreSQL’s connection limit, which makes the race easiest to win. Apache with MySQL takes more work but remains practical. PHP-FPM deployments are harder, because the default of five workers cannot exhaust database connections directly. For those setups, the researchers turned to source-port exhaustion and judged exploitation feasible on servers with about 4 vCPUs, while results on smaller servers depend more on deployment details.
Can Fail2Install Lead to Remote Code Execution?
Yes, on some deployments, although reopening the installer is already a takeover on its own. When an attacker submits the installer’s database form, Drupal writes the new settings to settings.php. The live site then points at a database the attacker controls, and the attacker creates the site’s administrator account.
The researchers also documented a shorter path to code execution. The installer accepts SQLite as a database type and lets the user choose the database file path without restricting the file extension, so a database file can be created with a .php name under the web root. Content entered later in the setup process, such as the site name, is stored inside that file. On Apache, a path-matching weakness in Drupal’s stock .htaccess rules then allows that file to be executed, which turns the reinstall into arbitrary PHP execution.
Two scope points matter for triage. The direct effect of CVE-2026-132165 is re-entry into the installer; code execution is a follow-on step that depends on the deployment. Drupal also notes that some, but not all, exploit paths are blocked when the web server cannot write to settings.php or change its permissions.
Which Drupal Versions Are Affected by Fail2Install?
The advisory lists all versions before 10.6.22, 11.0.0 through 11.3.21, and 11.4.0 through 11.4.12 as affected.
| Branch | Status | Action |
|---|---|---|
| Drupal 11.4.x | Supported | Update to 11.4.13 |
| Drupal 11.3.x | Supported | Update to 11.3.22 |
| Drupal 11.2.x and earlier 11.x | End of life | Move to 11.3.22 or 11.4.13 |
| Drupal 10.6.x | Supported | Update to 10.6.22 |
| Drupal 10.5.x and earlier 10.x | End of life | Move to 10.6.22 or a fixed 11.x release |
| Drupal 8 and Drupal 9 | End of life | Upgrade to a supported branch |
End-of-life branches will not receive a fix. Sites still running them need either a major upgrade or the installer restrictions described below until that upgrade is complete.
Is CVE-2026-132165 Being Exploited in the Wild?
Yes. The first reported attacks came about a day after disclosure:
| Date (2026) | Event |
|---|---|
| November 18 | Drupal publishes SA-CORE-2026-017 with fixed releases |
| November 19, 19:00 UTC | Earliest reported exploitation on live sites |
| November 24 | Fail2Install research published; CISA adds CVE-2026-132165 to the Known Exploited Vulnerabilities catalog |
| November 27 | Remediation deadline for U.S. federal civilian agencies |
Because exploitation began after the fix was public, this is not a zero-day. Drupal has not published attacker indicators, victim counts or details of what the attackers did after gaining access, and no actor has been publicly linked to the activity as of November 26, 2026.
The CISA KEV alert gave federal agencies only three days to act. That deadline applies formally to covered federal agencies, but it is a strong prioritization signal for any organization running Drupal. It is also the third Drupal flaw reported as exploited in 2026, after CVE-2026-9082 and CVE-2026-118539.
How Can Drupal Sites Protect Against Fail2Install?
Upgrading is the fix. For sites that cannot be updated immediately, Drupal points administrators to its guidance on securing the installer, which centers on denying web access to /core/install.php in the web server configuration or the .htaccess file in the web root.
A practical order of work:
- Find every instance: Include staging copies, microsites and agency-hosted sites, since forgotten Drupal installs are the ones most likely to sit on end-of-life branches
- Patch supported branches: Apply 11.4.13, 11.3.22 or 10.6.22
- Lock down the installer: Block /core/install.php on every production site, patched or not, as a defense-in-depth measure
- Harden settings.php: Make sure the web server user cannot write to it or change its permissions
- Plan end-of-life upgrades: Keep the installer blocked on Drupal 8, Drupal 9 and older 10.x and 11.x sites until the upgrade lands
Sites behind Drupal Steward are covered against the known attack vectors, but Drupal still advises upgrading in case new vectors appear.
How Can I Tell if My Drupal Site Was Compromised?
Drupal has published no indicators for the in-the-wild attacks. The following are hunting hypotheses drawn from the documented exploit chain, for sites that remained unpatched after November 18:
- Installer traffic on a live site: Requests to /core/install.php on a production site, especially when they arrive during or right after bursts of heavy concurrent traffic
- Resource exhaustion errors: Database logs or PHP error logs showing “Too many connections” or “Cannot assign requested address” in clusters that do not match normal load
- Changed database settings: A settings.php file whose modification time or database configuration changed unexpectedly, including any switch to the SQLite driver
- Unexpected PHP files: New .php files in the web root, for example under /modules/, that do not belong to a known module
- Odd request paths: URLs in which a .php file name is followed by a /core/ path segment, which can indicate attempts to bypass the .htaccess deny rule
- Administrative changes: New administrator accounts, a reset site name or other signs that the site went through setup again
A clean log review does not prove a site was untouched, particularly where access logs are rotated quickly. If any of these signs appear, treat the site as compromised: rebuild it from a known-good backup, restore the original settings.php, and rotate database credentials and any secrets the site held.
How Can SOCRadar Help Teams Stay Ahead of Fail2Install?
Fail2Install moved from patch to exploitation in about a day, and the sites most at risk are often the ones nobody has on a list:
- Autonomous Exposure Management: Discovers internet-facing Drupal sites tied to your organization, including forgotten staging and campaign sites, so the ones exposed to CVE-2026-132165 get patched or locked down first
- Vulnerability Intelligence: Tracks CVE-2026-132165 with its KEV status, exploitation reports and new public research, so prioritization reflects how quickly attackers are moving
- Dark Web Monitoring: Flags underground posts that sell access to compromised websites or share exploit tooling linked to your domains

As exploitation of Fail2Install spreads and new attack paths surface, SOCRadar keeps your exposure and the threat picture in view, so teams can act before an unpatched site becomes someone else’s installation.

Source: SOCRadar · 2026-11-26