Is Drupal 7 affected by CVE-2026-136716 (SA-CORE-2026-019)?
Yes. The upstream patch doesn't apply to Drupal 7, but the weakness behind it does. Here's what we found, what we fixed, and what to check on your site.

Drupal 7 is affected by the weakness behind CVE-2026-136716 (SA-CORE-2026-019), the highly critical access bypass the Drupal Security Team published on November 25, 2026. In case you’re wondering how bad this advisory is, the Drupal Security Team released this advisory as an “emergency” advisory the day before a major holiday in the US. This HAS NOT happened before. The advisory doesn't list Drupal 7, and the upstream patch can't be applied to it, because the Drupal 7 installer is built differently. The underlying problem is the same, though. On a Drupal 7 site whose installation never properly finished, an anonymous visitor to install.php can pick the install back up. Depending on where it stalled, that visitor can take over the administrator account. We reproduced it on a stock Drupal 7.103 site, and we've released a fix in NES (Never-Ending Support) for Drupal 7.
Fortunately, most Drupal 7 sites aren't in the vulnerable state. The trouble is that nothing in the admin interface shows it, and the advisory says attackers are already using this against live Drupal 10 and 11 sites. Below: what the advisory covers, how it grew out of last week's release, what we found in Drupal 7, and what NES customers need to do.
What is CVE-2026-136716 (SA-CORE-2026-019)?
SA-CORE-2026-019, tracked as CVE-2026-136716, is an access bypass in Drupal core's installer. It's rated highly critical, 21 out of 25, and it doesn't require an account. The fixed releases are Drupal 10.6.23, 11.3.23 and 11.4.14.
It's a follow-up to SA-CORE-2026-017, the installer bug published a week earlier, on November 18, 2026. That release fixed several ways to abuse install.php on a running site. It turns out it left one group of sites exposed: sites in what the advisory calls unusual or incomplete install states, and that includes production sites. On one of those, a visitor to the installer can still take the site over.
The advisory also says that nothing in the admin interface tells you whether your site is in this state. It's recorded in the database, and there's a one-line check further down. Updating the code isn't enough on its own, either. The fix includes a database update, and you have to run update.php for it to repair a site that's already stuck.
Is SA-CORE-2026-019 being exploited?
The advisory says the issue is being exploited in the wild, and that any site that left its installer reachable after last week's release may already have been compromised.
That fits what happened with SA-CORE-2026-017. The fix shipped on November 18, 2026. The Drupal Security Team later reported exploitation on live sites as early as 19:00 UTC on November 19, about a day later. CISA added it to its Known Exploited Vulnerabilities catalog on November 24.
So attackers were already sending requests to install.php on every Drupal site they could find. SA-CORE-2026-019 covers the sites where that kept working after the patch.
Everything reported so far is about Drupal 10 and 11. We haven't seen a report of this being used against a Drupal 7 site. I wouldn't lean on that. The takeover we reproduced needs nothing but a browser, and nobody upstream is watching Drupal 7 sites for it.
How SA-CORE-2026-017 led to SA-CORE-2026-019
When a security fix is published, anyone can read it. It shows which lines changed, and from that you can work out what was wrong. You can also see everything nearby that didn't change. Reading a fix and asking "what did this miss?" used to be slow work for someone who knew the code well. AI tools are very good at it, and they're fast.
We can't prove how SA-CORE-2026-019 was found, and the advisory doesn't say. But look at the timeline. SA-CORE-2026-017 was itself found by an AI scanner, and its advisory says so. It was being exploited about a day after the fix went public. One week later there's a second advisory for the case that fix left open, and it was already under attack when it was published. I don't think people did that by hand. The most likely explanation is that AI helped find the gap, and I'd guess it helped the attackers as much as the defenders.
I wrote about this in How AI Broke Open Source Security earlier this year. The time between a fix being published and an exploit showing up keeps shrinking. For supported Drupal, the Security Team closed the gap in a week. For Drupal 7, nobody upstream is going to.
Why doesn't the advisory mention Drupal 7?
Drupal 7 reached end-of-life on January 5, 2025, and the Drupal Security Team's scope ends at the supported branches. Our Drupal 7 end-of-life timeline post has the background. When Drupal 7 isn't on the list, all you know is that nobody looked.
We looked last week. In our post on CVE-2026-132165 and CVE-2026-132166, we found that a working, fully installed Drupal 7 site refuses every attempt to reinstall it. That's still true. We also wrote that on a site that's partway through installation, any visitor can finish it, including setting the admin account. We said that wasn't what the advisory was about, and that it goes away the moment installation completes.
All of that was accurate for the attack that was known last week. SA-CORE-2026-019 is a different one. It goes after the site where installation never completed and the site went to production anyway. Nobody had described that as an attack vector until this advisory, and now it's rated 21 out of 25. So we went back to the Drupal 7 installer with the new fix in hand.
What the Drupal 7 installer does
Drupal 7's installer keeps a record of the last step it finished. When someone visits install.php, it reads that record. If the record says the install is done, the installer refuses to run. If it names an earlier step, the installer picks up where it left off, for whoever happens to be asking.
On a healthy site, the record says done and that's the end of it. A site can end up with a different value if the install stalled partway through. The site can look and work fine afterward, and people do put sites like that into production.
How bad that is depends on where the install stalled. A stall near the end is more likely, and it does less damage. A timeout in the last step is enough to cause one, and so is an install profile or distribution with extra steps that never finished. A stall before the site was configured is rarer, but it's the one that hands over the administrator account.
That's what the code says. Code reading can miss things, so we tested it.
How we confirmed Drupal 7 is affected
We installed a clean Drupal 7.103 site from unpatched code, with a real administrator account and a real site name. Before changing anything, we checked that install.php refused to run. It did, with "Drupal already installed."
Then we put the site into the condition the advisory describes, an incomplete install. Drupal 7 keeps its installer progress in a single database value. We changed that one value so it named an earlier installer step instead of "done." We didn't touch anything else about the site.
Next we visited install.php as an anonymous visitor. We had no login and no session, and we knew nothing about the site except its URL. We repeated that for each point where an install could plausibly have stalled:
- When the install had stalled before the "Configure site" step, the installer resumed and served the site configuration form to our anonymous visitor. We submitted it. The existing administrator's username, email address and password were replaced with the ones we supplied, and so were the site name and site email. That's a full takeover of user 1, the site's main administrator account.
- When it had stalled after the "Configure site" step, there was no account takeover. The visitor could still complete the installation on the site's behalf, which flushes the caches and runs cron. They could also change the site's recorded install profile. On a site that keeps its modules inside a profile directory, that can break the site.
- When the install had finished correctly, the installer blocked us, as expected.
We didn't trust the browser to tell us what had changed. After each attempt we read the user and settings records straight from the database.
We repeated the test on SQLite, MariaDB 11.8, MySQL 8.0 and MySQL 8.4. The results were identical on all four.
As with our post on SA-CORE-2026-017 and SA-CORE-2026-018, we're describing what happened and leaving out the specific requests and scripts we used. The upstream fix is public, but sites take time to patch.
How we fixed the Drupal 7 installer in NES
The upstream patch is a few lines in the modern Drupal installer that Drupal 7 doesn't share, so there was nothing to port directly. We fixed the same weakness in Drupal 7's own code, in two parts.
The first part is a database update that repairs stuck sites. It marks the installation as finished on any site where the record says otherwise, which is the same repair upstream ships. This is the part that protects a site that's already in the vulnerable state, and it only runs when you run update.php or drush updb.
The second part locks the installer itself. An interactive install is now tied to the browser session that started it. A second visitor can't step into an install that's in progress, and the installer won't resume an install it has no session record for. Command-line installs such as drush site-install work the way they always have.
That was our first version, and it passed its tests. During a review of those fixes, we turned up a second route to the same takeover. On a server where the settings file had never been configured and was still writable, a visitor could point the installer's database form at an existing database that had been left in an incomplete state. Our first patch didn't stop that. We tested it, and we got the same administrator takeover.
This route is narrower than the main one, because the attacker has to already know the database credentials. It’s less likely to be exploited, but we closed it anyway. In the final patch, only the request that actually created the site's database tables can claim an installation.
Then we ran the same tests against the patched code on PHP 5.6, 7.4 and 8.2. Every incomplete-install case was refused, and the administrator account and site settings were unchanged. We also ran a complete, legitimate installation on each database and confirmed that it still finishes normally. A second browser session that tries to join partway through is turned away.
It's the same lesson as SA-CORE-2026-014 in October: the first version that passes its tests isn't the version you ship.
What this assessment doesn't cover
- We tested Drupal 7 core. Install profiles and distributions can add their own installer steps, and we haven't reviewed those one by one. The database update covers them, because it marks the install finished regardless of which step it stalled on.
- We worked from the upstream fix and from our own testing of Drupal 7. We didn't reproduce the attack on Drupal 10 or 11.
- We can't tell you whether a given site was already compromised. The advisory makes the same point: a site that's been taken over may no longer be in the vulnerable state.
How to check whether your Drupal 7 site is affected
The installer's progress is one value in the database, and drush will read it for you:
- If it says
done, your site isn't in the vulnerable state now. That doesn't prove it never was. An attacker who finishes a stalled install leaves this value atdonetoo. - If it names an installer step, the install never finished and your site is in the vulnerable state. How serious that is depends on which step, as our tests show. Treat it as exposed either way.
- If the variable is missing, that isn't the vulnerable state. In our testing the installer started over and stopped at its first step without changing any data. The update sets the value correctly in this case too.
If your site relies on Drupal 7's built-in automated cron, there's a second hint: it silently doesn't run on a site whose install never finished. Sites that run cron from crontab or drush won't see that.
Run the check before you apply any fix. The repair sets this value to done, so afterward you can't tell what it was.
NES for Drupal 7 customers: you're covered
We work every core advisory against Drupal 7 whether it names Drupal 7 or not. This one landed on November 25, 2026, and we had it reproduced and a fix written the same day. The fix ships in NES for Drupal 7 version 7.103.16+7.103.1:drupal, available now.
This one needs more from you than most of our updates. Do these in order:
- Block web access to
install.phpon every production site, if you haven't already. You can do this today, before the update, and a site with the installer blocked isn't exposed to any of this. Drupal's guide to securing the installer has examples for common web servers. - Run the check above. Do it before you update, because the update repairs the state the check looks for.
- Install the update.
- Run
update.phpordrush updb. The repair for stuck sites is a database update. Updating the code without running it leaves a stuck site stuck.
If the check named an installer step, or install.php has been reachable and you aren't sure, follow the advisory's advice. Check your logs for changes to or by user 1, make sure user 1's email address is one you control, and reset its password. If you find something you don't like, contact us and we'll help you work through it.
Running Drupal 7 without extended support?
Last week the answer for Drupal 7 was no. This week, for SA-CORE-2026-019, it's yes, the same weakness is already being exploited on modern Drupal, and there's no community patch coming for end of life versions of Drupal. The upstream fix won't apply to Drupal 7 even if you try.
You can protect yourself today by blocking install.php at the web server, and you should. What that doesn't give you is someone to open the next fix, read the Drupal 7 code next to it, and find out whether the same door is there. Advisories are arriving a week apart now, and the people attacking these sites have tools that read patches faster than any of us can.
That work is what Drupal 7 extended support pays for. We do it for NES customers each time a core advisory lands, as we did for SA-CORE-2026-014 in October and SA-CORE-2026-004 in May. The CVEs we've assessed and fixed are listed in our vulnerability directory.
If you're still on Drupal 7 and are concerned about security, talk to us about NES for Drupal.
Resources
View All Articles


