Skip to main content
Blue Moose logo Blue Moose Field notes
← All articles
drupal

Drupal's install.php fix needed a second fix

A bright desk with a laptop, monitor and camera by a window

A week ago I wrote about the install.php problem in Drupal core. I assumed the story would end with "update and move on". It didn't. On November 25 the security team published a second advisory for the same file, and this one carries an uncomfortable detail: the first fix did not cover every site.

What 019 actually says

SA-CORE-2026-019 is rated "Highly critical" (21/25) and is an access bypass in core. The advisory says "This is being exploited in the wild." The affected ranges are Drupal 10 before 10.6.23, 11.0.0 up to before 11.3.23, and 11.4.0 up to before 11.4.14. The fixed releases are 10.6.23, 11.3.23 and 11.4.14.

The mechanism is in the description. Core ships install.php. Sites that have already secured the installer are not vulnerable. SA-CORE-2026-017 fixed several installer vulnerabilities, but sites in "unusual or incomplete install states" can still be taken over. The advisory adds that this state is not visible in the admin interface.

The part that changes your checklist

Two sentences in the advisory matter more than the version numbers. First, an update hook is required to fix existing production sites in this state, so you have to run update.php (or drush updatedb) after deploying the new code. Swapping the codebase alone is not enough. Second, sites that have already been compromised may no longer appear vulnerable. A clean scan afterwards therefore proves nothing.

For context, 017 (published November 18, fixed in 10.6.22, 11.3.22 and 11.4.13) says exploitation was reported on live sites as early as 2026-11-19 19:00 UTC. It also says the issue was found by Anthropic's OSS Scanner. So the window between the first fix and this second one was a week, with active exploitation for most of it.

What I'd do on every site

  1. Update to 10.6.23, 11.3.23 or 11.4.14, matching your branch.
  2. Run database updates. Do not skip this step in a pipeline that only deploys code.
  3. Secure the installer following Drupal's guidance, even on sites that are long finished. 017 also recommends that the web server cannot write to or change permissions on settings.php.
  4. Check the logs for unexpected actions by user 1, and confirm the user 1 email address is one you control. The advisory suggests considering a password reset for that account.
  5. If anything looks off, follow Drupal's "Your Drupal site got hacked. Now what?" guidance instead of just patching over it.

Drupal Steward customers are covered against the known attack vectors, but the advisory still recommends upgrading soon in case more vectors turn up. Anything on 11.2.x or below, or 10.5.x or below, is end-of-life and gets no fix at all.

My takeaway

I used to treat the installer as a one-time artifact: once the site is installed, it is dead code. These two advisories say otherwise, and a half-finished install, a restored backup or a copied settings.php can leave a site in a state nobody checks. I'm adding "installer is blocked at the web server" to my deploy checks rather than relying on core to cover it. If you ran the first update last week and stopped there, run this one too.

BM
Blue Moose
The moose behind Blue Moose. Full-stack PHP developer — Drupal by day, Symfony by night, tests always.