When Running Out of Resources Reopens the Installer: Drupal's Fail2Install and Failing Open
On November 18, 2026, the Drupal Security Team published SA-CORE-2026-017, rated "Highly critical" at 20 out of 25 on Drupal's risk scale. The flaw, CVE-2026-132165, lives in install.php, the script that sets up a new Dr
On November 18, 2026, the Drupal Security Team published SA-CORE-2026-017, rated "Highly critical" at 20 out of 25 on Drupal's risk scale. The flaw, CVE-2026-132165, lives in install.php, the script that sets up a new Drupal site. According to the advisory, under specific conditions an attacker can use the installer to attempt to reinstall Drupal on a site that is already running, which can lead to site takeover or remote code execution.
The team had no reports of attacks when the fixes shipped. A later update to the advisory says the flaw was exploited on live sites as early as 2026-11-19 19:00 UTC, a day after the patch. On November 24, CISA added it to its Known Exploited Vulnerabilities catalog with a federal deadline of November 27. This article follows what the primary sources say, and what the independent research explains about why an installer can come back to life.
What the advisory says, and what it leaves out
The advisory is short. Affected versions are Drupal 10 before 10.6.22, Drupal 11.0 up to before 11.3.22, and Drupal 11.4 before 11.4.13. Fixed releases are 10.6.22, 11.3.22 and 11.4.13. Drupal 11.2 and older, Drupal 10.5 and older, and Drupal 8 and 9 are end-of-life and receive no security fix.
It also says that some, but not all, exploit paths are mitigated if the web server cannot write to or change permissions on settings.php, and it recommends securing the installer after installation. Where an upgrade is not possible immediately, Help Net Security and BleepingComputer, summarizing the advisory, describe blocking access to /core/install.php in the web server configuration or the .htaccess file. Sites behind Drupal Steward, the project's paid web application firewall service, are protected against the known attack vectors, though Drupal still advises upgrading.
The advisory credits the discovery to Anthropic's OSS Scanner, tracked as ANT-2026-GMRPK0BU. It does not explain the "specific conditions". That explanation came from outside.
Where the conditions come from: system limits
On November 24, researchers Kevin Gervot and Adam Kues of Searchlight Cyber published a write-up titled Fail2Install. They state that their finding turned out to be a duplicate of the scanner's report, but that their work on making it exploitable on stock configurations is worth sharing. Their starting question was what happens when an application catches a resource-exhaustion error and converts it into trusted state.
Their reasoning, in their own framing, goes like this. Running out of file descriptors, database connections or ephemeral TCP ports is usually treated as a denial-of-service problem. But if code responds to such a failure by falling back to a default, the failure can become a security primitive. The installer is a natural place for that pattern. An installer has to decide whether a site is already installed, and a common way to decide is to ask the database. If the database check fails, a naive fallback concludes the site is not installed.
Searchlight describes three limits it used: the per-process file descriptor limit (EMFILE), the database connection limit, and TCP source-port exhaustion. In their example setups, PostgreSQL's default of 100 connections, with 3 reserved, is lower than Apache's default of 150 workers, which makes connection exhaustion the easiest condition to reproduce with default settings. The default PHP-FPM pool size of five workers per replica and the default MySQL limit of 151 connections change the arithmetic for other combinations.
FAIL, FAIL, SUCCESS
According to The Hacker News summary of the research, Drupal does have checks before it lets installation proceed. The research found that they can be bypassed by exhausting server resources. A failed connection to the configured database and a failed check for an existing installation are read as evidence that the site has not been installed. A race condition then lets a second connectivity check pass. Searchlight describes the resulting sequence as FAIL, FAIL, then SUCCESS, which reopens the installer on an existing website.
From there, the chain depends on a second weakness. Searchlight reports that the installer supports SQLite database files and lets the path be chosen during installation, without restricting the file extension. A path ending in .php under the document root produces an SQLite database with a PHP extension. The site name entered on the configuration form is stored inside that file, so PHP code entered as the site name lands in a .php file. Searchlight notes that Drupal's stock .htaccess blocks direct access to such a file on a stock Apache deployment, but reports that a path-handling weakness in an Apache RewriteRule can be used to execute the PHP anyway.
Searchlight says the combined result is pre-authentication remote code execution across Drupal 8.9, 9, 10 and 11 in four common deployment combinations: Apache with PostgreSQL, Apache with MySQL, PHP-FPM with PostgreSQL, and PHP-FPM with MySQL. The claim about 8.9 and 9 is Searchlight's. Drupal's advisory lists those branches as end-of-life, which means no fix is coming for them.
How the numbers read
The record has a few figures worth keeping apart:
- CVSS 9.8: the score reported by The Hacker News for CVE-2026-132165.
- 20 out of 25: Drupal's own rating, with the vector listing complex attack complexity and "uncommon" target distribution.
- November 19, 19:00 UTC: the earliest exploitation time reported to the Drupal Security Team, per the advisory update. It is a report, and the advisory does not describe the activity or the actor.
- Five: the number of Drupal vulnerabilities CISA has tagged as exploited since November 2021, two of them also used by ransomware groups, according to BleepingComputer.
NHS England Digital's cyber alert, published November 25, assesses further exploitation as likely. That is the assessment of its National CSOC, not a measurement.
The pattern under the bug
Drupal's code is not the only code with an installer that decides by asking whether something is already there. Searchlight itself lists the WordPress installer and Strapi's first-admin setup route as other examples of setup endpoints that depend on checks such as database connectivity or required tables. That list is the authors' illustration of the general pattern. It is not a statement that those products are vulnerable.
The practical lesson in Searchlight's framing is that a failure which looks like availability can cross a security boundary when the code treats "could not check" as "no". The safe direction for an installer is to fail closed: if it cannot confirm the state, it should refuse to proceed.
What the sources say to do
- Upgrade to Drupal 10.6.22, 11.3.22 or 11.4.13, depending on the branch (Drupal advisory).
- Move off end-of-life branches, which receive no fix (Drupal advisory).
- Until then, block /core/install.php at the web server or in .htaccess (Drupal advisory, as summarized by Help Net Security and BleepingComputer).
- Keep settings.php non-writable by the web server where possible, which mitigates some but not all paths (Drupal advisory).
- Federal civilian agencies were required to fix by November 27 under CISA's directive. Other organizations are encouraged to prioritize KEV entries (CISA).
Sources
All claims are attributed to the organizations below. None were independently reproduced.
- Drupal security advisory SA-CORE-2026-017: https://www.drupal.org/sa-core-2026-017
- CISA, November 24 KEV additions: https://www.cisa.gov/news-events/alerts/2026/11/24/cisa-adds-three-known-exploited-vulnerabilities-catalog
- Searchlight Cyber, Fail2Install: https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal
- Help Net Security: https://www.helpnetsecurity.com/2026/11/25/drupal-installer-rce-cve-2026-132165-exploited/
- BleepingComputer: https://www.bleepingcomputer.com/news/security/hackers-now-exploit-critical-drupal-rce-flaw-to-hijack-sites/
- The Hacker News: https://thehackernews.com/2026/11/drupal-fail2install-exploit-details.html
- NHS England Digital alert CC-4904: https://digital.nhs.uk/cyber-alerts/2026/cc-4904
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.