Trending · CVE-2026-132165 · Researched Deep-Dive

The setup wizard you finished years ago just reopened

Topic: Trending this weekCVE: CVE-2026-132165Advisory: SA-CORE-2026-017Status: Exploited in the wild · CISA KEV
A website installer screen reopening in the dark

The installer never left your server. Fail2Install is the story of how it learned to wake up.

TL;DR — Drupal core's installer (core/install.php) decides "is this site installed?" by asking the database — and when the database can't answer, it guesses "not installed". An unauthenticated attacker who transiently exhausts database connections (or TCP ports, or file descriptors) can make a live site present the installer's database-configuration form, repoint the site at an attacker database, and become user 1 — or get direct code execution via a SQLite file planted as a .php. Drupal's advisory is SA-CORE-2026-017 (18 Nov 2026); exploitation on live sites was reported from 19 Nov, 19:00 UTC. A follow-on flaw (CVE-2026-136716, SA-CORE-2026-019) means the truly safe floor today is 10.6.23 / 11.3.23 / 11.4.14, plus running update.php.

Why this leads the week

Three properties defenders hate in combination: unauthenticated, exploited within about a day of the patch, and full site takeover as the payoff. CISA added the CVE to its Known Exploited Vulnerabilities catalog on 24 November with a federal remediation deadline of 27 November — three days — and a second, related CVE joined it on 27 November with a 30 November deadline. StepSecurity's Shodan-based estimate on 26 November counted roughly 55,800 exposed Drupal services, about 31,500 on affected branches and some 15,000 on end-of-life Drupal 8/9 that will never be patched.

The mechanism: FAIL → FAIL → SUCCESS

Drupal's own advisory is deliberately terse — the installer can be used "under specific conditions" to attempt a reinstall, leading to takeover or RCE. The mechanism below comes from Searchlight Cyber's original research (which named the bug "Fail2Install") and was independently reproduced by StepSecurity.

The decision lives in install_begin_request() in core/includes/install.core.inc. The installer file stays on disk after installation, and three sequential database operations in a single request each fail open:

  1. FAIL 1 — verify database settings. install_verify_database_settings() connects using settings.php. If the connection throws, it records "not verified" — but execution continues. A busy database is indistinguishable from an unconfigured one.
  2. FAIL 2 — the anti-reinstall guard. install_verify_database_ready() defaults $existing_install = FALSE, then checks whether Drupal's tables exist inside a try with an empty catch — commented, in effect, "the database might not be set up yet". Any error leaves the guard convinced there is no existing install, and the AlreadyInstalledException is never thrown.
  3. SUCCESS — the requirements check. A later connection attempt succeeds. No "requirements problem" page appears — and because settings were never verified, the installer proceeds as a fresh install and serves the "Database configuration" form to an anonymous visitor.

How the attacker forces the failures

The transient failures are manufactured with resource exhaustion, tuned per stack:

From the form to takeover — two endings

Versions: affected, fixed, and the follow-on trap

ItemDetail
AdvisorySA-CORE-2026-017 — 18 November 2026
AffectedDrupal < 10.6.22; 11.0–11.3.21; 11.4.0–11.4.12 (per the advisory). Searchlight's testing also demonstrated 8.9/9.x; Drupal 7 and pre-8.9 fail closed. Branches 11.2.x and below, 10.5.x and below, and Drupal 8/9 are end-of-life with no fix coming.
Fixed for this CVE10.6.22 · 11.3.22 · 11.4.13 (18 Nov 2026)
Follow-onSA-CORE-2026-019 / CVE-2026-136716 (25 Nov) — sites in unusual or incomplete install states remained takeover-able after the first fix, also exploited. Current minimum safe: 10.6.23 / 11.3.23 / 11.4.14 + run update.php.
DiscoveryCredited to Anthropic's OSS Scanner; Searchlight Cyber found it independently, named it, and states its own report was a duplicate — a useful reminder that even the naming rights went to the second finder.

Scoring — an honest disagreement

You will see two numbers for this CVE, and both are "official": NVD rates it 9.8 (attack complexity Low), while Drupal's CNA scoring is 8.1 with attack complexity High — the entire gap is how hard the timing/exhaustion dance is judged to be. Drupal's own scale calls it "Highly critical, 20/25". The weakness class is likewise recorded two ways: CWE-306 (missing authentication for a critical function) in the CVE record, and CWE-636 (not failing securely) in the KEV entry. The second CWE is the more instructive one: this bug is, at heart, a system that fails open.

Exploitation timeline

DateEvent
18 Nov 2026SA-CORE-2026-017 published; fixed releases ship
19 Nov, 19:00 UTCDrupal reports exploitation attempts against live sites — roughly a day after the patch
24 Nov 2026Searchlight's public write-up; CISA adds CVE-2026-132165 to KEV (due 27 Nov, with forensic triage under BOD 26-04)
25 Nov 2026Follow-on SA-CORE-2026-019 / CVE-2026-136716
27 Nov 2026Follow-on CVE added to KEV (due 30 Nov)

One honesty note: neither Drupal nor CISA has published an actor, a victim count, or IOCs. Claims circulating in aggregator posts about observed webshell campaigns go beyond what primary sources support; the post-exploitation picture below is from Drupal's own compromise guidance and testing, not from a documented victim.

If you run Drupal: patch, then hunt

  1. Upgrade to 10.6.23 / 11.3.23 / 11.4.14 (or later) and run update.php. Patching to the first fix alone is no longer the finish line.
  2. Check for compromise BEFORE running the update — Drupal warns the update erases installer-state signals. Look for: installer POST requests with redirects and large responses in logs; bursts of database-refusal errors; install_task not "done" or a recent install_time; user 1's name, email or password changed; new or promoted admin accounts; settings.php modification time or hash-salt changes; PHP files inside upload directories — including files that begin with "SQLite format 3".
  3. Block the installer at the edge as permanent defence in depth: /core/install.php should return 403/404 on any production site (vhost-level rules; verify path variants too).
  4. Make settings.php and the sites directory read-only to the web user, and keep code directories non-writable by the web server — several exploit paths die on exactly this.
  5. If you find signs of compromise: patching does not clean a site. Drupal's testing showed a planted backdoor and an attacker admin could survive both the update and a user-1 password reset. Rebuild from a pre-attack backup and rotate database credentials and keys.

The hunter's takeaway

Fail2Install is a state-machine bug wearing a race condition's clothes. The installer asked the environment "am I installed?" at the exact moment the environment couldn't answer — and treated silence as "no". The same question audits every system I touch: when a dependency fails, what does your application believe about itself — and who profits from that belief? Add the empty-catch pattern to your grep list: a catch block that swallows errors next to a security decision is a finding waiting for its CVE.

Sources (researched 30 Nov 2026): Drupal SA-CORE-2026-017 and SA-CORE-2026-019 (drupal.org); Searchlight Cyber, "Fail2Install" original research (slcyber.io); StepSecurity's independent reproduction and exposure analysis; NVD entry for CVE-2026-132165 including the CISA KEV listing. Where sources disagreed (CVSS, CWE), both values are reported above.

Found something similar?

I help teams verify and fix issues like this — and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.