What’s new. Drupal shipped SA-CORE-2026-017 on Nov 18 for a remote code execution bug in the installer that comes with Drupal core. It then updated the advisory: the first exploitation on live sites it knows of was Nov 19 at 19:00 UTC, about a day after the patch. The rating went up to “highly critical” (20/25). CISA added CVE-2026-132165 to KEV on Nov 24 and gave federal agencies until Nov 27 to fix it (per Drupal and SecurityWeek). Anthropic’s OSS Scanner found it. Searchlight Cyber reported the same bug separately, got marked as a duplicate, and on Nov 24 published how it made the bug work on stock deployments. They call it Fail2Install.
How it works. Every request to /core/install.php asks one question: is this site already installed? Drupal answers by connecting to the database named in settings.php. If that connection throws an error, the installer drops the exception and treats the site as not installed. An outage turns into “go ahead and set it up” (per Searchlight Cyber). To make that happen, an attacker only has to use up the database connections:
- Apache + PostgreSQL: stock Apache allows 150 workers (MaxRequestWorkers) and stock Postgres allows 100 connections. A flood of concurrent requests fills the pool, and the installer gets the fail, fail, then success sequence it needs.
- Apache + MySQL: Searchlight forced Drupal’s dblog module to open a second connection for each request. It did this by putting an invalid UTF-8 byte in the Referer header, which makes the watchdog insert fail.
- PHP-FPM: with only five workers by default, the trick is running Linux out of ephemeral source ports to the database: about 28,000 sockets stuck in TIME_WAIT. It’s harder, but Searchlight showed it works.
Getting from a reopened installer to a shell is simple. The installer lets you choose SQLite and type in the database file path. Give it a path under the web root that ends in .php, set the site name to PHP code, and the new database file is now a webshell (per Searchlight Cyber). Searchlight says Drupal 8.9 through 11 are affected. Drupal 7 and Drupal 8 before 8.9 fail closed and are not.
Fixed versions. 11.4.13, 11.3.22 and 10.6.22. 11.2.x and older, 10.5.x and older, and all of 8 and 9 are end-of-life and won’t get a patch. Drupal Steward customers are already covered against the known attack paths (per Drupal). Number of sites exploited: Undisclosed. Attacker: Undisclosed.
Why it matters. Production servers should never serve an installer. Drupal ships one in core, and many teams leave install.php reachable because it seemed harmless once setup was done. The broader lesson is the bug class. Code that treats “couldn’t check” as “check passed” can be attacked by anyone able to cause a resource failure on demand. So look at every setup wizard, first-admin route and config fallback in your stack. Also, the fix came out Nov 18 and the first known attack came about a day later. Fixed CMS releases get diffed fast, and the holiday weekend is when nobody is watching.
What we’d do this morning.
- Upgrade to 11.4.13, 11.3.22 or 10.6.22. If any site can’t move today, block
/core/install.phpat the web server or WAF and confirm it returns 403. Drupal’s guide on securing the installer explains how. - Make
settings.phpread-only for the web server user. Drupal says this blocks some of the exploit paths, but not all of them. - Hunt in access logs since Nov 18 for any request to
install.phpon a production host, especially POSTs toinstall.php?langcode=…&profile=…. Look for bursts of concurrent requests just before them. - Hunt in database and PHP logs for
SQLSTATE[HY000] [1040] Too many connectionsor[2002] Cannot assign requested addresslining up with installer hits. - Hunt on disk for new
.phpfiles under the web root ormodules/that are really SQLite databases (the file header starts with “SQLite format 3”). Also check for a site name or admin account that changed with no ticket behind it. - List the end-of-life Drupal 8.9, 9 and early-10 and 11 sites that marketing or agencies still run. They will never get a patch, so block the installer or take them offline.
