November 26, 2026
Banner: Drupal install.php flaw exploited, how to check and patch your site

Image: TeQBlogs

The Drupal install.php flaw (CVE-2026-132165) is being exploited on live websites, and the US cybersecurity agency CISA has given federal agencies until 27 November 2026 to fix it. If your Drupal 10 or 11 site still answers on /core/install.php, block that path now and update to Drupal 10.6.23, 11.3.23 or 11.4.14. Those newer releases also close a follow-up hole (CVE-2026-136716) that last week’s patch did not cover.

Quick summary

  • What: Drupal’s built-in installer can, under specific conditions, be used to “reinstall” a live site, leading to site takeover or remote code execution.
  • Status: Drupal says exploitation on live sites began as early as 19 November 2026, 19:00 UTC. CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities list on 24 November.
  • Fix: Drupal 10.6.23, 11.3.23 or 11.4.14 (released 25 November), then run update.php.
  • Fast mitigation: block /core/install.php at the web server. This takes minutes.
  • Check: look at the user 1 account, unknown admins, install state and installer requests in your logs.

What is the Drupal install.php flaw?

Every Drupal site ships with core/install.php, the script used once to set the site up. Drupal’s advisory SA-CORE-2026-017, published on 18 November 2026, says that under specific conditions an attacker can use this installer to attempt to reinstall Drupal, which can lead to a site takeover or remote code execution. No login is needed; the attacker only needs to reach the installer URL.

Drupal rates the issue “Highly critical” (20/25). It says some, but not all, exploit paths are blocked if the web server cannot write to or change permissions on settings.php. The flaw was found by Anthropic’s OSS Scanner, according to the advisory. A week later, Drupal published SA-CORE-2026-019 (CVE-2026-136716, rated 21/25): some sites in “unusual or incomplete install states” stayed open to takeover even after the first fix, including production sites, and this is also being exploited.

Also read: Signal Blocks Screenshots to Stop AI Assistants: What Changed and What to Check

Which Drupal versions are affected and fixed?

Both advisories cover the supported Drupal 10 and 11 branches. The second fix supersedes the first, so the version to aim for is the one in the last column.

Table of fixed Drupal versions 11.4.14, 11.3.23 and 10.6.23 for the install.php flaw
Image: TeQBlogs
BranchVulnerable to CVE-2026-132165First fix (18 Nov)Full fix incl. CVE-2026-136716 (25 Nov)
Drupal 11.4.xBelow 11.4.1311.4.1311.4.14
Drupal 11.3.xBelow 11.3.2211.3.2211.3.23
Drupal 10.6.xBelow 10.6.2210.6.2210.6.23
Drupal 11.2.x and older, 10.5.x and olderAffectedNo fix (end of life)Upgrade to a supported branch
Drupal 8 and 9End of lifeNo fixUpgrade to a supported branch

Why last week’s Drupal patch is not enough

Many teams updated to 10.6.22, 11.3.22 or 11.4.13 last week and moved on. Drupal’s own guidance now says that update did not protect against the follow-up issue. The vulnerable state does not show anywhere in the admin interface, so a site that has worked normally for years can still be affected, and a site that was already compromised may no longer look vulnerable.

The 25 November releases include an update hook that repairs production sites stuck in that state, which is why you must run update.php (or drush updatedb) after updating the code. Skipping the database update leaves the fix half applied.

How to block install.php on your Drupal site

Blocking the installer is the quickest way to stop this attack, and Drupal recommends it for every site even after patching. You only need install.php to install a new site; it is not used for updates.

Three steps: block install.php, check for compromise, then update Drupal and run update.php
Image: TeQBlogs
  1. Apache (recommended): add the rule below to your virtual host configuration, not to .htaccess (placing a <Location> block in .htaccess causes a 500 error). Run apachectl configtest, then reload Apache.
  2. Nginx: add the ^~ rule below inside the HTTPS server block, run nginx -t, then reload. Drupal warns against an exact match (location =) because some setups still run /core/install.php/foo.
  3. Shared hosting (Apache only): add a <Files "install.php"> deny rule to .htaccess, but note Composer’s scaffold step overwrites .htaccess, so append it through the drupal-scaffold file mapping.
  4. Belt and braces: also delete core/install.php after each Composer install or update, so one layer still protects you if the other lapses.
