Skip to content
All posts

Incident Response

Drupal Installer Takeover CVE-2026-136716: Check and Patch Now

A second exploited Drupal installer flaw in a week. Which builds fix it, why last week's patch is not enough, and how to check logs and user 1 for takeover.

MRMuhammad RaheemChief Executive Officer

· 10 min read

On this page

On 25 November 2026 Drupal published SA-CORE-2026-019, a "Highly critical" access bypass in the core installer, tracked as CVE-2026-136716. Drupal says it is being exploited in the wild. CISA added it to its Known Exploited Vulnerabilities (KEV) catalogue two days later.

It is the second installer flaw in a week, and the first fix did not protect every site. If you run Drupal and patched last week, you need to patch again, run the database updates and check whether someone got in first.

What happened

Every Drupal site ships with an installer, core/install.php. It creates the database tables and the first administrator account when a site is set up. On a finished site it should never do anything useful again.

On 18 November Drupal released SA-CORE-2026-017 (CVE-2026-132165), rated 20 out of 25. The advisory says that under specific conditions an attacker can use the installer to try to reinstall Drupal on a running site, leading to site takeover or remote code execution. Drupal later added that it was exploited on live sites "as early as 2026-11-19 19:00 UTC". Some coverage calls it "Fail2Install".

On 25 November Drupal published SA-CORE-2026-019. In summary, it says:

  • Sites in "unusual or incomplete install states" stayed open to site takeover after the first fix, including production sites.
  • You cannot see that state in the admin interface, and an already-compromised site may no longer appear vulnerable.
  • The flaw is being exploited in the wild.
  • Sites that have secured the installer are not vulnerable.

NVD lists it as CWE-754 ("Improper Check for Unusual or Exceptional Conditions") with a CISA-supplied CVSS score of 9.8. If your installer is reachable from the internet, assume someone has tried it.

Who is affected

According to SA-CORE-2026-019 and NVD:

BranchAffectedFixed in
Drupal 11.4.xBefore 11.4.1411.4.14
Drupal 11.3.xBefore 11.3.2311.3.23
Drupal 11.2.x and older 11.xAllNone, end of life
Drupal 10.6.xBefore 10.6.2310.6.23
Drupal 10.5.x and older, 8, 9AllNone, end of life

The 18 November fixes were 11.4.13, 11.3.22 and 10.6.22. A site on those builds is patched for the first flaw and still exposed to the second.

  • End-of-life branches get no fix. Move to a supported branch; until then, blocking the installer is your only control.
  • Sites that already blocked the installer are not vulnerable, Drupal says. Update anyway.
  • Drupal Steward customers using its recommended mitigations are protected from known vectors, but Drupal still advises upgrading soon.

How to check your exposure

Do this for every Drupal site you own, including staging copies, old microsites and anything an agency built. Forgotten sites are the likeliest to have an open installer.

1. Find the version. From the project folder, composer show drupal/core or drush status --field=drupal-version. In the browser, Reports → Status report shows it too.

2. Test whether the installer is reachable. Drupal's guide to securing the installer gives three header-only checks. Run them from outside your network, against your own site:

curl -I https://www.example.com/core/install.php
curl -IL https://www.example.com/install.php
curl -I https://www.example.com/core/install.php/foo

All three should return 403 or 404. A 200 means the installer is not blocked. The third matters because, as Drupal warns, an nginx exact-match rule can leave /core/install.php/foo reachable.

3. Do not read "not vulnerable now" as "never compromised". A clean result today tells you the door is shut. It does not tell you whether it was open on 20 November. That is what the logs are for.

Detection

You are looking for requests that reached the installer, and changes nobody on your team made. Drupal's advisory names the key signal: unexpected changes to, or by, user 1.

Web server logs

Search access logs from 18 November onwards for any request to install.php, with or without /core/, a query string or a trailing path. Split the results by status: 403 or 404 means blocked; 200 or a redirect means the installer answered.

To check our own triage, we wrote a short Python script and ran it in our lab against an access log and a Drupal log (dblog) export that we wrote ourselves: one blocked scan, one installer that answered, and suspicious activity afterwards. Every address and event is invented.

raheem@futaqsec: ~/drupal-installer
$ python3 hunt.py access.log watchdog.csv
# installer requests: 6
[+] blocked 404 192.0.2.77 GET /core/install.php (25/Nov/2026:02:41:10 +0000)
[+] blocked 404 192.0.2.77 GET /install.php (25/Nov/2026:02:41:11 +0000)
[!] REACHED 200 192.0.2.150 GET /core/install.php (27/Nov/2026:00:12:44 +0000)
[!] REACHED 200 192.0.2.150 GET /core/install.php?rewrite=ok&langcode=en (27/Nov/2026:00:12:46 +0000)
[!] REACHED 302 192.0.2.150 POST /core/install.php?rewrite=ok&langcode=en&profile=standard (27/Nov/2026:00:12:49 +0000)
[!] REACHED 200 192.0.2.9 HEAD /core/install.php/foo (28/Nov/2026:11:20:31 +0000)
# IPs that reached the installer: 192.0.2.150, 192.0.2.9
# dblog events worth review
HIGH: 2026-11-27T00:13:35Z uid=1 from 192.0.2.150: Session opened for admin.
HIGH: 2026-11-27T00:13:41Z uid=1 from 192.0.2.150: User admin updated: email changed.
HIGH: 2026-11-27T00:13:58Z uid=1 from 192.0.2.150: New user: helpdesk2 helpdesk2@example.com.
HIGH: 2026-11-27T00:14:20Z uid=1 from 192.0.2.150: devel module installed.
Real output of our triage script against our own lab logs. All IPs, names and events are invented test data.

