Drupal's installer is being used to take over live sites. Block install.php, then check back to November 18
The fix came out November 18, and the first attacks on live sites came a day later. If your organization's Drupal site wasn't updated that week, here's how to check it from outside, close the installer for good, and look back for anyone who got in.

If your site runs Drupal, update core today to 11.4.13, 11.3.22 or 10.6.22, then block /core/install.php at the web server even after you patch. Attackers have used this installer flaw (CVE-2026-132165) on live sites since November 19, and CISA listed it as exploited on November 24. Check your logs back to November 18 for installer requests, unknown admin accounts and new PHP files. Drupal 11.2, 10.5 and older get no fix.
A week-old fix, and attacks that started a day later
If your organization's website runs on Drupal, this is the week to check it, even if somebody already patched it.
On November 18, the Drupal Security Team fixed a flaw in core's installer, the install.php script you use once to set a site up. Under specific conditions, someone with no login can use that script to try to reinstall Drupal on a site that's already live. That can end in a full site takeover or remote code execution. The advisory is SA-CORE-2026-017, and the CVE is CVE-2026-132165.
Here's the part that changed the advice. The security team added a line to the advisory saying it had a report of the flaw being used on live sites "as early as 2026-11-19 19:00 UTC." That's 2 PM Eastern on November 19, about a day after the fix shipped. Drupal raised the rating to "Highly critical," and on November 24 CISA added the flaw to its list of known exploited vulnerabilities, giving federal agencies until November 27 to deal with it.
Two caveats keep this in proportion. Drupal says the vulnerable setups are "uncommon," and it hasn't published the exact conditions. And there's no public count of affected sites. So this isn't a reason to panic. It's a reason to spend an hour on three things this week: check the door from outside, close it for good, and look back over the days it may have been open.
Sequence of work
From the fix to the federal deadline
- November 18
Drupal releases 11.4.13, 11.3.22 and 10.6.22 with the installer fix.
- November 19, 2 PM
Earliest reported attack on a live site, per Drupal's updated advisory.
- November 21
Drupal publishes its guide to blocking install.php; the advisory is rated Highly critical.
- November 24
CISA adds CVE-2026-132165 to its Known Exploited Vulnerabilities catalog.
- November 27
CISA's deadline for federal agencies to address it.
Knock on your own door first
You don't need server access to find out whether your installer is reachable. Anyone can check it from a laptop, and so can an attacker. Run these three requests against your live site, using your own address:
```
curl -I https://example.com/core/install.php
curl -IL https://example.com/install.php
curl -I https://example.com/core/install.php/foo
```
Drupal's guide says all three should end in a 403 or 404. If any of them comes back 200, the installer is open to the internet. The third one matters more than it looks. On some server setups, a block that only matches the exact file name still lets /core/install.php/foo through to PHP.
While you're there, find out which version of Drupal core you're running. An administrator can see it on the Status report page (Reports, then Status report), or a developer can run drush status. Write down the number. You'll need it in the next step, and it's the first thing anyone helping you will ask.
If your site is on a managed Drupal host, check before you change anything. Drupal's guide notes that some platforms already block the installer, and your three requests will tell you whether yours does.
Updating closes the door. It doesn't tell you who walked through it while it was open.
Find your branch before you plan the fix
"Update Drupal" means different things depending on which branch you're on. The fixed releases are:
- Drupal 11.4.x: update to 11.4.13.
- Drupal 11.3.x: update to 11.3.22.
- Drupal 10.6.x: update to 10.6.22.
Everything older gets no fix. Drupal 11.2 and below, 10.5 and below, and Drupal 8 and 9 are all end-of-life, and the advisory says so plainly. If your version number starts with one of those, patching isn't on the table. You can block the installer today, and you need a plan to move to a supported branch.
For a site built with Composer, which is most modern Drupal sites, the update is usually a core update, then database updates, then a cache clear. Do it on a copy of the site first if you have one, but don't let a staging queue push this into next week. Attacks started the day after the fix came out.
Drupal also runs on PHP, which had its own security releases on November 19. If nobody has looked at your PHP version since then, it's worth doing in the same sitting. We wrote up which PHP settings to check when those came out.
Decision guide
What your version number means this week
| Consideration | Fix available | What to do today |
|---|---|---|
| 11.4.x | Yes: 11.4.13 | Update, block install.php, check logs since November 18 |
| 11.3.x | Yes: 11.3.22 | Update, block install.php, check logs since November 18 |
| 10.6.x | Yes: 10.6.22 | Update, block install.php, check logs since November 18 |
| 11.2 or older, 10.5 or older | No: end-of-life | Block install.php now, check logs, plan the move to a supported branch |
| Drupal 8 or 9 | No: end-of-life | Block install.php now, check logs, decide on an upgrade or rebuild |
Close it so it stays closed
Updating fixes this bug. Blocking the installer removes a whole category of future ones, which is why Drupal recommends doing it on every site, even after you've patched. You only need install.php to set up a new site, and drush site:install does that without it.
Drupal's guide, published November 21, gives three ways to do it. Each one has a trap that can make you think you're covered when you aren't.
- Block it in the web server configuration. This is Drupal's recommended option because it survives core updates. On Apache, put a
<Location "/core/install.php">block withRequire all deniedin the virtual host config, not in.htaccess, where the guide says it causes a 500 error. Add it to every virtual host that serves the site, including the separate HTTPS one Let's Encrypt often creates. On Nginx, uselocation ^~ /core/install.php { return 404; }. Use the^~prefix match, not an exact=match, which can miss/core/install.php/foo. - Block it in
.htaccess, if you're on shared hosting and can't touch the server config. The trap: Composer rewrites.htaccessevery time its scaffold step runs, even on a plaincomposer install. Lines you add by hand disappear. The guide shows how to keep them in a separate file that Composer appends for you. - Delete the file. Composer puts it back on every install or update, so you'd need Composer scripts to remove it again. Those scripts don't run if your deployment uses
composer install --no-scripts.
Whichever you choose, don't block update.php with a broad rule. You still need it for database updates. Then check one more setting the advisory calls out: the web server shouldn't be able to write to settings.php or change its permissions. According to the advisory, that alone blocks some, but not all, of the attack paths.
Finally, run the three requests from the last section again. A 200 that turns into a 403 or 404 is the proof. A config change nobody tested isn't.
Look back to November 18
Updating closes the door. It doesn't tell you who walked through it while it was open. If your site wasn't updated or blocked on November 18 or 19, go back over the days since.
Here's what to look for, drawn from Drupal's advisory and the public guidance that followed it:
- Requests to
install.phpin your web server logs since November 18, especially POST requests. A handful of GETs may just be scanners. POSTs deserve a closer look. - Administrator accounts you don't recognize. Check the People page and filter by the administrator role.
- Unexpected changes to
settings.php, including its modified date. - New PHP files in public directories, such as the files folder, where nobody should be adding code.
- A site that suddenly shows the installation screen or loses its content. That's what a reinstall looks like from the outside.
If you find something, this is our advice, not Drupal's: stop and treat the site as compromised rather than cleaning it in place. Keep a copy of the logs. Rebuild from code you trust and a database backup from before the first suspicious request. Then change the database password and every admin password. Keep in mind that whoever had code running on the server could have read the database credentials and anything else stored in settings.php. If the site holds personal information about visitors, donors or customers, bring in whoever handles privacy for your organization early, because a breach may need to be reported.
If you're on a branch that no longer gets fixes
For many organizations, the uncomfortable discovery this week won't be the logs. It'll be the version number. Drupal is common on university, nonprofit and public-sector sites, which tend to have small web teams or an outside agency on call, and those are the sites most likely to have drifted onto an end-of-life branch. Online stores aren't immune either. SecurityWeek counts this as the third Drupal flaw exploited this year, after one in May and an access bypass in the Commerce Core module that was used against online stores in October.
A site on 10.5 or older can block the installer today, and it should. But the next advisory may be for a part of Drupal you can't simply block. So you have a real decision to make: upgrade to a supported branch and keep it current, or, if the site has become a set of pages nobody really manages, decide what it should run on and who will own the updates.
That's the kind of decision we help with in web application and public-sector work: making sure someone owns updates, logs and recovery after launch. If you'd like a second pair of eyes on your branch, your logs or the upgrade plan, get in touch.
We build alongside the people doing the work.
Bring us the problem you’re thinking about.