Two Drupal core releases in seven days fixed the same file. On 18 November, Drupal patched the installer flaw known as Fail2Install (CVE-2026-132165), which let an anonymous visitor reopen core/install.php on a running site and reinstall it. On 25 November, the Security Team published SA-CORE-2026-019 for the same installer, rated highly critical and also exploited in the wild. The first fix covered the attack it described. It did not cover every installation state a site can be left in.
CVE-2026-136716 is the identifier for the second issue. Drupal describes the affected group as sites in “unusual or incomplete install states”, including production sites, and says the condition is not visible in the user interface. A site can look normal in the admin area, serve pages, and still let an unauthenticated visitor resume an installation that never finished.
TL;DR
- CVE-2026-136716 (SA-CORE-2026-019) is an access bypass in Drupal core’s installer, exploited in the wild and fixed in 10.6.23, 11.3.23 and 11.4.14.
- The sites at risk were left in an incomplete install state after the 18 November Fail2Install fix. Drupal says that state is invisible in the admin UI.
- Upgrading is half the fix: a post-update hook must run through
update.phpordrush updatedbbefore the stored state changes.- Blocking
/core/install.phpremoves this exposure and is the only protection for end-of-life branches.- Any site that left its installer reachable after 18 November may already have been compromised. Check user 1 and the logs.
Why This Matters
The installer ships with every Drupal core download and stays on the server after installation. Core’s default .htaccess does not block it, so a finished site usually answers requests to /core/install.php until an administrator or hosting provider denies the path. Fail2Install showed that a flood of requests could make the installer’s database checks fail in the right order, after which it treated a live site as new.
StepSecurity counted about 55,800 internet-facing Drupal services on 26 November, of which roughly 31,500 ran branches affected by Fail2Install and about 15,000 were on end-of-life Drupal 8 or 9. Those are lower bounds, and they describe the first flaw. They do not measure exposure to CVE-2026-136716, because that depends on install state rather than version alone.
CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities catalog on 24 November, with a remediation deadline of 27 November for US federal civilian agencies. Drupal’s advisory for the first flaw records exploitation on live sites from 19 November 19:00 UTC, one day after the patch.
The State the First Patch Left Behind
Before running, the installer checks whether the configured database already contains Drupal’s tables. In the vulnerable code, a failed database query counted as evidence that no installation existed. Fail2Install made the database refuse the early connections and accept a later one within the same request, so the installer concluded the site was new and displayed its setup forms.
The 18 November fix stops the installer when the database check fails. It also refuses to run when the stored task is done, or when a task is recorded together with an install_time value, which Drupal writes when an installation completes. One combination passed both guards: a recorded task with no install_time. That is the state SA-CORE-2026-019 addresses, according to analysis of the fix commit.
The 25 November change adds a second refusal for interactive installs that have a recorded task but no install session token in Drupal’s state. A release cannot change the stored state of a site that is already deployed, so the same release adds a post-update hook, system_post_update_mark_installation_finished(). It writes install_task as done and sets install_time when either one is missing. The hook runs during update.php or drush updatedb, not when the new code is deployed.
| Branch | Affected | Fixed release |
|---|---|---|
| Drupal 10.6.x | < 10.6.23 | 10.6.23 |
| Drupal 11.0.0 to 11.3.22 | >= 11.0.0, < 11.3.23 | 11.3.23 |
| Drupal 11.4.x | >= 11.4.0, < 11.4.14 | 11.4.14 |
| Drupal 11.2 and earlier, 10.5 and earlier, 8 and 9 | All releases | None, end of life |
Drupal’s affected-version expression starts with < 10.6.23, which also covers unsupported releases that still contain the vulnerable installer code. Those branches receive no backport, so the installer block below is their only protection.
A Fix That Needs Two Steps
Two things have to happen before a site leaves the vulnerable state. The new core code has to serve requests, and the database update has to run once per site. Until the second step happens, the new interactive check is the only guard; a site that skips the update hook keeps relying on one control instead of two.
composer update "drupal/core-*" --with-all-dependenciesdrush updatedbdrush cache:rebuildCheck the stored state directly instead of inferring it from a green pipeline:
drush state:get install_task # expect: donedrush state:get install_time # expect: the original install timestampOn a healthy production site, install_task reads done and install_time holds the original installation date. A recorded task that is not done, with no install_time, is the condition the advisory describes. An install_time later than the site’s real installation date points to an installer run that completed again.
Drupal Steward protects covered sites against the known attack vectors for both advisories. Drupal still recommends upgrading, since new vectors may appear.
Close the Installer
Drupal recommends denying the installer on every installed site, patched or not. On Apache, add the block to the virtual host configuration rather than to .htaccess:
<Location "/core/install.php"> Require all denied</Location>On nginx, use a prefix match so that /core/install.php/foo is blocked as well:
location ^~ /core/install.php { return 404;}Verify from outside with three requests. All three should return 403 or 404:
curl -sI https://example.com/core/install.php | head -1curl -sIL https://example.com/install.php | grep '^HTTP'curl -sI https://example.com/core/install.php/foo | head -1Keep update.php reachable to the people who run it, and remember that Drush’s site:install does not go through install.php, so blocking the path does not break provisioning. If the installer is needed later for a multisite setup, use the Drush command instead of reopening the path.
What You Can Do Today
-
Inventory every deployment and its support status. Run
composer show drupal/coreanddrush status --field=drupal-versionagainst each site, including multisite installations, standby nodes, container images and sites maintained by an agency. A generator meta tag reports only the major version, so it cannot separate a patched 10.6.23 from a vulnerable 10.6.22. -
Update to 10.6.23, 11.3.23 or 11.4.14 and run the database update. Deploy the new artifact to every serving node, then run
drush updatedbanddrush cache:rebuildagainst each site. A container that was not rebuilt still runs the old code. -
Confirm the hook ran.
install_taskmust readdoneandinstall_timemust be present. Ifupdatedbreports nothing to do, confirm the state values anyway. The command’s exit status is not evidence that the site left the vulnerable state. -
Block the installer and verify the block. Apply the deny rule from the previous section, run the three
curlchecks, and keep the rule after the upgrade. On end-of-life branches this is the only control that remains. -
Look for installer activity since 18 November. Review access logs for requests to
/core/install.php,/install.phpand/core/install.php/<anything>on installed sites, especiallyPOSTrequests. Checksettings.phpfor a recent modification time, looser permissions than you set, or asqlitedriver on a site that uses MySQL or PostgreSQL. Compareinstall_timewith your real installation date, and review user 1’s name, email address and password change history along with any administrator account you did not create. On disk, look for PHP files whose first bytes areSQLite format 3, and in logs for URLs ending in.php/core/<name>.php. -
Treat a completed installer run as a takeover. The web server can read
settings.php, which holds the database credentials and the site’s hash salt. Rotate both, restore from a backup made before the event, remove PHP files you did not deploy, and givesettings.php,modulesandthemesownership and permissions that keep the web server from writing to them.
What This Does Not Tell You
Drupal has published no victim count and no indicators of compromise for either advisory. The incomplete state has no visible marker, so a clean admin page does not prove a site was never in it. An empty query against retained logs proves only that those logs contain nothing.
A Fail2Install attempt also leaves noise that this flaw does not: connection-refusal bursts and a spike of HTTP 500 responses while the database pool is exhausted. Those signals are worth alerting on, and their absence does not clear a site whose logs do not cover the window.
Sites on end-of-life branches get no patched release. Blocking the installer mitigates them, and it does not undo an installation that already completed. Migration to a supported branch is the remediation.
The mechanism described here comes from analysis of the fix commit. The advisory states the condition, the affected versions and the required steps without publishing exploit details. Use the state checks as triage guidance, not as proof that no earlier access occurred.
Related Posts
- Drupal CVE-2026-108097: Field UI Turns Module Combinations Into an RCE Risk — the earlier Drupal core advisory from October and how exploitability depended on the module set.
- Citrix NetScaler Zero-Days Exploited: What to Patch and How to Check for Compromise — a patch-and-investigate pattern for an appliance that is already under attack.
- Cookie-Controlled PHP Webshells: Detection and Linux Hosting Defense — what to look for on a PHP host when code execution is suspected.
Sources
Research checked November 26, 2026. Confirm supported versions and the current advisory text with Drupal before changing production.
- Drupal SA-CORE-2026-019: Drupal core, Highly critical, Access bypass / CVE-2026-136716
- Drupal SA-CORE-2026-017: Drupal core, Highly critical, Remote code execution / CVE-2026-132165
- Drupal: Securing the installer (install.php)
- Drupal: Securing file permissions and ownership
- Drupal fix commit cc92f32f4a for SA-CORE-2026-019
- CISA Known Exploited Vulnerabilities catalog
- StepSecurity: Fail2Install (CVE-2026-132165)
- Corgea: Fail2Install, Drupal installer takeover exploited and patched twice
- Searchlight Cyber: Fail2Install, turning system limits into pre-auth RCE in Drupal
Useful read?
Find us again on Google.
Add Hive Security as a preferred source for practical security research and analysis.
Add as a preferred source on GoogleChoose Hive Security in Google's source preferences.