CVE

Drupal Install Exposure (CVE-2026-132165)

Check Drupal sites for the install.php reinstallation flaw in CVE-2026-132165 with GET requests only, sorting EOL branches that never receive a fix.

AuthorTrickest
100%

Notes on this workflow

Results — out/results.jsonl (probe), out/findings.jsonl (verdict, severity, kev=true via 132165, actively_exploited, cve_ids [132165+132166], cvss=None with note, advisory links for both SAs, detection caveat, remediation), out/summary.jsonl (counts, installer_page_served list, coverage note). Remediation: upgrade to 10.6.22/11.3.22/11.4.13; EOL branches must migrate; block the installer at web server/CDN; make settings.php non-writable (partial mitigation only); KEV forensic triage — installer access in logs, unexpected reinstall activity, settings.php mtime/permission changes, new admin users.

Target — target list file (host, host:port, or scheme://host[:port][/path]); zero usable targets exits nonzero; bare hosts default https with http fallback. Probe budget: exactly 3 GETs per host, ~1 rps with jitter, no retries, no path variants or backup-file names beyond the single documented /core/install.php path. The three GETs: / (fingerprint via meta Generator / x-drupal headers / core asset paths), /core/CHANGELOG.txt (exact core version when readable — removal is normal and never reads as patched), /core/install.php (installer state).

How it works — version classification per the advisory: 10.6.x < 10.6.22 affected; 11.0-11.3 < 11.3.22; 11.4.x < 11.4.13; <=10.5.x and <=11.2.x and 8/9 EOL (affected, no fix exists); later branches fixed. installer_state: installer-page (form served — uninstalled or reinstallable; closest to the vulnerable precondition, flagged investigate-immediately, still not proof of exploitability), already-installed, blocked (403/404 — surface reduced), filtered (5xx/reset — inconclusive, not retried), absent. Verdicts: exposed / exposed_eol (in-range or EOL, both CVEs attached), version_unknown (drupal-identified, never downgraded to not-exposed), not_exposed, not_product, inconclusive, error. Response bodies are never persisted; a settings.php-style leak would be a reported finding, never stored data.

Overview — CVE-2026-132165 (SA-CORE-2026-017, highly critical 20/25, KEV 2026-11-24 due 2026-11-27, exploited on live sites since 2026-11-19, Fail2Install research) + CVE-2026-132166 (SA-CORE-2026-018 gadget chain; same fixed releases, version-gated co-finding, not KEV/ITW). The installer's reinstall-guard fix cannot be tested remotely — patched and unpatched installed sites answer a plain GET identically — so verdicts are EXPOSURE ONLY. Driving the installer is the attack (a successful reinstall destroys the site configuration) and is structurally impossible here: the guard admits exactly three GET paths and refuses everything else. No CVSS quoted (NVD has none yet). EOL branches (<=10.5.x, <=11.2.x, Drupal 8/9) get no fix at all.

Overview

This workflow checks Drupal sites for CVE-2026-132165, the installer reinstallation flaw that leads to site takeover or remote code execution, with its companion gadget-chain record CVE-2026-132166 fixed by the same releases. On an installed site the installer is supposed to refuse to run, but under specific conditions an unauthenticated visitor can drive a reinstall attempt, and the advisory confirms exploitation on live sites started a day after publication. CISA listed the primary record on KEV. The exploit runs through the installer itself, so this workflow will not touch it: it sends GET requests only, reads the installer's state from its response, and never navigates a form or submits anything. EOL branches matter here because they never receive a fix. Each site comes back with a verdict you can feed into exposure management.

Pipeline

  1. Read the target list and send at most three GETs per host at about one request per second with jitter: the homepage for the Drupal fingerprint, the core changelog for a readable version, and the installer path for its state.
  2. Read the installer state: a served installer page means the site is uninstalled or reinstallable, which is the precondition to investigate immediately; an "already installed" response is the healthy state; a hard block or an error keeps the row uncertain.
  3. Classify the version against the fixed releases 10.6.22, 11.3.22, and 11.4.13, and mark end-of-life branches as exposed with no fix available. A missing changelog is never scored as patched.
  4. Never POST, never submit a form, never navigate installer steps: driving the installer is the attack, since a successful reinstall destroys and replaces the site configuration.
  5. Reconcile one verdict per target and write findings plus summary counts.

Inputs

  • Target list. Drupal site URLs you are authorized to test. The default file ships a sample fleet list; bind your own.

Outputs

  • findings.jsonl. One row per site: URL, Drupal fingerprint evidence, version and its source, installer state, verdict, severity, and evidence.
  • summary.jsonl. One line with verdict counts and the sorted target lists per verdict, including the end-of-life list.

Integrations

  • HTTP. Three GET requests per host maximum, no POSTs, no form submissions, no installer navigation.

Sample output

The records below are illustrative and do not come from a real run. They show a supported site serving the installer page, an end-of-life site, and a patched site.

targetis_drupalversionversion_sourceinstaller_stateverdictdetailerror
https://cms-a.example.comtrue10.6.20core/CHANGELOG.txtinstaller_pageexposedinstaller page served on a build below 10.6.22null
https://cms-b.example.orgtrue9.5.11core/CHANGELOG.txtinstaller_pageexposed_eolend-of-life branch; no fix release will ship for itnull
https://cms-c.example.nettrue11.4.13core/CHANGELOG.txtalready_installednot_exposedpatched build with the installer refusing to runnull
{"cve": "CVE-2026-132165", "product": "Drupal core", "total_targets": 3, "verdict_counts": {"exposed": 1, "exposed_eol": 1, "not_exposed": 1}, "exposed_targets": ["cms-a.example.com"], "exposed_eol_targets": ["cms-b.example.org"], "version_unknown_targets": [], "not_exposed_targets": ["cms-c.example.net"], "inconclusive_targets": [], "error_targets": []}

FAQ

Does the workflow ever drive the installer?

No. The module-level guard admits exactly three GET paths and refuses everything else. Driving a reinstall is the attack itself: a successful reinstall destroys and replaces the site configuration, so the workflow only reads what the installer page already says.

What does an installer-page verdict mean?

It means the site answered the installer path with a selection or setup page instead of refusing to run. That is the closest remote signal to the vulnerable precondition and needs immediate investigation, but it is not by itself proof the reinstallation exploit succeeds.

What happens to end-of-life Drupal sites?

They get their own verdict, exposed on an EOL branch, because no fix release will ever ship for them. Migration is the only remediation, and hardening settings.php alone does not close every exploit path.

What is CVE-2026-132165?

Missing authentication on the Drupal core installer's reinstallation path, rated highly critical by the Drupal security team and listed on CISA KEV in November 2026. Its companion CVE-2026-132166 is a gadget-chain record fixed by the same releases.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.