CVE-2026-132165: Drupal Fail2Install RCE Exploited in the Wild

CVE-2026-132165: Drupal Fail2Install RCE Exploited in the Wild

SOC Prime Team
SOC Prime Team linkedin icon Follow

Drupal administrators are facing an actively exploited vulnerability tracked as CVE-2026-132165, also known as Fail2Install, that can allow an unauthenticated attacker to force a live Drupal website back into its installation workflow. Under specific conditions, this can lead to complete site takeover or pre-authentication remote code execution.

Drupal originally disclosed the vulnerability on November 18, 2026 and rated it Highly Critical, 20/25, after exploitation was later confirmed on live sites as early as November 19 at 19:00 UTC. CISA added the flaw to its Known Exploited Vulnerabilities catalog on November 24, giving U.S. federal agencies until November 27 to remediate affected systems.

Fail2Install targets Drupal’s built-in installer, located at:

/core/install.php

The installer remains present after a Drupal site has been deployed. Researchers demonstrated that temporary resource-exhaustion conditions can make the installer incorrectly conclude that an existing site is not installed, reopening setup functionality to an anonymous remote attacker.

Contact Sales

Searchlight Cyber demonstrated the attack against Drupal 8.9, 9, 10, and 11 using Apache or PHP-FPM with both MySQL and PostgreSQL. The researchers also showed a path from installer takeover to arbitrary PHP execution by abusing Drupal’s SQLite installation option.

The risk has increased further because Drupal disclosed a related follow-up issue, CVE-2026-136716, on November 25. That flaw affects certain sites left in unusual or incomplete installation states after the original fixes and is also being exploited in the wild. Drupal therefore recommends updating to the newest supported core release, running update.php, and explicitly blocking public access to the installer.

Organizations can strengthen their defenses against emerging vulnerability exploitation with SOC Prime’s AI-Native Detection Intelligence Platform, helping security teams operationalize threat intelligence and accelerate hunting and detection engineering across SIEM, EDR, XDR, and Data Lake environments.

Detect CVE-2026-132165 by monitoring requests to /core/install.php, unexpected installer activity on established production sites, suspicious changes to Drupal’s settings.php, unauthorized administrator creation, and PHP execution originating from unexpected files under the web root.

CVE-2026-132165 analysis

CVE-2026-132165 affects Drupal core versions below 10.6.22, Drupal 11.0.0 through 11.3.21, and Drupal 11.4.0 through 11.4.12 according to Drupal’s original advisory. Drupal 8 and Drupal 9 are already end-of-life, while Drupal 10.5.x and Drupal 11.2.x or earlier no longer receive security coverage.

The underlying issue stems from Drupal’s handling of failure conditions inside its installation process.

Drupal normally performs checks before allowing the installer to continue on an already configured website. These checks are intended to determine whether a database configuration exists and whether the site has already completed installation.

Searchlight Cyber researchers found that temporary system-level resource exhaustion can make those checks fail in a sequence that Drupal interprets incorrectly.

The demonstrated attack follows a FAIL → FAIL → SUCCESS pattern.

First, the attacker deliberately causes an early database connection to fail. A subsequent check intended to determine whether Drupal already has an existing installation also fails. Drupal interprets those failures as evidence that it may be dealing with a new, unconfigured website.

The attacker then allows a later database connectivity operation to succeed within the same installation workflow. If the timing is correct, Drupal proceeds into installer forms that should never have become accessible on an established production system.

Researchers demonstrated three resource-exhaustion mechanisms capable of creating the required state:

  • exhausting a process’s available file descriptors through the EMFILE limit;
  • exhausting available database connections;
  • exhausting TCP source ports.

These conditions would normally be considered availability problems. Fail2Install demonstrates how temporary availability failures can instead become security primitives when application logic interprets them as evidence that an installation has not yet occurred.

Once the installer becomes accessible, an attacker can submit database configuration under their control.

Drupal’s installation workflow can then write those database settings into settings.php, causing the live site to use the attacker-controlled database. The attacker can continue through setup and create the first administrative user for the site, effectively taking control of the Drupal installation.

Some attack paths become more difficult when the web server cannot write to or alter permissions on settings.php. However, Drupal explicitly warns that this protects against only some exploitation paths and should not be considered a replacement for upgrading and securing the installer.

Researchers also developed a route from installer access to pre-authentication code execution.

Drupal’s installer supports SQLite and permits the user to select the database file path. Researchers found that the installer does not sufficiently restrict the database file extension in this attack scenario.

An attacker can therefore specify an SQLite database filename ending in .php and place that database under the website document root.