# Apache virtual host
<Location "/core/install.php">
  Require all denied
</Location>

# Nginx (inside the HTTPS server block)
location ^~ /core/install.php {
  return 404;
}

Then test from outside your network. All three commands should end in 403 or 404; a 200 means the block is not working:

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

How to check if your Drupal site was compromised

If /core/install.php was reachable from the internet at any time since 18 November 2026, Drupal advises checking for signs of compromise before you assume all is well. Updating alone does not clean up a hacked site.

Video: Pexels
  1. User 1: confirm the main admin account still has an email address you control, and consider resetting its password.
  2. Admin accounts: look for administrator accounts you do not recognise, and user 1 sessions from IP addresses that are not yours.
  3. Install state: run drush state:get install_task. Anything other than done means the site is vulnerable right now. Note that done does not prove safety, because a successful attack also sets it.
  4. Install time: check install_time with Drush and make sure the date matches when the site was really built.
  5. Unfinished installer session: a value from drush state:get install_session_token on a live site points to an interrupted or suspicious installer run.
  6. Logs: 200 responses of about 2 KB are usually the harmless “already installed” page. Investigate POST requests that return 302 or 303, much larger responses, or bursts of installer requests from one address.

If anything looks wrong, treat the site as compromised: take a clean backup from before the earliest suspicious request, rotate database and admin credentials, and follow Drupal’s “Your Drupal site got hacked. Now what?” guide.

What it means for Indian site owners

Drupal runs many university, media, NGO and enterprise websites, including in India, and a lot of them are maintained by small agencies or a single developer. The key risk is an old site where nobody remembers the hosting setup. If you manage such a site, block the installer first, because it takes minutes and needs no code change.

Organisations in India should also remember that CERT-In’s 2022 directions require reporting certain cyber incidents, including website compromise, within six hours of noticing them. If your business needs help hardening web servers and monitoring logs, a managed cybersecurity service can take that work off your team.

Common mistakes to avoid

  • Stopping at 10.6.22, 11.3.22 or 11.4.13. Go to 10.6.23, 11.3.23 or 11.4.14.
  • Updating the code but not running update.php or drush updatedb.
  • Putting the Apache <Location> block in .htaccess, which breaks the site with a 500 error.
  • Using an exact-match Nginx rule that misses /core/install.php/foo.
  • Blocking update.php by accident with a broad rule.
  • Forgetting staging or old microsites that run the same codebase.

For more patch-now guides, see our posts on the vCenter zero-day CVE-2026-123890 and the PostgreSQL security update. If you use a password manager at work, our 1Password breach explainer covers what to check there.

Frequently asked questions

Is my Drupal site vulnerable to CVE-2026-132165?

It is if it runs Drupal 10 below 10.6.22, 11.3 below 11.3.22 or 11.4 below 11.4.13 and the installer is reachable. Unsupported branches (11.2 and older, 10.5 and older, Drupal 8 and 9) get no fix and should be upgraded.

Which Drupal version should I install now?

Install 11.4.14, 11.3.23 or 10.6.23, depending on your branch, then run database updates. These releases fix both CVE-2026-132165 and the follow-up CVE-2026-136716.

Does blocking install.php break Drupal updates?

No. Updates use update.php or Drush, not install.php. You only need the installer to set up a new site, and drush site:install does not use it at all.

Is Drupal 7 affected by this flaw?

Drupal’s advisories list fixes only for Drupal 10 and 11 and do not provide a Drupal 7 fix. Drupal 7 sites should check with their extended-support vendor and block the installer either way.

Bottom line

This is a patch-tonight issue. Block /core/install.php, update to 10.6.23, 11.3.23 or 11.4.14, run database updates and spend ten minutes on the compromise checks. If you patched last week and stopped there, you are not finished yet.

Sources

(Visited 1 times, 1 visits today)

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *