DEV Community

Cover image for Drupal CVE-2026-132165 and CVE-2026-136716: Check, Patch and Block install.php
GeekSpark for GeekSpark

Posted on Originally published at geekspark.in

Drupal CVE-2026-132165 and CVE-2026-136716: Check, Patch and Block install.php

Attackers are taking over Drupal sites through the installer, core/install.php, a file most people never think about after day one.

Two flaws, both exploited. Drupal fixed CVE-2026-132165 (SA-CORE-2026-017, "Highly critical") on November 18: under specific conditions, anyone with no login could use the installer to reinstall Drupal on a live site, leading to takeover or remote code execution. Drupal says it was exploited on live sites from November 19, 19:00 UTC, and CISA added it to its Known Exploited Vulnerabilities list on November 24 with a federal deadline of November 27. Then on November 25 came CVE-2026-136716 (SA-CORE-2026-019): some sites in "unusual or incomplete install states" stayed open to takeover even after the first fix. That one is exploited in the wild too, and Drupal warns the vulnerable state isn't visible in the admin interface.

What to do:

  • Update to 10.6.23, 11.3.23 or 11.4.14 (the November 18 releases fix only the first flaw). With Composer: composer update "drupal/core-*" --with-all-dependencies.
  • Run the database updates (drush updatedb or /update.php). Drupal says an update hook must run to repair sites in the vulnerable state.
  • Block the installer on every site, patched or not. Drupal's guide gives one-line rules for Apache (<Location "/core/install.php"> Require all denied) and nginx (location ^~ /core/install.php { return 404; }). Test with curl -I https://your-site/core/install.php: you want 403 or 404.
  • Check user 1. Make sure the admin account's email is yours, reset its password, and search your access logs for requests to install.php since November 18.

Drupal 11.0 to 11.2, 10.5 and older, and 8 and 9 are end of life and get no fix, so block the installer now and plan an upgrade. Drupal 7 isn't listed in these advisories, but it's past end of life too.

Sources


This is the short version. The full guide, with every step and source, is on GeekSpark.

Top comments (0)