A flaw in the Drupal core installer (/core/install.php) has been fixed twice. The first fix came on November 18 in advisory SA-CORE-2026-017 (CVE-2026-132165): under specific conditions, an attacker can use the installer to try to reinstall Drupal, which can lead to a site takeover or remote code execution. CISA lists it as a flaw exploitable by an unauthenticated attacker. The Drupal Security Team added a note to that advisory saying it received a report that the flaw was exploited on live sites as early as 19:00 UTC on November 19 (SA-CORE-2026-017). The second fix came on November 25 in SA-CORE-2026-019 (CVE-2026-136716), and Drupal says that one is being exploited in the wild too (SA-CORE-2026-019).
The part that is easy to miss: Drupal states that updating to the first fixed releases (10.6.22, 11.3.22, 11.4.13) did not protect against the second flaw. The only sites that were protected were those that had blocked access to the installer or deleted the file, and those covered by Drupal Steward, Drupal’s mitigation service (Drupal’s compromise-check page). This article sets out what to do and in what order, and how to check whether a site has been broken into, from Drupal’s own pages. It is current as of November 29, 2026.
Much of what circulates in secondary coverage differs from the original text. We read the primary sources ourselves, but we recommend that you check each vendor’s original page too. Sources are given next to each statement.
If you run Drupal 10 or 11, block the installer before you update. Make your web server return a 403 or 404 for /core/install.php; it takes a few minutes, and Drupal says it closes the hole faster than updating does. Then update to whichever of 10.6.23, 11.3.23 or 11.4.14 applies to you, and run the database updates (update.php, or drush updatedb).
If /core/install.php was reachable from the internet at any point since November 18, check for signs of a break-in after you block it. An update does not clean up a site that was already taken over.
| Date (2026) | Event | Source |
|---|---|---|
| Nov 18 | Drupal publishes SA-CORE-2026-017. Fixed in 10.6.22, 11.3.22 and 11.4.13 | Drupal |
| Nov 19, 19:00 UTC | The earliest time of an attack on a live site reported to the Drupal Security Team | Drupal |
| Nov 24 | CVE-2026-132165 is added to CISA’s KEV catalog (federal due date: Nov 27) | CISA KEV |
| Nov 25 | Drupal publishes SA-CORE-2026-019. Fixed in 10.6.23, 11.3.23 and 11.4.14 | Drupal |
| Nov 27 | CVE-2026-136716 is added to the KEV catalog (due date: Nov 30) | CISA KEV |
The KEV catalog is the list CISA, the US cybersecurity agency, keeps of vulnerabilities it has confirmed are being exploited. I read the data published on November 27 directly. For both entries CISA marks forensic triage as required, and it lists use in ransomware campaigns as unknown.
Drupal rates the first advisory “Highly critical 20/25” and the second “Highly critical 21/25”. That is Drupal’s own 25-point scale, not CVSS.
The advisory credits the first flaw to Anthropic’s OSS Scanner, a vulnerability-research tool.
According to the first advisory, a site that was already installed could, under specific conditions, still be made to run the installer and attempt a reinstall. That is what leads to a takeover or arbitrary code execution. The advisory adds that some, but not all, exploit paths are blocked if the web server cannot write to settings.php.
The second advisory says that after the first fix, sites in unusual or incomplete install states can still be taken over, production sites included. Nothing in the admin interface shows whether a site is in that state. And a site that has already been compromised may no longer be in that state, Drupal notes. So “the site has run fine for years” is no evidence of safety.
The second advisory also contains one more sentence that matters: a site that has already secured its installer is not vulnerable.
Sites running Drupal core 10.x or 11.x are affected if the installer can be reached from outside. The advisory’s range for needing the fix is anything below 10.6.23, below 11.3.23, and 11.4.x below 11.4.14. Drupal 10.5 and earlier and 11.2 and earlier are end-of-life and get no fix, and the same goes for Drupal 8 and 9 (SA-CORE-2026-019).
You can see your version on the admin Status report or with drush status. Whether the installer is reachable from outside is what the curl checks in the next section tell you.
If you use managed hosting, your provider may already block the installer, and Drupal itself advises testing before you add your own rule. Ask the provider since when it has been blocked, and whether the Drupal Steward mitigations are active for your site.
The order matters.
curl checks in the next section to confirm the block works.update.php or drush updatedb. The second advisory says this update hook is needed to repair the state of existing production sites.Drupal’s own page (Securing the installer) gives three methods. None of them affects update.php, so take care that a broad rule does not block update.php by accident.
The recommended one is to block it in the web server configuration. On Nginx, add this inside the server block that serves your site over HTTPS, check it with nginx -t, then reload.
location ^~ /core/install.php {
return 404;
}
The ^~ also blocks URLs with text after the filename, such as /core/install.php/foo. Do not use an exact match (location = ...): on some configurations a URL containing .php/ is handed to PHP and slips past an exact-match rule.
On Apache, put the rule in the virtual host configuration, not in .htaccess (putting it in .htaccess causes a 500 error).
<Location "/core/install.php">
Require all denied
</Location>
If you cannot edit the server configuration, as on some shared hosting, you can put a <Files "install.php"> block with Require all denied in .htaccess. But Composer can overwrite .htaccess on every update, so you also need the scaffold setting Drupal describes to keep your lines from disappearing. The third method is deleting core/install.php. Composer restores it on every install or update, so the deletion has to run each time. Drupal says the strongest setup combines the web server rule with deleting the file.
After blocking, run these three commands with your own domain in place of example.com.
curl -I https://example.com/core/install.php
curl -IL https://example.com/install.php
curl -I https://example.com/core/install.php/foo
All three should end in a 403 or 404. A 200 means the block is not working. Then confirm that the site still loads normally and that database updates still run.
If you plan to create a new site in the browser installer, which includes adding a site to a multisite setup, either allow only your own IP for that short time or use drush site:install. Drush does not use install.php.
This applies to any site where /core/install.php was reachable from the internet at any time since November 18. The steps below are the ones to look at first, from Drupal’s guide (Checking whether your site was compromised).
Start with the web server access logs. Summarize requests to /core/install.php from a date before November 18. Requests for the installer arrive constantly on most sites, so finding some is normal. What matters is the result. A 403 or 404 means it was blocked or the file did not exist, which is safe. A 200 of roughly 2 KB is the “already installed” page, which is also normal. What to look into: POST requests that return a 302 or 303, much larger responses, requests containing op= or id=, many requests from one address within minutes, and any response titled “Choose language” or “Installing Drupal”. Some hosts keep logs for only a few days, so copy them somewhere safe first.
Then look at user 1, the original administrator account. The attack typically replays the final steps of the installer, which can replace user 1’s name, email address, password and timezone.
drush user:information --uid=1
drush sql:query "SELECT uid, hostname, FROM_UNIXTIME(timestamp) FROM sessions WHERE uid = 1"
date -d "@$(drush state:get install_time)"
Be suspicious of an email address you don’t recognize, a recent change date nobody can explain, a user 1 session from somewhere that isn’t yours, or an install_time (recorded when the installer finishes) that doesn’t match what you remember. Also check for administrator accounts you don’t recognize. Drupal’s page includes an SQL query that lists administrators, and a command for finding requests to PHP files under sites/.../files/.
If anything looks wrong, treat the site as compromised. An update does not remove accounts, files or settings an attacker added. Drupal’s steps for that case are in Your Drupal site got hacked. Now what?. The time of the first suspicious request is roughly when the break-in happened, which helps you choose a backup.
Don’t stop after updating. The first fixed releases did not protect against the second flaw.
Don’t skip the checks because the site has always worked fine. The second advisory says the vulnerable state does not show anywhere on screen.
Don’t delete logs before you have looked at them. They are your only trail.
How many sites have been taken over has not been confirmed, and Drupal has not given a number.
The advisories do not say whether Drupal 7, or other versions that are already end-of-life, are affected. They will not get a fix either way, so if you still run one, blocking the installer is the minimum.
Neither the advisories nor the compromise-check page describe the attack steps in detail, and I could not confirm them.
I did not check CVSS scores when writing this. The article uses Drupal’s own 25-point scale as published.
The way in here was the installer, which you only need when building a site, left reachable from outside after launch. One option we offer is replacing a site with a static website. The pages are written out as finished HTML before publishing, and the server that delivers them runs neither PHP nor a database. Only the finished pages are visible from outside, so there is no login screen and no installer to aim at.
If you want to cut down the work of updating and checking a Drupal or WordPress site, please get in touch.
We are currently taking free consultations on security. Questions like "Is our site safe?" or "Where should we start checking?" are welcome.
