Drupal fixed a flaw in its own installer on November 18. Roughly a day later, by 19:00 UTC on November 19, the Drupal Security Team had a report of it being used against live sites. That one-day gap is the whole story for anyone who hosts Drupal: a site that sat on an older core release through that window may already have been reinstalled out from under its owner, and upgrading now does nothing about that.
The bug is CVE-2026-132165, published as SA-CORE-2026-017. CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on November 24, gave federal agencies until November 27, and flagged it as one where forensic triage is expected, not only patching. Much of the first-day coverage reported no known attacks. That line is now out of date.
The sequence above runs from Drupal's advance notice on Monday, November 16, to the fix on November 18, the first reported exploitation on November 19, the KEV listing on November 24 and the federal deadline on November 27. Attackers needed about a day after the patch shipped.
Which Drupal versions are affected by CVE-2026-132165?
Every supported Drupal 10 and 11 site below the fixed releases is affected: Drupal 11.4 before 11.4.13, Drupal 11.3 before 11.3.22, and Drupal 10.6 before 10.6.22. Drupal 11.2 and older, 10.5 and older, and Drupal 8 and 9 are end of life and get no fix at all.
The advisory does not mention Drupal 7 either way, so treat that as unconfirmed rather than safe. Drupal rates the issue Highly critical at 20 out of 25, and its risk string now carries an exploit-exists marker. For a site stuck on an end-of-life branch, the only real options are moving to a supported release or applying the installer block described below and keeping it in place permanently.
What the installer flaw lets an attacker do
Every Drupal core download ships core/install.php, the script that builds a fresh site. You need it once. Drupal's advisory says that under specific conditions, which it has not published, an anonymous visitor can push that script into attempting a reinstall of a site that is already running. The stated outcomes are a site takeover or remote code execution, meaning the attacker gets to run their own code on the server.
Drupal names one partial brake: some exploit paths fail if the web server cannot write to settings.php or change its permissions. Some, not all. That detail is useful in two directions. It tells you a hardened file layout lowers the odds, and it tells you settings.php is the file most likely to show evidence if someone got through. In MITRE ATT&CK terms the entry point is T1190, exploitation of a public-facing application. The flaw was found by Anthropic's OSS Scanner and reported through Drupal's coordinated process, per the advisory.
Our read: this is a configuration-shaped bug as much as a code bug. Drupal's own guide to securing the installer treats blocking install.php as a step the site owner adds after setup, and that guide was revised on November 21, two days after attacks began. A site that skips it sees nothing break, which is exactly why the step gets skipped.
Why updating does not tell you whether you were hit
The fixed releases stop the installer from being abused from now on. They do not restore a database that was reinitialised, remove an account an attacker created, or delete code that was written to disk. If a site ran a vulnerable core with a reachable installer at any point after November 19, assume it needs checking, not just updating. That is the same reason CISA attached a forensic triage requirement to the KEV entry.
Drupal has not published indicators of compromise, request patterns or attacker infrastructure, so there is no signature to match yet. What you can check is the set of things a forced reinstall would have to touch. A request log hit on /core/install.php is not proof on its own, since scanners probe that path all the time. What deserves attention is a successful response or a form submission to the installer, lined up against a change to settings.php or an account you did not create in the same window.
zgrep -h 'core/install\.php' /var/log/apache2/access.log* /var/log/nginx/access.log* | awk '{print $1, $4, $6, $7, $9}' stat -c '%y %U:%G %a %n' /var/www/drupal/web/sites/*/settings.php drush sql:query "SELECT uid, name, FROM_UNIXTIME(created) FROM users_field_data WHERE created > UNIX_TIMESTAMP('2026-11-18') ORDER BY created" # Apache server or vhost config (not .htaccess) <Location "/core/install.php"> Require all denied </Location> # Nginx server block (prefix match, not an exact match) location ^~ /core/install.php { return 404; } curl -s -o /dev/null -w '%{http_code}\n' https://example.com/core/install.php
The first three lines look backwards: installer requests in the access logs (client, time, method, path, status), the last change time and owner of each site's settings.php, and every user account created since the fix shipped. The rest closes the door. Drupal's guide recommends the Apache block go in the server or virtual host configuration, because the same Location block inside .htaccess returns a 500 error, and it warns against an exact-match Nginx location. The final curl should come back 403 or 404. A 200 means the block is not working.
Blocking install.php when you cannot update today
Drupal's fallback for sites that cannot upgrade immediately is to lock the installer away, and it is worth doing even after you upgrade, since it removes this whole class of future installer bugs. Four caveats from Drupal's guide matter for anyone running many sites:
-
Blocking
install.phpdoes not affectupdate.php, which is a separate script. A broad rule that catches both will break routine database updates. -
On shared hosting without access to server config, an
.htaccessrule using aFilesblock is the fallback, but Composer can overwrite.htaccessduring updates, so the rule can silently disappear. -
Deleting
core/install.phpalso works until the next Composer install or update puts it back. -
Multisite setups still need the installer to add a new site. Drush's
site:installdoes not use it.
We flagged a similar pattern with the exploited Drupal Commerce bypass in October: the fix stops new abuse but tells you nothing about what already happened. It is also why most exploited flaws we track already had a patch by the time they were used.
The other two flaws in CISA's November 24 batch
CISA listed CVE-2026-132165 alongside two unrelated bugs. CVE-2026-132224 affects Optimizely Web Experimentation, a hosted service: its CVE record says the signup flow was mishandled before November 17, which let attacker-controlled code reach certain Optimizely-hosted script assets, and Help Net Security reported that it was used to plant malicious JavaScript on prominent websites. The fix there sits with the vendor, so customers should review their project code and Optimizely's incident report. CVE-2026-131914 is a deserialization flaw in Idunno.AntiCsrf, an anti-forgery library for older ASP.NET WebForms applications that Help Net Security describes as no longer maintained. It reports that Mandiant disclosed the flaw and advises replacing the library, since a fix is unlikely.
Run one curl against every Drupal site you host
If you host Drupal for clients, the fastest useful step today is a loop over every site's domain asking for /core/install.php and logging the status code. Anything returning 200 is reachable, and anything reachable that was also below 11.4.13, 11.3.22 or 10.6.22 after November 19 goes on the investigate list, not just the update list. For a broader look at spotting code planted on a content management system after the fact, our notes on web shell detection on WordPress hosts carry over to any PHP application.