codewithkarani

Drupal installer flaw exploited: update core and lock down install.php

Karani GeoffreyKarani Geoffrey5 min read
On this page
  1. What happened
  2. Why it matters
  3. What to do
  4. Sources

Drupal's security team says a second installer flaw in Drupal core is being exploited in the wild. The advisory, SA-CORE-2026-019 (CVE-2026-136716), was published on 25 November 2026 and rated "Highly critical". It follows SA-CORE-2026-017 (CVE-2026-132165), a week earlier, which attackers were already using against live sites. The US cybersecurity agency CISA added CVE-2026-136716 to its Known Exploited Vulnerabilities catalog on 27 November, and Singapore's Cyber Security Agency issued an alert on 2 December covering both bugs.

Both flaws go through the same door: install.php, the web installer that ships with every Drupal site and is often left reachable long after setup.

If you run Drupal 10 or 11, update to 11.4.14, 11.3.23 or 10.6.23 now, run update.php afterwards, and block public access to install.php at the web server. Then check the user 1 account and your logs for signs of a takeover. Sites on 11.2.x, 10.5.x or older, and all Drupal 8 and 9 sites, get no fix and need to move to a supported release.

What happened

On 18 November Drupal published SA-CORE-2026-017. Under specific conditions an attacker could use the installer to try to reinstall Drupal on a running site, which can end in site takeover or remote code execution. The fixed releases were 11.4.13, 11.3.22 and 10.6.22. The advisory was later updated to say the security team had a report that the bug "was exploited on live sites as early as 2026-11-19 19:00 UTC".

A week later, SA-CORE-2026-019 closed a gap the first fix left open. According to Drupal, some sites sit in an unusual or incomplete installation state, including production sites, and can still be taken over through the installer even after the first patch. That state does not show up in the admin interface, and the advisory warns that a site which has already been compromised may no longer look vulnerable. Drupal states plainly that this second bug is being exploited in the wild.

Affected versions for CVE-2026-136716 are everything before 10.6.23, 11.0.0 up to 11.3.22, and 11.4.0 up to 11.4.13. The fixed releases are:

  • Drupal 11.4.x: 11.4.14
  • Drupal 11.3.x: 11.3.23
  • Drupal 10.6.x: 10.6.23

Drupal 11.2.x and earlier, 10.5.x and earlier, and Drupal 8 and 9 are end-of-life and receive no security fixes. Sites that had already locked down the installer are not affected, according to the advisory.

Why it matters

A site takeover here means an attacker can control the administrator account and, in the worst case, run code on the server, which puts the database, user data and anything else on that host at risk. The sites most exposed are the ones nobody has touched in a while: an installer left reachable since launch, or a core version that has fallen out of support and will never get this fix.

The second advisory also changes the to-do list. Patching alone is not enough this time: Drupal says an update hook has to run to repair existing sites stuck in the vulnerable state, so skipping update.php leaves the job half done. And because exploitation started within about a day of the first disclosure, any site that kept a reachable installer during the past two weeks should be treated as possibly compromised until checked. As with most real attacks on small organisations, this is about known, patchable flaws left open, not exotic tools.

What to do

  1. Find every Drupal site you or your clients run and note its core version. Anything below the fixed releases above needs action.
  2. Update core to 11.4.14, 11.3.23 or 10.6.23, matching your current branch.
  3. Run update.php (or your usual database update step) after updating. Drupal says this is required to fix sites already in the vulnerable state.
  4. Block the installer at the web server so a future installer bug cannot reach you. Drupal's guide recommends a server rule over .htaccess because it survives core updates. For Nginx, inside the HTTPS server block:
    location ^~ /core/install.php {
      return 404;
    }
    For Apache, in the virtual host (not .htaccess):
    <Location "/core/install.php">
      Require all denied
    </Location>
    Drupal advises against an exact-match location = rule in Nginx, since it can miss paths like /core/install.php/foo. If you already keep a hardened Nginx front end, this is one more block in it.
  5. Check that the block works. Request /core/install.php, /install.php and /core/install.php/foo with curl -I. Each should return 403 or 404. A 200 means the installer is still open. Confirm the site and update.php still work.
  6. Look for a takeover. Review logs for unexpected access, especially changes to or by the user 1 account. Make sure user 1's email address is one you control, and consider resetting its password. If something looks wrong, follow Drupal's guidance for hacked sites rather than just patching over it.
  7. Plan the move off end-of-life versions. Drupal 8, 9, 10.5 and 11.2 will not get this fix.

Sources

This brief was researched and written with AI from the sources above, checked against them, and published automatically. How briefs are made is in the editorial policy. Spot an error? Email hello@upeo.ai.

Frequently asked questions

Which Drupal versions fix CVE-2026-136716?
Drupal 11.4.14, 11.3.23 and 10.6.23. Drupal 11.2.x and earlier, 10.5.x and earlier, and Drupal 8 and 9 are end-of-life and get no fix.
Is updating Drupal core enough?
No. Drupal says you must run update.php after updating, because an update hook repairs sites already stuck in the vulnerable installation state. You should also block public access to install.php and check the user 1 account for signs of takeover.
How do I check that install.php is blocked?
Request /core/install.php, /install.php and /core/install.php/foo with curl -I. Each should return 403 or 404; a 200 means the installer is still reachable.
#Daily Brief#Drupal#CVE#CISA KEV#Web Security#Patching

Written by

Karani Geoffrey

Software engineer in Nairobi and founder of Upeosoft. I build ERPNext, AI and web systems that businesses run on, and write down what I learn along the way. More about me

Keep reading