Drupal Installer Exploitation Makes Deployment State A Security Boundary
Drupal CVE-2026-132165 is exploited through install.php. Patch supported branches, block the installer and investigate writable-site changes.
The Drupal Security Team says CVE-2026-132165 can let an attacker use the core installer under specific conditions to attempt a reinstallation, leading to site takeover or remote code execution. The team disclosed the highly critical flaw on November 18 and later reported exploitation on live sites as early as November 19 at 19:00 UTC. Its public notice does not identify a campaign, victims, payloads or the exact conditions used in those attacks, so the confirmed scope is exploitation of the flaw, not compromise of every reachable Drupal site.
Supported fixes are Drupal 11.4.13, 11.3.22 and 10.6.22. Updating is mandatory, but a completed site no longer needs the browser installer exposed. Drupal now recommends blocking `/core/install.php` at the web server, including path-info variants, and verifying that installer requests return 403 or 404. Operators of an affected or unexpectedly writable deployment should preserve logs, inspect configuration, administrator, database and web-root changes, and rebuild from a defensible source if evidence indicates takeover. A package update cannot remove persistence or restore secrets from a site an attacker already controlled.
Key Takeaways
- check_circle Drupal says the installer flaw was exploited on live sites as early as November 19, one day after the security release.
- check_circle Affected supported branches are fixed in Drupal 11.4.13, 11.3.22 and 10.6.22; older Drupal 11 and 10 branches are outside security coverage.
- check_circle A non-writable `settings.php` mitigates some exploit paths, but Drupal explicitly says it does not close every path and is not a substitute for updating.
- check_circle Blocking `/core/install.php` after installation removes an unnecessary route and must cover suffixes such as `/core/install.php/foo`.
- check_circle The same releases also remove a separate deserialization gadget chain, but Drupal says that second issue is not directly exploitable by itself.
- check_circle Sites with evidence of reinstallation or code execution need incident recovery, not only a Composer update and a successful front-page check.
A Dormant Installer Became An Exploited Entry Point
Drupal core ships with `install.php` because a new site needs a browser-accessible setup path. CVE-2026-132165 crosses the boundary between that temporary deployment function and an already operating site. The Drupal Security Team says an attacker can, under specific conditions, use the installer to attempt to reinstall Drupal. The resulting impact can include site takeover or remote code execution, which is why the team rates the advisory highly critical at 20 out of 25 on its own scale.
The exploitation update is deliberately narrow. Drupal says it received a report of the flaw being exploited on live sites as early as November 19 at 19:00 UTC. The advisory does not publish a victim count, scanning pattern, request sequence, payload, attribution or evidence that exploitation began before that time. Defenders should treat a reachable affected site as urgent, while avoiding unsupported claims that every request to the installer succeeded or that one coordinated actor is responsible.
This is also not a reason to expose proof-of-concept details in routine change tickets. The useful operational facts are sufficient: the installer exists in core, exploitation has occurred, fixed releases are available, and the vendor documents a durable way to remove network access after installation. Teams can prioritize and investigate from those facts without reproducing the attack path on production infrastructure.
File Permissions Change Exposure But Do Not Close It
The advisory says some, but not all, exploit paths are mitigated when the web server cannot write to or change the permissions of `settings.php`. That qualification matters. A read-only configuration file is a valuable deployment control because the application process should not normally be able to rewrite database credentials or installation state. It is not a complete remediation for CVE-2026-132165, and a writable file does not by itself prove an attacker used the flaw.
The fixed release notes clarify one behavior change. During installation, older code could try to correct the permissions of an unwritable `settings.php` so setup could continue. The security releases instead stop and report an error when the file is not writable. That change reduces the installer's ability to turn a permission condition into a writable configuration state. Drupal's public material does not disclose the full exploit sequence, so operators should not infer that this one behavior describes every successful path.
Treat deployment state as an enforceable control. The web service account should have only the write access required for runtime files, not general authority over core code and configuration. Record owners, groups and modes for `settings.php`, service definitions, web roots and writable upload directories. Compare them with the deployment manifest after every release. A control that exists only in a build guide but is not verified on the running host will not constrain an installer reached over the network.
Patch Every Supported Branch And Recognize End Of Life
The fixed boundaries are exact. Sites on Drupal 11.4.x should move to 11.4.13 or later, sites on 11.3.x to 11.3.22 or later, and sites on 10.6.x to 10.6.22 or later. Drupal 11.2 and earlier, Drupal 10.5 and earlier, and all Drupal 8 and 9 releases are outside current security coverage. An end-of-life branch does not become safe because its files are unchanged; it lacks the maintained release path named by the security team.
Composer-managed deployments should update the complete `drupal/core-*` set with dependencies, commit the resulting lock and scaffold changes through the normal release pipeline, and then prove the runtime is serving the intended code. Check every origin, replica, container, disaster-recovery image, preview environment and multisite codebase. A fixed production pod does not compensate for an old image that autoscaling or rollback can restore later.
These releases also address CVE-2026-132166, a separate Drupal gadget chain. Drupal rates that issue moderately critical and says it presents no direct threat without another flaw that passes unsafe input to `unserialize()`. Apply the complete security release rather than cherry-picking around it, but keep the narratives separate: live exploitation is confirmed for the installer issue, while the gadget chain is a conditional component that can amplify a different deserialization bug.
Block The Installer As A Separate Control
A completed site does not need browser access to `/core/install.php`. Drupal's new hardening guide recommends denying that path in the web-server configuration because the rule survives normal core updates. Apache deployments can use a `Location` denial. Nginx deployments should use a prefix rule such as `location ^~ /core/install.php` and return 404. The prefix form matters because some PHP configurations will execute a path-info request such as `/core/install.php/foo`; an exact-match rule can miss it.
Shared-hosting users can add an Apache `.htaccess` rule, but Drupal warns that Composer's scaffold process replaces `.htaccess`. Any local addition must be declared through the scaffold configuration and verified after `composer install`. Deleting `core/install.php` is another option, but Composer restores it during core installation or update unless a dependable post-install step removes it again. Web-server denial is usually easier to keep consistent and audit.
Test the control from outside the application path. Drupal recommends checking `/core/install.php`, `/install.php` after redirects and `/core/install.php/foo`; all should end at 403 or 404. Confirm ordinary pages and database updates still work. Do not block `update.php` accidentally with a broad pattern. Record the expected response in monitoring so a future proxy, virtual-host or deployment change that exposes the installer produces an alert rather than a quiet regression.
Reachability During The Exposure Window Drives Investigation
Preserve reverse-proxy, CDN, load-balancer, web-server, PHP, application, database and operating-system evidence before rotation removes the relevant period. Search for requests to both installer paths and path-info variations, unusual methods, repeated setup flows and responses that differ from the normal denied state. Correlate them with process creation, PHP errors, configuration writes, database changes and outbound connections. A 200 response is a lead, not proof of successful takeover; a 404 after the fix does not describe yesterday's state.
Inspect the application boundary for new or modified administrator accounts, roles, configuration, modules, themes, scheduled tasks, files under the web root and writable directories, database users and grants, service definitions, SSH material and deployment credentials. Check `settings.php` ownership, mode, content and timestamps against a trusted source. Review whether secrets stored there or available to the PHP process could reach databases, mail providers, object storage, identity systems, payment services or CI/CD.
The vendor has not published campaign indicators, so absence of a particular filename or address cannot clear a site. Build the timeline from local behavior and independent telemetry. Prioritize systems that were on an affected version, exposed the installer, allowed the web process to change sensitive files, or show unexplained installation or configuration activity. Keep cleanly blocked sites in the patch program, but allocate deeper forensic effort where those conditions intersect.
A Taken-Over Site Needs Trust Recovery
If evidence supports site takeover or code execution, isolate the affected route, preserve the system and rebuild from reviewed code, configuration and content rather than trusting an in-place update. Apply a fixed release before reconnection, restore the database only after checking accounts and configuration, and compare web assets with a known-good manifest. Remove unknown modules, services and scheduled jobs through the recovery process, not by deleting the first suspicious file and returning the host to service.
Rotate secrets according to demonstrated reach. That can include database passwords, Drupal hash salts, API keys, SMTP credentials, object-storage tokens, payment and analytics keys, deployment credentials, administrator sessions and any SSH or cloud identity available to the host. Revoke sessions and tokens rather than only changing interactive passwords. If the site handled user credentials or regulated data, involve the appropriate legal, privacy and notification owners based on evidence, jurisdiction and contractual duties.
Close with verifiable state: supported Drupal version on every instance, installer denied through every public hostname, configuration files protected from the web process, expected administrators and modules, clean deployment hashes, centralized logs and tested backup restoration. Keep the installer rule in infrastructure code and the three external request checks in release validation. The lasting lesson is not that installers are uniquely dangerous. Temporary setup authority should disappear from the reachable production surface when setup ends.
Checklist
- Inventory every Drupal codebase, branch, public hostname, multisite, replica, container image, preview environment and recovery copy.
- Update to 11.4.13, 11.3.22, 10.6.22 or a later supported release and verify the version served by every running instance.
- Block `/core/install.php` at the web server, including path-info variants, and confirm installer requests end at 403 or 404.
- Verify `settings.php`, core code and deployment configuration are not writable by the web service beyond documented requirements.
- Preserve and review proxy, web, PHP, database and host evidence for installer access, configuration changes and code execution.
- If compromise is supported, rebuild from reviewed sources, restore carefully, revoke sessions and rotate every secret reachable from the site.
- Keep installer denial and external reachability tests in infrastructure code, release validation and continuous monitoring.
Sources
- Drupal SA-CORE-2026-017 advisory and exploitation update open_in_new
- Drupal guide for securing the installer open_in_new
- Drupal 11.4.13 security release notes open_in_new
- Drupal 11.3.22 security release notes open_in_new
- Drupal 10.6.22 security release notes open_in_new
- Drupal SA-CORE-2026-018 gadget-chain advisory open_in_new
Continue Reading
GL.iNet Cloud Incident Turns Management Into Device Recovery
GL.iNet says attackers used its cloud service to install malware on routers and KVMs. Preserve evidence, update exact models and rotate exposed trust.
Cleverbridge Breach Puts Payment Data Retention In Scope
Cleverbridge says attackers copied stored payment-card data. Affected buyers should contact issuers, replace exposed cards and monitor transactions.
GPGME Double Free Makes Public Keys An Application Input Boundary
GPGME CVE-2026-129975 lets a crafted OpenPGP key trigger a double free and leak application data. Update shared and static copies now.