Drupal Fail2Install exploited: how CVE-2026-132165 and SA-CORE-2026-019 let attackers reinstall live sites
SA-CORE-2026-019: Drupal Fail2Install (CVE-2026-132165) and CVE-2026-136716 are exploited to reinstall live sites. Attack chain, fixed versions, checks.
Key facts
- CVEs
- CVE-2026-132165, CVE-2026-136716
- Severity
- Highly critical on Drupal's 25-point scale: 20/25 for SA-CORE-2026-017 (remote code execution) and 21/25 for SA-CORE-2026-019 (access bypass). Tenable lists CVE-2026-132165 at CVSS 3.1 9.8.
- Affected
- Drupal core 10 before 10.6.23, 11.0.0 to before 11.3.23 and 11.4.0 to before 11.4.14 when /core/install.php is reachable. End-of-life 11.2 and earlier, 10.5 and earlier, 9 and 8.9 get no fix. Drupal 7 is not affected.
- Exploited in the wild
- Yes. Drupal received a report of exploitation of CVE-2026-132165 on live sites as early as 19 November 2026, 19:00 UTC, and says CVE-2026-136716 is also exploited in the wild.
- CISA KEV
- CVE-2026-132165 added to CISA KEV on 24 November 2026, due 27 November.
- Fixed in
- Drupal 10.6.23, 11.3.23 and 11.4.14 (25 November), followed by update.php or drush updatedb. The 18 November releases 10.6.22, 11.3.22 and 11.4.13 did not stop SA-CORE-2026-019.
- What to do now
- Block /core/install.php at the web server, check user 1, install_time and installer logs before running database updates, then update and run updatedb.
Drupal Fail2Install, the installer flaw tracked as CVE-2026-132165, is being exploited to take over live Drupal sites, and the first patch did not close every path. Drupal fixed it on 18 November 2026 in SA-CORE-2026-017. One week later, on 25 November, SA-CORE-2026-019 (CVE-2026-136716) said that “certain sites in unusual or incomplete install states remain vulnerable to site takeover”, that this is also exploited in the wild, and that sites need 10.6.23, 11.3.23 or 11.4.14 plus a database update.
Drupal’s own guidance, published on 26 November, is blunt: “Updating to 10.6.22, 11.3.22 or 11.4.13 last week did not protect against this issue.” If /core/install.php was reachable from the internet at any time since 18 November, the site needs to be checked, not just patched.
What happened
| Advisory | CVE | Type | Drupal risk | Fixed in |
|---|---|---|---|---|
| SA-CORE-2026-017 (18 Nov) | CVE-2026-132165, “Fail2Install” | Remote code execution through the installer | Highly critical, 20/25 | 10.6.22, 11.3.22, 11.4.13 |
| SA-CORE-2026-019 (25 Nov) | CVE-2026-136716 | Access bypass, site takeover in incomplete install states | Highly critical, 21/25 | 10.6.23, 11.3.23, 11.4.14 |
The first advisory was updated to say the Drupal Security Team “received a report this was exploited on live sites as early as 2026-11-19 19:00 UTC”, about a day after the fix. CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities catalog on 24 November with a 27 November due date. Drupal credits the discovery to Anthropic’s OSS Scanner (ANT-2026-GMRPK0BU). Searchlight Cyber found the same bug independently and published a full exploitation write-up on 24 November under the Fail2Install name.
Neither Drupal nor CISA has said who is behind the attacks or how many sites were hit.
The attack chain, step by step
Based on Searchlight Cyber’s research and StepSecurity’s analysis of the fix:
- Find a reachable installer. Drupal ships
core/install.php, and the stock.htaccessallows requests to PHP files under/core. On an installed site it should answer “Drupal already installed”. - Make the database fail, then succeed. The installer checks the database several times before deciding whether a site exists. In affected versions, early checks treat a database error as “not installed yet”. The attacker floods the site so those early checks fail and a later one succeeds within the same request. Searchlight Cyber used database connection exhaustion on Apache and TCP source port exhaustion through
TIME_WAITon PHP-FPM, whose default five workers are too few to fill the connection pool. - Reinstall. The installer now shows its setup forms on a live site. The database form writes what it receives to
settings.php, so the attacker can point the site at a database they control and create the administrator account. - Run code. The shortcut: choose SQLite and give a database path ending in
.phpinside the web root, such asweb/modules/x.php, then enter PHP code as the site name. The code lands in that file. A request like/modules/x.php/core/x.phppasses the.htaccessexception for core scripts, which only checks how the URL ends, and Apache executes the planted file.
Searchlight Cyber says this works on Drupal 8.9, 9, 10 and 11 with MySQL or PostgreSQL. Drupal 7 and 8 before 8.9 fail closed.
SA-CORE-2026-019 covers the leftover case: sites whose stored installer progress never reached “finished”, for example an install session that was started and stalled. They could still be taken over after the first patch, and the state is invisible in the admin interface.
Why it worked
A failure was trusted as a fact. The installer read “database error” as “empty site”, so a transient availability problem became an authorization decision. Searchlight Cyber calls it a “FAIL, FAIL, and then SUCCESS sequence”.
The installer stayed online. Drupal recommends securing install.php after installation, but a reachable installer was the precondition for both advisories.
The fix was narrower than the problem. Commit a15a19b makes database errors stop the installer, refuses to resume finished installs, binds an installation to the session that started it, and stops the installer from running chmod on settings.php. It did not cover every stored install state, which is why a second advisory followed. StepSecurity also notes the .htaccess rule that lets /modules/x.php/core/x.php run is unchanged in the fixed releases.
Version scans do not help. StepSecurity points out that modern Drupal only exposes its major version, so a banner cannot tell 10.6.21 from 10.6.23. It counted about 31,500 internet-facing Drupal services on affected branches on 26 November, roughly 15,000 of them on end-of-life 8 and 9, which will never get a fix.
What defenders should do
- Block the installer first. Drupal says this “closes the vulnerability faster than updating”. On nginx use a prefix match such as
location ^~ /core/install.php { return 404; }. Drupal warns that an exact match (location = /core/install.php) does not block/core/install.php/fooon servers that pass.php/paths to PHP. - Check, then update. The SA-CORE-2026-019 update hook sets
install_tasktodoneand fills an emptyinstall_time, which overwrites evidence, so run the checks below first. Then install 10.6.23, 11.3.23 or 11.4.14, runupdate.phpordrush updatedb, and make sure the user 1 email is one you control. - Remove write access. Drupal says some exploit paths are blocked when the web server cannot write to or change permissions on
settings.php. Keep code directories such asweb/modulesread-only for the web server user. - If compromised, rebuild. Drupal says “a backdoor, a changed
hash_saltand an attacker’s administrator account all remained” after updating and resetting user 1 in testing. Rebuild code from Git orcomposer install, restore a pre-attack database backup, rotate every secret and end all sessions.
How to check if you are affected
- Exposure:
curl -I https://your-site/core/install.php,curl -IL https://your-site/install.phpandcurl -I https://your-site/core/install.php/fooshould all return 403 or 404. - Version:
composer show drupal/core. Anything below 10.6.23, 11.3.23 or 11.4.14 needs the update. - Logs since 17 November: a 200 of about 2 KB is usually the “already installed” page. Investigate installer POSTs answered with 302 or 303, much larger responses,
op=orid=parameters, bursts from one address, and pages titled “Choose language” or “Installing Drupal”. Also look for requests to.phpfiles under/sites/*/files/. - Install state:
drush state:get install_task(anything butdonemeans vulnerable now),drush state:get install_session_token(any value is a strong sign of an interrupted attack), and aninstall_timeafter 18 November on an older site. - Accounts and settings: user 1 name, email or password changed, unknown administrators, a changed site email or update notification address, a modified
settings.phpor extrahash_saltlines, and PHP files in the files directory outsidefiles/php/twig/.
My take
Fail2Install is a logic bug, not a memory bug, and that is what makes it interesting. Availability limits are attack surface: if an attacker can make your database say no on demand, every “if the query fails, assume X” in your code is a decision they control. Drupal sites also sit on the PHP stack that the PHP 19 November security release just patched, so the same servers likely need two updates this month.
What bothers me more is the patch sequence. Teams that patched on 18 November did the right thing quickly and were still exposed for a week. The one control that protected sites from both advisories, blocking install.php, is a few lines of web server config. CISA put Fail2Install in the same KEV batch as the Optimizely Web Experimentation flaw, another reminder that web platforms are now a weekly patching problem.
Questions for this week: how many Drupal sites do we run, including forgotten microsites, does any still answer on /core/install.php, and did anyone read the logs before running updatedb? More cases in exploited vulnerabilities.
Sources
- Drupal core - Highly critical - Access bypass - SA-CORE-2026-019 · Drupal Security Team, 25 November 2026
- Drupal core - Highly critical - Remote code execution - SA-CORE-2026-017 · Drupal Security Team, 18 November 2026, updated
- Checking whether your site was compromised through the installer · Drupal.org documentation, 26 November 2026
- Securing the installer (install.php) · Drupal.org documentation
- CISA Adds Three Known Exploited Vulnerabilities to Catalog · CISA, 24 November 2026
- Fail2Install: Turning System Limits into Pre-Auth RCE in Drupal · Searchlight Cyber, 24 November 2026
- Fail2Install (CVE-2026-132165): Drupal Installer Flaw Lets Attackers Take Over Sites and Run Code · StepSecurity, 26 November 2026
- CVE-2026-132165 · Tenable
- Drupal warns of new site takeover flaw exploited in attacks · BleepingComputer, 27 November 2026
- Drupal Flaw Found by Anthropic Scanner Exploited in Attacks · SecurityWeek, 25 November 2026