Drupal's second installer flaw is being exploited: why last week's patch isn't enough
Drupal sites in an odd install state can still be taken over after SA-CORE-2026-017, and CISA lists the new flaw as exploited. Install 10.6.23, 11.3.23 or 11.4.14, run update.php and block install.php.
part 62 of 64 · Platform releases, explained from scratchthe ideaLast week's patch left some sites open. Update, run update.php, lock the installer.
after reading, you can- Tell whether last week's Drupal patch left your site open, and what finishes the fix
- Block install.php in a way that survives Composer runs, and test that the block holds
- Check user 1 and the access logs, since someone may have got in before you patched
Drupal has a second installer flaw, and attackers are already using it. If you patched your site last week, you aren't done: install 10.6.23, 11.3.23 or 11.4.14, run update.php, and lock the installer. CISA added it to its exploited list on Friday, and the federal deadline is Monday.
A Drupal site left in a half-installed state can be taken over by a stranger, even after last week's patch.
Drupal is the software behind a lot of company, university and government websites. It comes with a setup page, install.php, that's only meant to run once, when the site is first built. Last week Drupal fixed a way for attackers to re-run that setup over a live site. This week it said some sites are still open. If a site ended up in an unusual or unfinished install state, a stranger can still take it over through that page, and Drupal says that's already happening. You can't see the problem in the admin screens, so the safe move is to update, run the database update script and block the setup page for good.
Think of a building where the builder's master key still opens the front door. Last week the landlord changed the lock. It turns out some doors were never fitted with the new lock properly, and from the hallway you can't tell which ones.
- Anyone whose website runs on Drupal 10 or 11
- Agencies and hosts that look after Drupal sites
- Teams that build Drupal with Composer
- Owners of old Drupal 8 or 9 sites
Why it matters to you
Takeover means the attacker runs your website from then on. Whatever visitors see, whatever they type into a form and whatever the site keeps about its users is in someone else's hands. Drupal's advisory tells owners to look for unexpected changes to or by user 1definitionThe first user account on a Drupal site. Drupal core grants it every permission, which is why the advisory says to check for changes to or by it., the account core grants every permission.
This one doesn't need a lucky attacker. Drupal says it's being exploited in the wild, and CISA's entry describes an unauthenticated remote attacker taking over a site through the exposed installer. CISA also marks it for forensic triage, which means federal agencies have to check whether they were already hit, on top of patching.
The awkward part is that you can't tell by looking. Drupal says nothing in the user interface shows whether a site is in the vulnerable state. It also says a site that's already been compromised may have left that state, so a clean look today proves nothing about last week.
How the attack works
-
01 Finds the installer
Attackers request /core/install.php on Drupal sites. On some sites it still answers, because nobody blocked it after launch.
-
02 Hits an odd install state
Some sites never finished setting up cleanly. Drupal hasn't said which states those are, only that the admin screens won't show them.
-
03 The installer keeps going
Drupal hasn't published the details. CISA's entry describes an improper check for unusual conditions, reached through the exposed installer.
-
04 Takes over the site
Now they own the site. That's why Drupal tells you to look for changes to or by user 1, since that account can do anything.
For engineers: CISA files it as CWE-754, an improper check for unusual or exceptional conditions, and the CVE record maps it to forced browsing. The record lists every version before 10.6.23, 11.0 through 11.3.22 and 11.4.0 through 11.4.13 as affected. Drupal's risk string reads AC:Basic, A:None, E:Exploit: easy to pull off, no account needed, and exploit code in use.
It helps to compare it with last week's flaw. SA-CORE-2026-017 (CVE-2026-132165) was rated AC:Complex and let an attacker try to reinstall Drupal over a working site. Drupal's update to that advisory says it was exploited on live sites as early as November 19, and CISA listed it on November 24. The new flaw covers the sites that the first fix left behind, and it's easier to use.
What Drupal fixed, and what it didn't
What came out on November 25
Fixed in 10.6.23, 11.3.23 and 11.4.14. The code alone won't repair a site that's already in the bad state.
Drupal says an update hook must run to fix existing production sites in this state. That means update.php or drush updatedb after the upgrade.
The same releases fix the "Theme hook field not found" and "Theme hook time not found" errors some sites got after 11.3.22 and 11.4.13, Search API among them.
Twig moves to 3.31.1 for several published CVEs, and Composer packages are updated for a security issue. Symfony's same-day security update isn't included.
Drupal 11.2.x and older, 10.5.x and older, and Drupal 8 and 9 get no security coverage, so there's no patch for them.
The update hookdefinitionA small piece of code in a Drupal release that changes the database or settings when you upgrade. This fix relies on one to repair sites already in the bad state. is the part people will miss. Plenty of deployments copy new code onto the server and call it done. Drupal says an update hook must run to fix sites already in this state, so a version check on its own can tell you a site is fixed when it isn't.
The Symfony note matters too. Drupal says Symfony issued a security update the same day that isn't in these releases, and that sites are responsible for managing third-party dependency updates. If you build with Composer, update Symfony in the same change rather than waiting for the next core release.
| You're on | Install | Then | Security coverage |
|---|---|---|---|
| 11.4.x | 11.4.14 | Run update.php | Until April 2027 |
| 11.3.x | 11.3.23 | Run update.php | Until 11.5.0 comes out in December 2026 |
| 10.6.x | 10.6.23 | Run update.php | Until 11.5.0 comes out in December 2026 |
| 11.2.x or older, 10.5.x or older | No fix | Upgrade to a covered branch | Ended |
| Drupal 8 or 9 | No fix | Plan a rebuild or migration | Ended |
Look at that last column before you plan next month. Drupal's notes say 10.6.x and 11.3.x stop getting security fixes when 11.5.0 comes out in December. If you're on either, patch today, then book the move to 11.4 or 11.5 now, before the next advisory lands on a branch nobody fixes.
Two weeks of Drupal installer advisories
- Nov 18, 2026SA-CORE-2026-017
Drupal fixes the first installer flaw in 10.6.22, 11.3.22 and 11.4.13 and tells sites to secure install.php.
- Nov 19, 2026First attacks
Drupal later said it had a report of exploitation on live sites as early as 19:00 UTC that day. So the window before most people patched was real.
- Nov 24, 2026First flaw on KEV
CISA lists CVE-2026-132165 and gives federal agencies three days. That should have been the end of it.
- Nov 25, 2026SA-CORE-2026-019
Drupal puts out 10.6.23, 11.3.23 and 11.4.14 for the sites the first fix missed. It says attackers are already using this one too.
- Nov 27, 2026Second flaw on KEV
CISA adds CVE-2026-136716, flagged for forensic triage like the first one. So agencies have to go looking for a break-in, not just patch.
- Nov 30, 2026Federal due date
Agencies have until Monday. Everyone else should treat the weekend as the deadline.
- Dec 202611.5.0 expected
When it comes out, 10.6.x and 11.3.x stop getting security fixes.
- Core on 10.6.22, 11.3.22 or 11.4.13
- update.php never run after the upgrade
- /core/install.php answers with a 200
- User 1's email set years ago by an agency
- Nobody has read the access logs
- Core on 10.6.23, 11.3.23 or 11.4.14, Symfony updated
- Database updates run and checked
- Installer blocked at the web server and removed on deploy
- User 1's email is one you control, password reset
- Logs checked back to November 18
What to do now
Split the work today. One person updates and locks the installer. Someone else checks whether anyone got in first, because Drupal says sites that left the installer open after last week's patch may already be compromised.
What to do now, by who you are
- Ask whoever runs your website whether it's on Drupal, and get the core version in writing.
- Ask them to confirm three things: the new version, that update.php ran, and that install.php is blocked.
- Ask who controls the email address on the site's user 1 account. If it's a former agency or a person who left, change it.
- If they find signs of a break-in, ring the lawyer and the cyber insurer that day. Their deadlines often start early.
- Update core to 10.6.23, 11.3.23 or 11.4.14, and update Symfony in the same change.
- Run update.php or drush updatedb on every site, multisite instances included.
- Block /core/install.php in the web server config, then test the three URLs below from outside.
- Make sure the block doesn't catch update.php. Drupal warns that a broad rule can.
- Remove core/install.php in Composer post-install and post-update scripts, and keep the web server rule as well.
- Check whether your pipeline runs composer install --no-scripts. If it does, the file comes back.
- If you block it in .htaccess, put the rule in a scaffold append file, because Composer rewrites .htaccess.
- Use drush site:install for new multisite instances so the browser installer can stay blocked.
- Pull the access logs back to November 18 and search them for install.php. Count odd paths like /core/install.php/foo too.
- Check whether user 1's email or password changed lately. If either did and nobody on your team made the change, treat it as a possible break-in.
- List every Drupal site you have, including old campaign and event sites nobody owns any more.
- Treat any site still on Drupal 8 or 9 as a risk you have to decide on this month.
# Run these from outside, say a phone hotspot. You want 403 or 404 on all three $ SITE=https://example.com $ curl -I $SITE/core/install.php HTTP/2 404 $ curl -IL $SITE/install.php HTTP/2 404 $ curl -I $SITE/core/install.php/foo HTTP/2 200 # A 200 here means the block has a gap. Fix it before you call this done $ drush updatedb # Runs the pending update hooks, the step Drupal says fixes sites in the bad state
Harden so the next one hurts less
Drupal's reasoning is simple. Once a site is installed you don't need the installer, so blocking it takes away any future installer bug too. Two advisories a week apart should settle it. The steps below come from Drupal's guide to securing install.php.
Durable fixes, tied to this case
- 01Block install.php at the web server
On Apache, add a Location block with Require all denied to every virtual host, including the HTTPS one, not to .htaccess. On Nginx use the ^~ prefix match. Run apachectl configtest or nginx -t before reloading.
- 02Remove the file on every deploy as well
Composer puts core/install.php back each time it installs or updates core. Add post-install-cmd and post-update-cmd scripts that delete it. Drupal recommends doing both, so one layer covers the other if it lapses.
- 03Never leave a half-built site online
Drupal's guide says never to leave a half-finished installation on a server the internet can reach. That covers staging copies, demo sites and multisites added in a hurry.
- 04Treat user 1 as a privileged account
Set its email to a shared mailbox your team controls, keep the password in a vault, and stop using it for daily work. Its address is how password resets reach someone.
- 05Keep every site on a covered branch
Track each site's core branch and its end of coverage. With 10.6 and 11.3 ending in December, put the upgrade on the plan now so the next fix has somewhere to land.
- 06Ask your host what they already block
Drupal notes some managed hosts already block the installer, and Drupal Steward covers both advisories for sites that use its recommended mitigations. Test it anyway with the curl checks above.
Before: the installer answers on a live site
Requests for /core/install.php go straight through to PHP. Nobody ran the database update, and user 1's password resets still go to an agency mailbox from years ago.
After: the installer is gone and fenced off
Any installer URL gets a 404 now, and each deploy deletes the file anyway. update.php has run, and user 1's resets land in a mailbox the team owns.
If you think you've been breached
If you think someone got in through the installer
Drupal hasn't published indicators of compromise. You're looking for changes nobody made on purpose: requests to install.php, a different email or password on user 1, new administrators and code you didn't deploy. The order below draws on Drupal's "Your Drupal site got hacked. Now what?" guide.
- 01Containfirst hour
- Make a forensic copy before you change anything: a server snapshot if you can, otherwise the database and files.
- Block install.php at the edge now, so a second attempt fails while you look.
- If the site might be sending spam or malware, Drupal's guide suggests taking it offline. The attacker will probably notice, so save your copy first.
- 02Investigatefirst day
- Read access logs from November 18 on for install.php requests and the admin logins that followed.
- Find out when user 1's email or password last changed. Then pull the list of administrators and ask who added each one.
- Compare code and settings.php against your repository. Anything on the server that isn't in Git is suspect.
- 03Removefirst days
- Decide whether to keep, roll back, rebuild or retire the site. A backup from before the break-in is often the fastest clean route.
- Reset user 1's password and point its email at an address you control. Then end every active session, so a stolen login stops working.
- Change the database password in settings.php, and any API keys the site keeps. Assume the attacker read them.
- 04Recoverfirst week
- Bring the site back on 10.6.23, 11.3.23 or 11.4.14 with update.php run and the installer blocked.
- Watch logs closely for a few weeks. Attackers often come back to a site they've owned before.
- 05Report and learnas required
- Call your lawyer if the site held people's personal data. You may have to tell them, and Drupal's guide notes HIPAA and PCI sites can be legally bound to.
- Report what you found to [email protected]. The team can't help with single sites but tracks patterns.
- Write down how long it took to find every Drupal site you own. That's the number to bring down.
What this could look like
Three made-up setups you'll probably recognise
- the setup
- An agency built the site on Drupal a few years ago and still hosts it. They applied last week's patch to 11.3.22 and moved on. The user 1 email is the agency's old project mailbox.
- what happens
- Nobody ran update.php after the upgrade and install.php still answers. Nothing in the admin screens looks wrong, so the agency doesn't look further.
- what to do
- Ask the agency today for 11.3.23, update.php, a blocked installer and a log review back to November 18. Move user 1's email to an address you own, and book the move off 11.3 before December.
- the setup
- Central IT runs one Drupal codebase for many department sites. Departments ask for new sites often, so the installer stays reachable for the browser setup step.
- what happens
- A new site was started and never finished, which is the kind of incomplete state Drupal warns about. With install.php open to the internet, any half-built instance is a way in.
- what to do
- Patch, run update.php for every site in the multisite, then block install.php. Create new sites with drush site:install from now on, and list every instance nobody finished.
- the setup
- The platform team builds Drupal images with Composer and added a web server rule last week. The image build runs composer install --no-scripts.
- what happens
- The web server rule holds, but install.php is back in every image because the delete script never runs. Next time someone changes the server config, the rule could go and the file is still there.
- what to do
- Rebuild images on 11.4.14 with Symfony updated, delete install.php as an explicit build step, run drush updatedb in the release job, and keep the curl checks in your deployment tests.
How Cohash helps
Whoever runs the site does the patching, and they should do it today. We help with what comes after: our web development team can review a Drupal estate's deploy pipeline, installer rules and upgrade path off branches that are losing coverage, and our privileged access people can bring accounts like user 1 under the same vaulting and review as the rest of your admin logins. If you'd like a second pair of eyes first, start with the assessment.
What to take from this
- 01
CVE-2026-136716 is exploited and on CISA's list, due Monday for federal agencies. Install 10.6.23, 11.3.23 or 11.4.14 today.
- 02
Run update.php or drush updatedb. Drupal says the code alone doesn't fix a site that's already in the bad state.
- 03
Block install.php at the web server and delete it on deploy, then test all three curl URLs from outside.
- 04
Check user 1 for a changed email or password. Then go through the access logs from the week of the first advisory onward.
- 05
10.6.x and 11.3.x lose security coverage when 11.5.0 comes out in December. Plan the move now.
01Is my Drupal site affected by CVE-2026-136716?
Assume so if core is older than 10.6.23, 11.3.23 or 11.4.14, even if you patched last week. You can't tell from the admin screens whether a site is in the vulnerable state. If you already secured install.php, Drupal says you aren't vulnerable, but you should still update.
02We installed 11.3.22 last week. What else do we need to do?
Install 11.3.23, then run update.php or drush updatedb. Drupal says an update hook has to run to fix production sites already in the bad state. Then block install.php and check user 1 and your logs back to November 18.
03Does blocking install.php break updates?
No. update.php is a separate script and still works. Drupal warns that a broad rule can block it by accident, so test that drush updatedb or /update.php still runs after you add the rule.
04Our hosting company looks after Drupal for us. Is there anything we need to do?
Ask them in writing for the core version, confirmation that update.php ran and that install.php returns 403 or 404. Some managed hosts already block the installer, and sites behind Drupal Steward's mitigations are covered for known attacks, but Drupal still says to upgrade soon.
05We're still on Drupal 8 or 9. Is there a patch?
Not from this advisory. Drupal 8 and 9 have reached end of life, and branches older than 10.6 and 11.3 get no security coverage. Block install.php today and plan a move to a supported branch, or a rebuild.
06How long will Drupal 10.6 and 11.3 still get security fixes?
Drupal's release notes say both lose security coverage when 11.5.0 comes out in December 2026. 11.4.x is covered until April 2027. Patch today, then plan the upgrade.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Your site is on 11.4.14, but nobody ran update.php after the upgrade. Is it fixed?
show the answer
B. Not yet, the update hook still has to run Drupal says an update hook must run to fix existing production sites in the affected state. Until update.php or drush updatedb runs, a site in that state can stay open.
-
Q2Your Nginx config has location = /core/install.php { return 404; }. A curl to /core/install.php/foo returns 200. What's wrong?
show the answer
B. The exact match lets /core/install.php/foo reach PHP, so the installer still runs Drupal's guide warns that some Nginx setups pass any URL containing .php/ to PHP, so an exact match doesn't block /core/install.php/foo. The ^~ prefix match covers it.
-
Q3You added an install.php block to .htaccess by hand. A week later the installer answers again. What happened?
show the answer
B. Composer quietly rewrote .htaccess on its next run .htaccess is a scaffold file. Drupal's guide says Composer replaces it every time the scaffold step runs, so hand-added lines vanish. Put them in a scaffold append file instead.