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

Drupal's installer is the new critical RCE

Code on a dark monitor screen

Drupal shipped a pair of core security releases on November 18, and the headline item is one I want every site owner to read twice: SA-CORE-2026-017, rated Critical (18/25), remote code execution through install.php. It is not the shiny kind of bug. It is the kind where a file you forgot you had becomes the way in.

What the advisory actually says

CVE-2026-132165 covers Drupal 10 before 10.6.22 and Drupal 11.0.0 through 11.3.21 and 11.4.0 through 11.4.12. The mechanism, in the advisory's own wording, is that "under specific conditions, an attacker can use the installer to attempt to reinstall Drupal." A successful reinstall means site takeover or code execution. The advisory notes some exploit paths are blocked when the web server cannot write to or change permissions on settings.php, but it deliberately does not spell out the exact conditions. I won't guess at them either.

The fixes are 10.6.22, 11.3.22 and 11.4.13. Anything on 11.2.x or 10.5.x and below is end-of-life and gets nothing. The risk vector says AC:Complex, so this is not a drive-by one-liner, but the Security Team also lists the exploit maturity as Proof, which tells me someone has demonstrated it.

One detail I found interesting: the discovery credit goes to Anthropic's OSS Scanner, reported by several people including core contributors. Machines finding bugs in decade-old installer code is clearly now a normal part of the landscape.

The companion advisory: a gadget chain

SA-CORE-2026-018 (CVE-2026-132166) is Moderately critical, 14/25. Core contains a chain of methods that could be abused during insecure deserialization. The advisory is explicit that it "is not directly exploitable": an attacker needs a separate flaw that lets untrusted input reach unserialize(). It is defence in depth, and the reason it matters is that contrib modules do occasionally provide that separate flaw. The same fixed versions apply.

What I'm doing about it

  • Updating to the fixed release first, since that is the only complete answer.
  • Checking that install.php is not reachable on any production vhost. The advisory itself tells you to secure the installer after installation, and the Drupal.org guide on that is worth following even once you are patched.
  • Confirming settings.php is not writable by the web user. A read-only file is not the fix, but the advisory says it closes some paths.
  • Noting that Drupal Steward customers are covered against the known vectors, though they should still upgrade.

The practical lesson is about leftovers. We spend a lot of attention on modules and very little on the files that ship in the web root purely so the first install works. If your deploy blocks install.php at the proxy, you were already ahead of this advisory. If it does not, today is a good day to add that rule, whatever version you run.

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