The logic is two patterns and a join. The installer pattern catches all three path forms. Any account or module change in the Drupal log is flagged, and marked HIGH when it comes from an address that also reached the installer:

INSTALLER = re.compile(r'^/(core/)?install\.php(?=$|[/?])', re.I)
RISKY_MSG = re.compile(r'(New user:|email changed|password|role|module installed)', re.I)

risky = bool(RISKY_MSG.search(row["message"]))
from_installer_ip = row["hostname"] in installer_ips   # IPs with an installer status below 400
if risky or (row["uid"] == "1" and from_installer_ip):
    tag = "HIGH" if from_installer_ip else "MEDIUM"

The real administrator's user 1 sign-in from 192.0.2.45 in the same data does not fire, because that address never touched the installer. Log wording varies by version and module, so test the patterns against your own logs first. On a bare server, one grep gives the first answer; any line it prints is a request the installer answered:

grep -E '"[A-Z]+ /(core/)?install\.php([/?][^ ]*)? [^"]*" [23][0-9]{2} ' access.log

Behind a CDN or load balancer, run it on logs that record the real client address.

Inside Drupal

Drupal's guide "Your Drupal site got hacked. Now what?" lists what to review. For this flaw, start with:

  • User 1: an email address you control, the expected username, no password change you did not make.
  • Accounts and roles: users created since 18 November that nobody requested, and new administrators.
  • Modules and configuration: anything enabled or changed outside your normal deployment.
  • Sessions and files: sessions from unexpected addresses, and code that differs from version control.

The Drupal log lives in the same database an attacker may have changed. If it shows nothing but the web server shows the installer answering, believe the web server.

Mitigation

  1. Update core to 11.4.14, 11.3.23 or 10.6.23. On an end-of-life branch, plan the move now and block the installer meanwhile.
  2. Run update.php (or drush updatedb). Drupal says an update hook is required to fix existing production sites in the vulnerable state. New code without the database updates is not enough.
  3. Block the installer at the web server. Drupal strongly recommends this for all sites and prefers web server configuration to .htaccess, because it survives core updates. It does not affect update.php.
  4. Secure user 1: set its email to one you control and reset its password.
  5. Check for compromise before declaring the site clean.

Drupal's guide uses a prefix match for nginx, inside the HTTPS server block, and a deny rule for Apache in every virtual host that serves the site:

location ^~ /core/install.php {
    return 404;
}
<Location "/core/install.php">
    Require all denied
</Location>

Test with nginx -t or apachectl configtest, reload, then rerun the three curl checks. The guide also covers .htaccess and Composer-script options, with caveats.

If you find an unknown administrator, a changed user 1 email or installer requests that succeeded, this is no longer a patching task. Preserve the files, database and logs before changing anything, as Drupal's guide advises, and follow your incident response plan. When we handle a compromised web application, the first decision is usually clean or rebuild. Drupal's guide makes the same point: if you cannot say when the breach happened, rebuilding from known-good code is often safer. Our post on the first 24 hours of a ransomware incident covers evidence handling in more depth.

The business decision

Impact. A taken-over site gives the attacker its content, its user accounts and its database. Drupal says the installer flaws can lead to remote code execution, a foothold on the server itself. For a brochure site the harm is reputational. For a site with customer logins, forms or payments, it can be a reportable data breach.

Likelihood. Drupal and CISA both say this is exploited, and the first flaw was exploited about a day after its fix. Any site whose installer was open after 18 November should be treated as possibly compromised, not just unpatched.

Cost. An update, a database update run and a short web server rule take a few hours per site. An investigation, a rebuild and possible notification take days or weeks, plus lost trust.

Three decisions belong with leadership this week:

  • A complete list of Drupal sites, including agency-run and long-forgotten ones, with each owner confirming version, update.php run and installer block in writing.
  • A date for every end-of-life site: upgrade it or take it offline.
  • What "possibly compromised" triggers: who decides between cleaning and rebuilding, and who decides on notifying customers.

Our post on vulnerability prioritisation with EPSS and KEV explains why a KEV listing should move a flaw to the top of the queue.

What we know and what is unconfirmed

As of 30 November 2026, 05:00 UTC.

Stated by Drupal:

  • SA-CORE-2026-019 (CVE-2026-136716): published 25 November 2026, Highly critical (21/25), access bypass, exploited in the wild. Fixed in 11.4.14, 11.3.23 and 10.6.23; update.php must be run. Sites with a secured installer are not vulnerable.
  • SA-CORE-2026-017 (CVE-2026-132165): published 18 November 2026, exploited from as early as 19 November, 19:00 UTC.

Stated by CISA and NVD:

  • CVE-2026-136716 was added to KEV on 27 November 2026, due 30 November 2026 for US federal civilian agencies. The due date is in the KEV catalogue and NVD, not in the CISA alert text.
  • CVE-2026-132165 was added to KEV on 24 November 2026, due 27 November. Known ransomware use is "Unknown" for both.

Unconfirmed or unknown:

  • How the new exploit path works. Drupal has not published details.
  • Who is exploiting it and what they do afterwards. No source we reviewed says.
  • How many sites are exposed or compromised. Press reports cite third-party counts; we could not verify them at source and do not quote them.
  • Who coined the name "Fail2Install".

We will update this brief if Drupal publishes indicators of compromise.

Sources

  • Threat Brief
  • Drupal
  • Patching
  • Incident Response
MR

Written by

Muhammad Raheem

Chief Executive Officer, FutaqSec

Keep reading

Incident Response9 min read

Tabletop Exercises That Test Decisions, Not Scripts

Most tabletops end with everyone agreeing the plan works. How we design exercises around the hard decisions, with injects, a clock and real follow-up.

Arslan Amin

Not sure where to start?

A 30-minute scoping call is enough to understand your environment and recommend the right first step. No obligation.

Book a free consultation