During subsequent installation steps, Drupal stores attacker-controlled information such as the website name inside the SQLite database. By supplying PHP code as that value, the attacker can cause PHP payload bytes to be written into the database file.

The result is a file that is simultaneously an SQLite database and contains attacker-controlled PHP code.

On a standard Drupal Apache deployment, normal .htaccess rules prevent straightforward execution of that generated file. However, Searchlight Cyber demonstrated that Apache path-handling and rewrite behavior can be abused to reach the embedded PHP payload and achieve arbitrary execution.

The CVE-2026-132165 PoC landscape is now well established. Drupal’s original security risk assessment already marked exploit code as available, technical exploitation details have been publicly documented, and multiple public repositories now claim to reproduce installer takeover or RCE behavior.

This substantially changes defensive urgency. The vulnerability is no longer merely theoretical: Drupal states that exploitation occurred on production websites as early as November 19, one day after the original security release.

Drupal’s advisory credits Anthropic’s OSS Scanner, under identifier ANT-2026-GMRPK0BU, with discovering the vulnerability. The original public advisory was issued on November 18.

For CVE-2026-132165 detection, security teams should begin by reviewing web access logs for activity involving:

/core/install.php

Requests to the installer on a mature production website are unusual and should generally be investigated, particularly when they include repeated requests, POST operations, or occur near database errors or application instability.

Defenders should correlate installer requests with database connection failures, resource-exhaustion events, PHP errors, file-descriptor exhaustion, and unexpected changes to settings.php.

Other high-value signals include:

  • unexpected changes to the Drupal user 1 account;
  • modification of the user 1 email address or password;
  • newly created privileged users;
  • modifications to database connection parameters;
  • suspicious SQLite files created beneath the web root;
  • .php files appearing where databases or temporary installation artifacts would normally reside;
  • unusual PHP execution following installer requests;
  • unexpected modifications to Drupal configuration files.

The follow-up Drupal advisory explicitly recommends checking logs for unauthorized activity involving user 1 and confirming that the associated email address remains under the organization’s control.

Successful RCE should also generate host-level evidence. Web-server or PHP worker processes unexpectedly launching shells, download utilities, scripting engines, or system administration commands should be treated as high-confidence post-exploitation behavior.

Examples include Apache or PHP-FPM spawning:

sh
bash
curl
wget
python
perl

Security teams should also hunt for newly created web shells, modified Drupal PHP files, scheduled tasks, cron entries, new SSH keys, and unusual outbound connections following suspicious installer activity.

Traditional CVE-2026-132165 IOCs are of limited value because exploitation does not depend on a fixed attacker-controlled domain, IP address, payload hash, or malware family. Attackers can exploit the vulnerable installation workflow directly using ordinary HTTP requests.

Behavioral telemetry and historical access to the installer are therefore significantly more valuable than static blocklists.

The vulnerability also illustrates why patch status alone may not prove that a system was never compromised. Because exploitation began shortly after the original security release, organizations that patched after November 19 should still investigate activity during the vulnerable period.

According to The Hacker News, CISA added the issue to its KEV catalog on November 24, requiring affected federal systems to remediate it by November 27, 2026.

Security teams seeking further details for CVE-2026-132165 should also review CVE-2026-136716. The newer vulnerability does not replace Fail2Install, but it addresses installation states that remained exploitable even after the first round of Drupal fixes.

CVE-2026-132165 Mitigation

Drupal originally addressed Fail2Install in the following versions:

Drupal branchOriginal fixed version
Drupal 10.6.x10.6.22
Drupal 11.3.x11.3.22
Drupal 11.4.x11.4.13

Drupal 10.5.x and earlier supported-generation releases are end-of-life, as are Drupal 11.2.x and earlier branches. Drupal 8 and Drupal 9 have also reached end of life.

However, administrators should not use those original patch levels as the current target baseline.

On November 25, Drupal disclosed CVE-2026-136716 after determining that some sites in unusual or incomplete installation states could remain vulnerable following the original advisory.

Drupal now recommends:

Drupal branchCurrent recommended version
Drupal 10.6.x10.6.23 or later
Drupal 11.3.x11.3.23 or later
Drupal 11.4.x11.4.14 or later

After applying the latest supported release, administrators should run:

update.php

This corrects existing production sites that may remain in an affected installation state.

The next critical step is securing the installer itself.

Drupal recommends blocking public access to:

/core/install.php

Once a website is installed, the browser-based installer is no longer required for normal updates. update.php is a separate endpoint and should not accidentally be blocked by overly broad rules.

