CVE-2026-132165: Drupal Fail2Install Exploited, KEV 11/27

CVE-2026-132165 Drupal Fail2Install — reinstall to RCE, exploited in the wild, CISA KEV

Drupal core is affected by CVE-2026-132165 — "Fail2Install" — a missing-authentication flaw (CWE-306) that leaves core/install.php usable after a site goes live. When the site cannot reach its database, the installer path reopens. An attacker who can force that brief failure can reinstall over the live site, take it over, and execute code. All 10.6.x, 11.0–11.3, and 11.4.x releases below the fixed versions are exposed. Drupal rates it Critical at 18/25 with a public exploit; NVD still had no CVSS score at publication. Exploitation is confirmed in the wild since at least 19 November 2026. CISA added it to KEV on 24 November, with a 27 November 2026 deadline. Upgrade to 10.6.22, 11.3.22, or 11.4.13 and block install.php at the web server — patching alone, or making settings.php read-only, is not the fix (see below).

How Fail2Install actually works

Every Drupal site ships core/install.php. On a correctly hardened site it is unreachable — the installer refuses to run once settings.php exists. The failure in CVE-2026-132165 is that this guard is tied to a runtime condition: if the application cannot complete its database connection, Drupal treats the site as not-yet-installed and serves the installer again.

That turns an availability problem into an authentication bypass. Connection failures are cheap to cause: a burst of requests that saturates the database's connection limit, a slow query, a load spike. No credentials, no session, no valid user. Once the installer answers, the attacker walks the wizard against their own database, and the site they finish installing is theirs — new admin account, attacker-controlled settings, and a writable path for PHP.

In practice the impact is three things at once: complete site takeover, code execution as the web user, and a rewritten site configuration — because reinstalling rewrites what the site believes about itself.

Not a Drupal shop? The same "critical function with no authentication gate" pattern shows up in admin panels, install wizards, and setup endpoints across stacks. See how we map CWE-306 exposure across a product surface →

Affected Drupal versions

Branch Affected Fixed release
10.6.x all releases before 10.6.22 10.6.22
11.0 – 11.3 all releases before 11.3.22 11.3.22
11.4.x all releases before 11.4.13 11.4.13

Anything older than the fixed release on your branch is exposed. Confirm the actual version string (drush status or the update report) rather than the branch number — 11.x spans three separate lines here, and that is where patch-level releases hide. The version alone is also not the whole mitigation; what matters is whether core/install.php answers, which the next section covers.

The CVE-2026-132165 record tracks current severity, KEV status, and affected versions against your inventory.

Drupal's own risk score is 18 out of 25 with "exploit provided" — working proof-of-concept code existed at disclosure. NVD had not scored the CVE at the time of writing (record still in Received state), so any tool that keys off NVD CVSS will show this as unscore-able rather than critical. Do not let an empty CVSS field read as "low priority."

In the wild, and on a three-day clock

The timeline is compressed even by 2026 standards:

  • 19 November 2026 — public disclosure (SA-CORE-2026-017); Drupal's security team confirms exploitation already underway, with activity dating to at least that same day.
  • 24 November 2026 — CISA adds CVE-2026-132165 to the Known Exploited Vulnerabilities catalog.
  • 27 November 2026 — federal remediation deadline. Three days.

Three days is not enough time to test a core upgrade across a fleet of Drupal sites — which is exactly why the web-server block matters. It is the mitigation you can apply in minutes, tonight, with no maintenance window.

The fix — and the misconfiguration Drupal already ruled out

Step 1: upgrade. Move to 10.6.22, 11.3.22, or 11.4.13. This is necessary and not sufficient.

Step 2: block the installer. core/install.php should never be reachable on a production site. Deny it at the edge:

location = /core/install.php { deny all; return 403; }

Or in Apache:

<Files "install.php">
  Require all denied
</Files>

Scope it to core/ — check whether contributed modules ship installers you rely on before blocking install.php tree-wide.

The mistake: making settings.php read-only. This circulates in every incident thread and Drupal's guidance does not accept it as a mitigation. The guard that matters is whether the installer is reachable, not whether settings.php is writable. A read-only settings.php adds friction to one step after the installer has already opened; it never stops it from opening. Teams that applied only the file-permission change and closed the ticket are still exposed.

Step 3: assume compromise if the window was open. A site that was reachable and unpatched between 19 and today should be treated as potentially reinstalled, especially if it had any database availability blip in that window.

Self-check: three questions, ten minutes

1. Is core/install.php reachable?

curl -sS -o /dev/null -w '%{http_code}\n' https://your-site.example/core/install.php

403 or 404 is what you want. A 200 — or a redirect into an installation wizard — means the installer is live. Repeat through any CDN or WAF in front of the origin, and test the origin directly; an edge rule that only covers the CDN hostname leaves the origin open.

2. Has the site been reinstalled?

Reinstalling rewrites the site's identity. Compare against backups and monitoring history:

  • Site UUID and config sync directory contents changed unexpectedly (drush cstatus, or check system.site).
  • sites/default/settings.php modification time falls inside the exposure window, with database credentials or hash salt you did not set.
  • The watchdog/dblog stream has a gap, or an install-time burst of entries, around the same time.
  • Content, menus, or users you did not create — especially if the site's "first" admin is not yours.

3. Are there administrator accounts you do not recognize?

SELECT uid, name, mail, created, access, login
FROM users_field_data
WHERE uid > 1
ORDER BY created DESC
LIMIT 50;

Then check role assignments for anything with the administrator role, and look specifically at accounts created after 19 November 2026. An attacker who completes the installer creates their own admin; that account is the clearest single indicator.

Run the same triage against every Drupal site you own, not just the internet-facing ones — internal Drupal installs on a flat network are reachable from any compromised workstation.

Where the persistence hides

If the installer ran, assume the attacker could briefly write site configuration. What survives:

  • sites/default/files/ — PHP dropped into the public files directory behind an image-like name, or a .htaccess change that re-enables PHP execution there.
  • sites/default/settings.php — the post-reinstall file itself, plus $config overrides pointing at an attacker database or proxy.
  • modules/ and themes/ — a directory with no matching entry in the site's extension list.
  • Cron and queue tables — a scheduled task pointing at a callback, or a queue worker from no installed module.
  • New database users granted access from unexpected hosts.

Compare the file tree against your deploy artifact or a pre-incident backup. Reinstalled Drupal looks clean on the surface, because it is a fresh install — the delta against your known-good build is the evidence.

What to do in the next hour

Block core/install.php, patch to 10.6.22 / 11.3.22 / 11.4.13, and confirm from outside your network. Then triage admins, site UUID, and the files directory on every Drupal instance you run — CVE-2026-132165 does not distinguish between your internet-facing site and the internal one nobody remembers. With a 27 November KEV deadline and confirmed exploitation, the order is: block first, upgrade second, hunt third. The block costs minutes and closes a path that does not care which version you run.

If you are unsure whether your Drupal estate is exposed, run CVE-2026-132165 through our checker for version and exposure context, or point our scanner at the site to see what answers from the outside — including installer endpoints that should not.

Dive deeper

Free tools to verify and analyze what this article covers:

source: ScyScan