On this page 7 sections
Attackers are taking over Drupal sites through a file most people forget is even there: the installer, core/install.php. Drupal fixed the hole on November 18 as CVE-2026-132165, saw it exploited on live sites the next day, and then, on November 25, had to ship a second fix, CVE-2026-136716, because some sites stayed open even after patching. Both are rated "Highly critical", and both are being used in real attacks.
If you run Drupal 10 or 11, the short version is: update to 10.6.23, 11.3.23 or 11.4.14, run update.php, block /core/install.php, and check the admin account (user 1) for changes. The rest of this guide shows you how, step by step.
| First flaw | Second flaw | |
|---|---|---|
| CVE | CVE-2026-132165 | CVE-2026-136716 |
| Drupal advisory | SA-CORE-2026-017 (Nov 18) | SA-CORE-2026-019 (Nov 25) |
| Drupal's rating | Highly critical, 20/25 | Highly critical, 21/25 |
| What it allows | Reinstalling the site through the installer: takeover or code execution | Takeover of sites left in an unusual or incomplete install state |
| Exploited? | Yes, on live sites since Nov 19, 19:00 UTC | Yes, in the wild |
| Safe versions | 10.6.22, 11.3.22, 11.4.13 | 10.6.23, 11.3.23, 11.4.14 (these fix both) |
What happened, in plain English
Every Drupal site ships with an installer. You use it once, on day one, to set up the database and the admin account. After that it should never run again.
The first flaw broke that promise. Drupal's advisory says that "under specific conditions, an attacker can use the installer to attempt to reinstall Drupal", which "can lead to a site takeover or remote code execution". In other words, a stranger with no login could run setup on your live site and make themselves the owner.
The second flaw is the follow-up. After the first fix, Drupal found that "certain sites in unusual or incomplete install states remain vulnerable to site takeover", including production sites. The worrying part: Drupal says this state "is not apparent in the user interface", and a site that has already been taken over may no longer look vulnerable at all.
The first flaw was found by Anthropic's open-source scanner, according to Drupal's credits; Drupal's own security team and volunteers reported and fixed the second.
Is your Drupal site affected?
If your version is older than the ones below, treat the site as vulnerable unless you'd already blocked the installer. Here's how to tell:
| Your Drupal version | Status | What to do |
|---|---|---|
| 11.4.14 or later | Fixed | Block the installer and check user 1 |
| 11.4.0 to 11.4.13 | Vulnerable | Update to 11.4.14 |
| 11.3.0 to 11.3.22 | Vulnerable | Update to 11.3.23 |
| 11.0 to 11.2 | Vulnerable, end of life, no fix | Move to 11.3 or 11.4 |
| 10.6.0 to 10.6.22 | Vulnerable | Update to 10.6.23 |
| 10.5 and older, 8 or 9 | End of life, no fix | Block the installer now, then upgrade |
| 7 | Not covered by these advisories | Drupal 7 is past end of life: plan a move |
To find your exact version, use any one of these:
- In the admin area: go to Reports → Status report (
/admin/reports/status). The version is at the top. - With Drush: run
drush statusand look for "Drupal version". - With Composer: run
composer show drupal/coreand check theversionsline.
One more check matters even on a patched site: can anyone open your installer? Run this from any computer, using your own address:
curl -I https://example.com/core/install.php
A 403 or 404 means it's blocked. A 200 means anyone can reach it, which is exactly what these attacks need.
How to patch Drupal (the 10-minute version)
Most Drupal 10 and 11 sites are managed with Composer. Take a backup of the database and files first, then:
composer update "drupal/core-*" --with-all-dependencies
drush updatedb
drush cache:rebuild
The drush updatedb step is not optional this time. Drupal's second advisory says "an update hook must run to fix existing production sites in this state". If you don't use Drush, open /update.php in your browser as an admin instead.
Check the version again afterwards. You want 10.6.23, 11.3.23 or 11.4.14 or later; the November 18 releases (10.6.22, 11.3.22, 11.4.13) fix only the first flaw.
On managed hosting (Pantheon, Acquia and similar), check your dashboard: many hosts roll out core security releases for you, but you may still need to deploy them and run database updates. If you use Drupal Steward, Drupal says you're protected from the known attack paths, but should still update.
How to block the Drupal installer
This shuts the door the attacks use, and Drupal now recommends it for every site, patched or not. Pick one of these from Drupal's own guide:
Apache (in the virtual host, recommended):
<Location "/core/install.php">
Require all denied
</Location>
Apache, if you can only edit .htaccess:
<Files "install.php">
Require all denied
</Files>
nginx (inside your server block):
location ^~ /core/install.php {
return 404;
}
Reload the web server, then test all three addresses Drupal suggests. Each should return 403 or 404:
curl -I https://example.com/core/install.php
curl -IL https://example.com/install.php
curl -I https://example.com/core/install.php/foo
Two more things help:
- Make
settings.phpread-only for the web server. Drupal says some exploit paths are blocked if the web server "cannot write to or change permissions on settings.php". That means read-only permissions (for example444) and a file owner that isn't the web server user, or PHP could simply change it back. Our free chmod calculator turns444into plain words if you want to check what each digit means. - Composer can wipe your
.htaccesschange. Composer's "scaffold" step rewrites.htaccesson updates. The web server config is safer; or follow Drupal's guide to append the rule throughdrupal-scaffold.
Check your Drupal site for a break-in
Patching closes the door but doesn't remove anyone who already got in. Drupal asks every site to check, especially if the installer was reachable after November 18:
- Look at user 1. Run
drush user:information --uid=1(or open the first account under People). Is the email address yours? If not, change it at once. - Reset the user 1 password, even if nothing looks wrong. Make it long and unique; our password strength checker shows how long a password would take to crack.
- Search your access logs for the installer. For example:
grep "install.php" /var/log/nginx/access.log*(or/var/log/apache2/access.log*). Requests from unknown addresses, especiallyPOSTrequests, after November 18 are a red flag. - Check Drupal's own log under Reports → Recent log messages (
drush watchdog:show) for new admin accounts, role changes or modules you didn't enable. - If you find signs of a takeover, follow Drupal's guide "Your Drupal site got hacked. Now what?": take the site offline, restore from a clean backup made before the attacks began on November 19, update, then change every password and key the site uses.
Timeline: how the Drupal installer attack unfolded
| Date (2026) | What happened |
|---|---|
| Nov 18 | Drupal releases SA-CORE-2026-017 (CVE-2026-132165) and fixed versions 10.6.22, 11.3.22, 11.4.13 |
| Nov 19, 19:00 UTC | First attacks on live sites, according to Drupal |
| Nov 24 | CISA adds CVE-2026-132165 to its Known Exploited Vulnerabilities list; US federal agencies must fix it by Nov 27 |
| Nov 25 | Drupal releases SA-CORE-2026-019 (CVE-2026-136716) for sites that stayed vulnerable; fixed in 10.6.23, 11.3.23, 11.4.14 |
It's the second open-source web app under active attack this month, after the Apache Roller flaw. Drupal runs on PHP, so while you're in there, check you have November's PHP security update too, and if your site sits behind nginx, make sure you've patched nginx2root.
Quick answers
What is CVE-2026-132165?
A highly critical flaw in Drupal core's installer (install.php) that lets an attacker with no account reinstall Drupal on a live site, leading to site takeover or remote code execution. It's fixed in 10.6.22, 11.3.22 and 11.4.13, and exploited since November 19.
What is CVE-2026-136716? A follow-up flaw (SA-CORE-2026-019): sites left in an unusual or incomplete install state could still be taken over after the first fix. It's exploited in the wild and fixed in 10.6.23, 11.3.23 and 11.4.14.
Which Drupal version is safe?
10.6.23, 11.3.23 or 11.4.14 or later, plus running update.php (or drush updatedb). Older branches such as 10.5 and 11.2 get no fix.
Is Drupal 7 affected? Drupal 7 isn't listed in these advisories. It's past end of life and gets no security fixes at all, so it's a risk either way.
Is blocking install.php enough on its own?
It blocks the known attacks, and Drupal says sites that had already secured the installer aren't vulnerable to the second flaw. You should still update and run update.php, because a site might already be in a vulnerable state.
Do I need to do anything if I host on Pantheon or Acquia? Check your host's dashboard and notices. Hosts often prepare core updates, but you may still need to deploy them and run database updates yourself.
Facts checked against Drupal's security advisories SA-CORE-2026-017 and SA-CORE-2026-019, Drupal's guide to securing the installer and CISA's catalog on 26 November 2026. We'll update this guide if Drupal changes its advice.
Last of all, a lesson for every CMS: an installer, setup wizard or "first run" page that stays reachable after setup is an open door. Block it on day one. Our 30-minute VPS security checklist covers the rest of the basics.
Sources
The facts in this guide were checked against these sources.
- Drupal: SA-CORE-2026-017, Drupal core highly critical remote code execution (CVE-2026-132165) drupal.org
- Drupal: SA-CORE-2026-019, Drupal core highly critical access bypass (CVE-2026-136716) drupal.org
- Drupal docs: Securing the Drupal installer (install.php) drupal.org
- Drupal docs: Your Drupal site got hacked. Now what? drupal.org
- CISA Known Exploited Vulnerabilities catalog: CVE-2026-132165 cisa.gov
- CVE Record: CVE-2026-132165 cve.org
- CVE Record: CVE-2026-136716 cve.org
- Canadian Centre for Cyber Security: Drupal security advisory (AV26-359) cyber.gc.ca
- BleepingComputer: Hackers now exploit critical Drupal RCE flaw to hijack sites (November 25, 2026) bleepingcomputer.com
- The Hacker News: Drupal warns of new highly critical site takeover vulnerability under active exploitation (November 26, 2026) thehackernews.com