Hackers are taking over Drupal sites through the installer. CVE-2026-132165 is on CISA KEV, fix by Nov 27

4 min read

How to fix CVE-2026-132165: upgrade Drupal core to 11.4.13, 11.3.22 or 10.6.22, then block /core/install.php at the web server. Exploited since Nov 19 and added to CISA KEV on Nov 24 with a Nov 27 deadline and forensic triage.

BREAKING: Hackers are taking over Drupal sites through the installer. CVE-2026-132165 is on CISA KEV, fix by Nov 27
On this page

Attackers are taking over Drupal websites through a file that ships with every copy of Drupal and is meant to be used once, on install day. On November 24, 2026, CISA added the bug, CVE-2026-132165, to its Known Exploited Vulnerabilities (KEV) list with a deadline of Friday, November 27, and flagged it for forensic triage. Drupal's security team says it was first exploited on live sites on November 19 at 19:00 UTC, about a day after the fix shipped. Drupal runs a lot of government, university and media websites, so this is a wide target.

The fix is two steps, and the second one matters even after you update: install the patched Drupal release, then block the installer page at the web server so it can never answer again.

How to fix

Update Drupal core to the fixed release for your branch:

  • Drupal 11.4.x: 11.4.13
  • Drupal 11.3.x: 11.3.22
  • Drupal 10.6.x: 10.6.22
  • Drupal 11.2 and older, 10.5 and older, 8 and 9: end of life, no fix. Block the installer (below) today and plan the move to a supported branch.

On a Composer site, that is composer update "drupal/core-*" --with-all-dependencies, then drush updatedb and drush cache:rebuild. Do it on staging and disaster recovery copies too. A forgotten staging site with the installer open is just as easy to take over.

Block the installer, even after you update

Drupal's own advice is to stop serving /core/install.php on any installed site. Core's default .htaccess does not block it. Put the rule in the web server config so a core update cannot overwrite it.

Apache, in the virtual host:

<Location "/core/install.php">
  Require all denied
</Location>

nginx, in the server block, then nginx -t before you reload:

location ^~ /core/install.php {
  return 404;
}

Use the prefix match shown, not an exact location = match. Drupal warns an exact match can miss a path like /core/install.php/foo. Do not block update.php, which you still need for database updates.

One check to run now

For every Drupal hostname you own, run:

for p in /core/install.php /core/install.php/foo /install.php; do
  curl -s -o /dev/null -w "%{http_code} $p\n" "https://www.example.org$p"
done

Every line should say 403 or 404. A 200 means the installer still answers. Then check who owns sites/default/settings.php with stat -c '%U %a' web/sites/default/settings.php. If it belongs to the same account PHP runs as, the web server can make it writable again, and Drupal says some attack paths depend on exactly that.

How to tell if someone already got in

Drupal has not published indicators. What you can check:

  • Web server logs since November 18 for requests to install.php that got a 200. Any of those from outside your team is the first thing to explain.
  • Whether settings.php changed recently (ls -l --time-style=full-iso) and whether its database settings still point where you expect.
  • Administrator accounts on the People page that nobody on your team created.

If you find signs of a reinstall, treat the server as compromised: take a copy of the logs and files first, then rebuild from a known good backup. CISA's forensic triage flag asks federal agencies to collect evidence before they fix things, and that order works for everyone else too. Our PHP2Shell KEV post walks through what that triage asks for.

Who is not in scope

  • Sites where /core/install.php already returns 403 or 404. The installer is the only way in for this bug.
  • Drupal Steward customers are protected from the known attack paths, according to Drupal, but should still update.
  • CVE-2026-132166, the "gadget chain" fixed the same day, is not directly exploitable. It only matters if a second bug lets an attacker feed untrusted data to the site.
  • Contributed modules. This is in Drupal core, not in a module.

What this is not

This does not hit every Drupal site at every moment. Drupal rates it complex to exploit and limited to uncommon setups. One reading of the patch says the installer only becomes usable again when the site cannot confirm its database connection, or when an install is already in progress, which can happen during an outage or a broken config change. But it is already being exploited, and blocking one URL costs you minutes. Do not rely on "uncommon".

HOL Guard keeps the source record in the CVE-2026-132165 evidence pack. This post is the operator write-up.

What do people ask about the Drupal installer bug?

Is CVE-2026-132165 being exploited?

Yes. Drupal reports exploitation on live sites from November 19, 2026, and CISA added it to KEV on November 24 with a November 27 deadline and forensic triage.

Which Drupal versions fix CVE-2026-132165?

Drupal 11.4.13, 11.3.22 and 10.6.22. Older branches are end of life and get no fix.

Can I just delete install.php?

You can, but Composer puts it back on every core install or update unless a script removes it each time. A web server rule is easier to keep in place.

Does blocking install.php break my site?

No. An installed site does not use it. Multisite setups that add new sites through the browser need it open briefly, or can use drush site:install instead.

Is Drupal 7 affected?

Drupal 7 is end of life and the advisory does not list it. Some long-term support vendors have shipped builds that remove the installer. Block it anyway.

If AI agents or automation in your team deploy or manage Drupal sites, check if your agents touch this package with HOL Guard.

References

All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.