Drupal's installer bug is being exploited. Patch, then lock down install.php

Drupal pushed out three core releases on November 18 (11.4.13, 11.3.22 and 10.6.22) that close CVE-2026-132165 (SA-CORE-2026-017), a remote code execution bug in core/install.php. Under certain conditions, an attacker can point the installer at a running site and try to reinstall Drupal on top of it. That can end in a full site takeover or code execution. The same releases also fix SA-CORE-2026-018 (CVE-2026-132166), a moderately critical gadget-chain issue. The bug was found by Anthropic's OSS Scanner.
It didn't stay theoretical for long. The Drupal Security Team updated the advisory after receiving a report that the flaw had been used against live sites from 19:00 UTC on November 19, about a day after the fix shipped. The rating went up to Highly critical, 20 out of 25. When the advisory first went out it was 18. On November 24, CISA added the CVE to its Known Exploited Vulnerabilities catalog. And if you run Drupal 11.2 or earlier, 10.5 or earlier, or anything on Drupal 8 or 9, no patch is coming. Those branches are end-of-life.
Why a bug in the installer is worse than it sounds
Here's what bothers me about this one. Nobody thinks about install.php after day one. You run it once, the site comes up, and the file sits in core/ for years. Every Drupal site has it.
During our pentesting engagements, forgotten setup and admin endpoints are among the first things we go looking for, because the teams that own them have usually forgotten they exist. Installer scripts and debug routes left behind by a staging build almost never make it into anyone's asset inventory. In our work with gaming studios, more than one finding came down to a file that was only ever meant to run once.
You might look at the vector, which lists attack complexity as AC:Complex, and decide this can wait. I wouldn't. The same vector rates confidentiality and integrity impact as All, and the exploit field now says Exploit. Somebody has already worked out the conditions. Once attackers have done the hard part, a "complex" rating doesn't protect you.
What to do today
- Update core. Pick the fixed release for your branch: 11.4.13, 11.3.22 or 10.6.22. Check composer.lock on the server that actually serves traffic. Don't trust what someone remembers deploying.
- Block /core/install.php at the web server, even after you patch. Drupal's guide to securing the installer gives three options: a web server rule, an .htaccess rule on Apache, or deleting the file. We prefer the server rule. In our experience a deleted file has a way of reappearing on the next core update or fresh deploy unless your build removes it every time.
- Make settings.php unwritable by the web server user. Drupal says this blocks some exploit paths, but not all of them. Do it because it's good hygiene, not because it fixes anything.
- On an end-of-life branch, block the installer now and schedule the upgrade. Blocking is the only mitigation you have.
- Read your access logs. Look for requests to /core/install.php since November 19. A hit from an IP you don't recognise means it's time to start treating the box as possibly compromised.
On nginx, the server rule can be as short as this:
location = /core/install.php {
return 404;
}Edge rules buy you time, not safety
When we configure Cloudflare or Akamai for our travel-platform clients, a path block like this goes out at the edge within hours of an advisory. It's quick, and it covers a whole fleet of sites at once. But an edge rule only helps when traffic goes through the edge. If your origin can be reached directly by IP or through a forgotten DNS record, attackers simply skip the WAF. So block the path at the edge and at the origin. Then actually test the origin from outside, because "we think it's locked to the CDN" and "it's locked to the CDN" are not the same thing.
Containers, staging and the app behind the app
From our PHP and Docker work, the trap we expect to see this week is images with core baked in. Patching a running container does nothing if the image it came from still has the old version, because the next deploy or autoscale event rolls it straight back. Rebuild the image, and add the installer block to the image's web server config so it ships with every build. If you want a second pair of eyes on that setup, our development team does this kind of build cleanup all the time.
Then there's staging. Preview environments, old demo sites, the marketing microsite from 2022. They tend to be public, rarely patched, and often on the same database or network as production. Those are the ones I'd worry about.
Mobile teams aren't off the hook either. In our native iOS and Android projects, the content and API behind the app are often a Drupal backend that the mobile team doesn't own and seldom looks at. We've seen this in healthcare and e-commerce apps alike. If someone takes over that backend, they control what your app shows and what data it trusts. Ask whoever runs the CMS which version it's on. Today.
About the AI scanner part
I have mixed feelings here. It's good that automated scanners are finding real bugs in mature PHP code. But exploitation was reported roughly a day after the fix went public. We don't know how the attackers got there, whether from the patch itself or on their own. Either way, the gap between "patch released" and "patch needed" is now about a day for a widely deployed CMS. If your process for a core security release is "we'll pick it up next sprint", that's the process to fix, more than any single CVE. Our security services work keeps coming back to the same point: patch cadence and asset inventory matter more than any one tool.
If a pile of Drupal sites with unknown versions, forgotten staging copies and no edge rules sounds familiar, let's talk.