Patch available Security news
Drupal fixes a critical installer flaw: install.php can be abused to take over a site
On 18 November 2026 the Drupal Security Team released a fix for SA-CORE-2026-017 (CVE-2026-132165), a critical flaw in the installer. Under specific conditions an unauthenticated attacker can use install.php to attempt a reinstall of Drupal, leading to site takeover or code execution on the server. The advisory says a proof of concept exists. Fixed releases are 11.4.13, 11.3.22 and 10.6.22; if you can't upgrade right away, block the installer at the web server.
Key points
- Affected: Drupal core before 10.6.22, 11.0.0–11.3.21 and 11.4.0–11.4.12. Branches 11.2.x, 10.5.x and older will not be fixed.
- The bug: under specific conditions install.php can be used to start a fresh Drupal install and take over the site, or run code. No login is required.
- Drupal's rating: critical (18/25); complex to exploit and limited to uncommon configurations, but a PoC exists.
- A second fix shipped the same day: SA-CORE-2026-018 (CVE-2026-132166), a gadget chain that is only exploitable together with a separate deserialization bug.
What happened
On 18 November 2026 the Drupal Security Team shipped fixes for every supported core branch, flagged two days earlier in PSA-2026-11-16. The headline fix, SA-CORE-2026-017, addresses CVE-2026-132165 in the install.php installer. Drupal rates it critical (18 out of 25) on its own risk scale.
According to the advisory, under specific conditions an attacker can use the installer to attempt a fresh install of Drupal. That can end in site takeover or remote code execution, and no authentication is needed. The rating also states that a working proof of concept exists. Nobody has confirmed exploitation in the wild yet (as of 19 Nov 2026).
The advisory credits Anthropic's OSS Scanner with finding the bug. Sites behind Drupal Steward, the community's paid WAF-level protection service, are already covered against the known attack vectors, though Drupal still tells them to upgrade soon.
Technical details
- Component: the Drupal core installer,
core/install.php. It exists for the first install and has no job on a finished site. - Flaw type: under certain conditions the installer lets someone rerun installation over an existing site. Whoever drives the install chooses the database and the first administrator, which amounts to owning the site.
- Conditions: the risk vector marks exploitation as complex (AC:Complex) and limited to uncommon configurations (TD:Uncommon). Drupal has not published the exact preconditions. It only says that some attack paths are blocked when the web server cannot write to
settings.phpor change its permissions. - Impact: all non-public data readable, and all data can be modified or deleted (CI:All, II:All).
The second fix released the same day, SA-CORE-2026-018 (CVE-2026-132166, moderately critical 14/25), removes a gadget chain from core. It is not exploitable on its own: an attacker would also need a separate bug that feeds untrusted data into unserialize(). The same releases fix it.
Who is affected
columns: Branch | Versions | Status
row: Drupal 11.4.x | 11.4.0–11.4.12 | vulnerable
row: Drupal 11.4.x | 11.4.13 | fixed
row: Drupal 11.3.x | 11.0.0–11.3.21 | vulnerable
row: Drupal 11.3.x | 11.3.22 | fixed
row: Drupal 10.6.x | before 10.6.22 | vulnerable
row: Drupal 10.6.x | 10.6.22 | fixed
row: Drupal 11.2.x, 10.5.x and older, 8, 9 | all | eol
Sites are at risk when install.php is reachable from the internet and the configuration meets conditions Drupal has not disclosed. Because the rating limits it to uncommon configurations, not every site will be exploitable, but without the details you can't rule yours out, so upgrade everything.
How to tell if you were compromised
Drupal has not published indicators of compromise. We suggest checking:
- Web server logs for requests to
/core/install.phpor/install.php(including variants with extra path, such as/core/install.php/…) from unknown addresses, especially POST requests answered with 200. - The People admin page for administrator accounts nobody created, and for a changed email or password on user 1.
- Changes to
sites/default/settings.php(modification time, different database credentials) and new PHP files undersites/default/files. - Unusual processes running as the web server account (
www-data,nginx,apache). Triage any addresses and hashes you find with our IOC extractor.
What to do
- Upgrade core to 11.4.13, 11.3.22 or 10.6.22 for your branch (with Composer:
composer update drupal/core-recommended --with-all-dependencies, thendrush updatedbanddrush cache:rebuild). - Block the installer at the web server, which Drupal recommends even after upgrading. In nginx, inside the HTTPS
serverblock, addlocation ^~ /core/install.php { return 404; }(not an exact=match) and check withnginx -t. In Apache, add<Location "/core/install.php">withRequire all deniedto the virtual host config. - Make
settings.phpread-only: neither the file nor thesites/defaultdirectory should be writable by the web server account. - Verify the block:
curl -I https://your-site/core/install.php, and the same for/install.phpand/core/install.php/foo, should return 403 or 404, never 200. - Plan a move off unsupported branches (11.2, 10.5 and older); until then apply at least steps 2–4.
Timeline
FAQ
How do I check which Drupal version I run?
In the admin UI under Reports → Status report (/admin/reports/status), on the command line with `drush status`, or for Composer installs with `composer show drupal/core`. Anything below 10.6.22, 11.3.22 or 11.4.13 in its branch is vulnerable.
Is blocking install.php enough, without upgrading?
Not for good. Drupal recommends blocking the installer as an extra layer and as a stopgap; the real fix is the upgrade. Blocking it is still good practice afterwards: nobody on the internet needs the installer on a finished site.
I'm on an old 11.2 or 10.5 branch. Will I get a fix?
No. According to the advisory these branches, like Drupal 8 and 9, have no security coverage. Move to a supported branch; until then, block the installer and make sure the web server cannot write to settings.php.
Sources
Spotted a mistake? Let us know and we will correct it openly.