For Apache environments where administrators control the server configuration, Drupal recommends denying access at the virtual-host level:

<Location “/core/install.php”>
Require all denied
</Location>

This configuration survives Drupal core updates more reliably than manually modifying Drupal’s generated .htaccess file.

For Nginx, Drupal recommends a prefix match:

location ^~ /core/install.php {
return 404;
}

Using ^~ also blocks additional path content such as:

/core/install.php/foo

Drupal specifically warns against relying only on an exact path match because some PHP location configurations can still route paths containing .php/ into PHP processing.

Organizations should verify the control after implementation by confirming that an unauthenticated request to the installer returns a blocked response rather than the Drupal installation interface.

The second supplied report makes this especially important: Drupal states that organizations that already secured the installer are not affected by the follow-on CVE-2026-136716.

Drupal Steward users received protection against known Fail2Install attack vectors, but Drupal explicitly states that sites should still upgrade because defensive filtering may not cover every possible exploitation path.

Administrators should also harden file permissions on:

settings.php

The web-server process should not retain unnecessary ability to modify the file after deployment. While this does not block every attack route, Drupal states that it mitigates some Fail2Install exploitation paths.

Organizations should additionally:

  • restrict administrative and installation functionality to trusted management networks where possible;
  • monitor Drupal configuration files for unauthorized modification;
  • keep database connection limits and resource-exhaustion telemetry centrally logged;
  • review internet-facing Drupal versions continuously;
  • migrate unsupported Drupal branches to a supported release.

The follow-on advisory also changes incident-response requirements. Administrators should inspect the user 1 account, verify its email address, and consider resetting its password. If unexplained administrator changes or installer activity are found, the site should be treated as potentially compromised rather than merely vulnerable.

Attackers who successfully took over the installer could potentially alter database settings, create administrator identities, or gain PHP execution. In such cases, simply installing a Drupal update is insufficient.

Responders should review the entire web root, Drupal configuration, database users, administrator accounts, web-server processes, cron entries, SSH keys, and outbound network activity. Secrets accessible to the application should be rotated if compromise is confirmed.

Backups should also be checked carefully before restoration to ensure they predate the intrusion and do not contain malicious changes introduced after exploitation.

Detection content may not be available for every CVE. Check the SOC Prime Platform for current coverage. If relevant detections are not yet available, check again as new threat intelligence and detection content are continuously added.

FAQ

What is CVE-2026-132165 and how does it work?

CVE-2026-132165, also known as Fail2Install, is a critical vulnerability in Drupal’s built-in installer. An unauthenticated attacker can manipulate resource availability so Drupal incorrectly determines that an existing website has not yet been installed. This reopens the installer, potentially allowing an attacker to change database configuration, create an administrator account, take over the site, and under suitable conditions execute arbitrary PHP code.

When was CVE-2026-132165 first discovered?

Drupal has not published the precise date when the vulnerability was originally identified. The project credits Anthropic’s OSS Scanner with discovering it under identifier ANT-2026-GMRPK0BU. Drupal publicly released SA-CORE-2026-017 on November 18, 2026, and later confirmed exploitation on live websites as early as November 19 at 19:00 UTC.

What is the impact of CVE-2026-132165 on systems?

Successful exploitation can allow an anonymous attacker to reopen the Drupal installer on an existing website, modify site configuration, create an administrative user, take over the application, and potentially execute arbitrary PHP code. Depending on the privileges available to the web-server process, this can result in theft or modification of application data, credential exposure, web-shell installation, persistence, and further compromise of the underlying server.

Can CVE-2026-132165 still affect me in 2026?

Yes. Sites running vulnerable Drupal core versions remain exposed, and exploitation has already been confirmed in the wild. In addition, Drupal subsequently disclosed CVE-2026-136716, showing that some production systems left in unusual installation states could remain exploitable even after applying the first Fail2Install patch. Administrators should therefore install the newest supported Drupal release, run update.php, and secure the installer rather than relying solely on the November 18 patch.

How can I protect myself from CVE-2026-132165?

Update to at least Drupal 10.6.23, 11.3.23, or 11.4.14 on the supported branch, run update.php, and block public access to /core/install.php. Verify the user 1 account, inspect historical installer access, protect settings.php from unnecessary writes, and investigate any unexpected administrative or PHP execution activity observed before remediation. Drupal 8, Drupal 9, Drupal 10.5.x and older, and Drupal 11.2.x and older should be migrated to supported releases.

Join SOC Prime's Detection as Code platform to improve visibility into threats most relevant to your business. To help you get started and drive immediate value, book a meeting now with SOC Prime experts.

More CVEs Articles