Drupal Installer Takeover Checklist
Is your Drupal installer really closed? Drupal’s advisory for CVE-2026-132165 ("Fail2Install") describes the installer becoming reachable again on a site that is already installed. Drupal now lists 10.6.23, 11.3.23 and 11.4.14 as the releases that fix it and the related CVE-2026-136716. Work through patching every site, denying core/install.php at the web server, read-only settings and a unique hash_salt, a database account that can only touch its own database, a search of your logs for installer hits and a backup you have actually restored. You get a 0–100 score and the gaps ranked so you fix the riskiest first.
Unpatched core with a reachable installer. Update core today and deny install.php at the web server.
- Version and patching0
- Installer lockdown0
- Settings and file permissions0
- Database credentials0
- Detection and review0
- Recovery0
Prioritised gaps
Highest-weight, least-done items first. Work from the top.
- Version and patching · unanswered
Update core to 10.6.23, 11.3.23, 11.4.14 or later on your branch with Composer (composer update "drupal/core-*" --with-all-dependencies), run database updates and clear caches.
- Installer lockdown · unanswered
Add a deny rule, for example nginx "location ~* ^/(core/)?install\.php { return 403; }" or an Apache <Files install.php> Require all denied block, and confirm it returns 403 from outside.
- Version and patching · unanswered
Inventory every Drupal codebase and URL (hosting panels, DNS, the "X-Generator" header or /core/CHANGELOG.txt where exposed) and record the core version.
- Settings and file permissions · unanswered
chmod 444 settings.php and 555 sites/default, owned by a deploy user that is not the PHP or web server user. Drupal's status report warns when these are writable.
- Settings and file permissions · unanswered
Make the codebase read-only to the PHP process and allow writes only to sites/*/files and the private files path.
- Version and patching · unanswered
Check the branch against Drupal's supported-release list; plan the upgrade and apply the web-server blocks below in the meantime.
- Version and patching · unanswered
Subscribe the owning team to Drupal security announcements and set a patch target for core security releases.
- Installer lockdown · unanswered
Keep update_free_access FALSE in settings.php and restrict /core/update.php to trusted addresses at the web server.
+ 12 more in the checklist below and in the export.
Version and patching · weight 26
The fix closes the hole the advisory describes. Multisite installs, staging copies and forgotten microsites are the ones that stay on old core.
Every Drupal site runs a fixed core release for CVE-2026-132165: Drupal's advisories list 10.6.23, 11.3.23 and 11.4.14 (they also fix the related CVE-2026-136716) (or later on the same branch).
You have a complete list of Drupal sites, including staging, test, multisite children and old campaign sites, with the core version of each.
Sites on a branch outside Drupal's security support have an upgrade plan and extra compensating controls until then.
Someone is subscribed to Drupal security advisories and core security releases are applied within days, not at the next release cycle.
Installer lockdown · weight 24
An installed site has no reason to serve its installer. Blocking it at the web server is a second lock that works even when the application logic fails.
Requests to core/install.php (and install.php at the web root on older layouts) are denied at the web server or CDN on every installed site.
core/update.php is restricted too: $settings['update_free_access'] is FALSE and, where possible, the path is limited to admin IP ranges.
A web application firewall or CDN rule blocks installer and update paths from the internet, and logs any attempt.
Deployments do not ship a writable default.settings.php or leave a fresh settings file that would let the installer think the site is new.
Settings and file permissions · weight 20
If the installer or any other bug gets a foothold, read-only settings and a site-unique hash_salt limit what it can rewrite or forge.
sites/default/settings.php is read-only for the web server user (for example 444) and the sites/default directory is not writable (for example 555).
$settings['hash_salt'] is set to a long random value unique to each site and stored outside the web root or in an environment variable.
Code files are owned by a deploy account and not writable by the web server; only the public and private files directories are writable.
$settings['trusted_host_patterns'] is set so the site only answers for its real host names.
Database credentials · weight 12
The installer works with a database connection. A narrowly scoped account limits what an attacker can do with the one your site uses.
The site's database user has rights only on its own database, with no global privileges (no SUPER, FILE, GRANT OPTION or access to other databases).
The database server is not reachable from the internet, only from the web servers.
Database credentials are unique per site and environment and were rotated after any suspected compromise.
Detection and review · weight 10
An installer hit on a live site is never legitimate. It is one of the clearest signals you can alert on.
Web logs have been searched for requests to install.php since the advisory, and any 200 responses were investigated.
You alert on new administrator accounts, changes to user 1 and role changes, and have reviewed the current admin list.
File integrity monitoring covers settings.php, core and contributed module code.
Recovery · weight 8
If the site was reinstalled or pointed at another database, you need a clean copy of both code and data to go back to.
Database and files backups are taken at least daily, kept off the web server and tested by restoring.
A runbook covers a suspected installer takeover: take the site offline, preserve logs, restore from a known-good backup, rotate database credentials, hash_salt and admin passwords.
Secret Rotation Order Planner →Educational self-assessment from PlayCISO. The section weights are a judgement framework, not a measurement, certification or guarantee. Version details are as listed in Drupal's security advisory for CVE-2026-132165; check the advisory for your exact branch. The checklist runs in your browser and uploads nothing; your answers live only in the link you choose to copy.
Loading…
Sample report · illustrative data
Sample result: Drupal installer takeover checklist
Example answers for a made-up university with a main Drupal site and several faculty microsites: the main site is patched, but install.php is not blocked and two microsites lag behind.
Overall
- Installer takeover readiness
- 47 / 100 (Exposed)
- Items answered
- 20 of 20 (1 marked N/A)
Score by section
| Section | Weight | Score |
|---|---|---|
| Version and patching | 26 | 49 |
| Installer lockdown | 24 | 32 |
| Settings and file permissions | 20 | 76 |
| Database credentials | 12 | 53 |
| Detection and review | 10 | 15 |
| Recovery | 8 | 48 |
Prioritised gaps (first five)
- Installer lockdown: add a deny rule, for example nginx "location ~* ^/(core/)?install\.php { return 403; }" or an Apache <Files install.php> Require all denied block, and confirm it returns 403 from outside.
- Version and patching: update core to 10.6.23, 11.3.23, 11.4.14 or later on your branch with Composer (composer update "drupal/core-*" --with-all-dependencies), run database updates and clear caches.
- Installer lockdown: add a WAF rule for /core/install.php, /install.php and /core/update.php with logging, as a backstop to the web server rule.
- Version and patching: inventory every Drupal codebase and URL (hosting panels, DNS, the "X-Generator" header or /core/CHANGELOG.txt where exposed) and record the core version.
- Settings and file permissions: make the codebase read-only to the PHP process and allow writes only to sites/*/files and the private files path.
Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.
TL;DRWhat this checklist is
5 points
- For anyone running Drupal: agencies, universities, public bodies and companies with one site or a hundred, including staging copies and old microsites.
- Six weighted sections: version and patching, installer lockdown, settings and file permissions, database credentials, detection and review, and recovery. You get a 0–100 score, a band and the gaps to close first.
- Prompted by CVE-2026-132165 ("Fail2Install"). Drupal’s advisories list 10.6.23, 11.3.23 and 11.4.14 as the releases that fix both CVE-2026-132165 and the related CVE-2026-136716; check the advisory for your exact branch.
- Patching and installer lockdown carry the most weight: an installed site has no reason to serve install.php, so a web-server deny rule is a second lock that works even if application logic fails again.
- Runs in your browser; nothing is uploaded. Share the exact checklist with a link; CSV and Markdown exports are available.
An installed site should never serve its installer
Drupal’s installer exists to set a site up the first time: choose a database, create the first administrator, write the settings. On a live site that power is dangerous, so core checks whether the site is already installed. CVE-2026-132165 is described in Drupal’s advisory as a way around that check. Updating core closes this bug; the controls around it decide what the next one could do.
The strongest extra control is simple: deny install.php at the web server, because nothing legitimate needs it once the site is running. Add read-only settings and code, a unique hash_salt, a database account limited to its own database and an alert on new administrators, and an installer bug becomes a blocked request in your logs. The weights in this checklist are a heuristic, shown openly; it is a self-assessment, not a certification.
Frequently asked questions
Which Drupal versions fix CVE-2026-132165?
Drupal’s security advisories list Drupal 10.6.23, 11.3.23 and 11.4.14 as the releases that fix CVE-2026-132165 and the related CVE-2026-136716 (the 18 Nov releases 10.6.22, 11.3.22 and 11.4.13 fixed only the first). Update to that release or a later one on the same branch, run database updates and clear caches. If you run a branch outside Drupal’s security support, plan an upgrade and apply the web-server blocks in the meantime.
How do I block install.php on an installed Drupal site?
Deny the path at the web server or CDN. In nginx, a location block matching ^/(core/)?install\.php that returns 403 works; in Apache, a <Files install.php> block with Require all denied. Test from outside that it returns 403. Keep core/update.php restricted too, with update_free_access set to FALSE.
Why do settings.php permissions and hash_salt matter here?
If an attacker can rewrite settings.php they can point the site at their own database or change its configuration. Making settings.php read-only (for example 444) and sites/default non-writable stops that, and a unique, secret hash_salt protects one-time login links and tokens that depend on it.
How do I know if someone already used the installer?
Search web server and CDN logs for requests to install.php since the advisory and investigate anything that was not blocked. Review the administrator list and user 1, compare settings.php and the codebase against a known-good copy, and check the database the site is connected to is still yours.
Does the tool scan my Drupal site or upload my answers?
No. It is a self-assessment that runs entirely in your browser. It makes no network calls about your systems, and your answers are only stored in the shareable link you choose to copy.
More tools like this
Related tools and labs, with new picks every day.