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

Drupal's install.php RCE: update to 11.4.13 now

A wall of CCTV cameras on a brick wall

I had a maintenance window blocked out for yesterday evening because Drupal's security team had pre-announced a critical core release. It landed on November 18, and the headline item is SA-CORE-2026-017: a critical remote code execution (CVE-2026-132165, scored 18/25) that runs through install.php, a file most of us never think about after day one.

What the advisory says

The advisory is short on mechanics, and I'm not going to guess past it. What it states: under specific conditions an attacker can use the installer to try to reinstall Drupal, which can lead to site takeover or remote code execution. The risk vector is AC:Complex, so this is not a point-and-click exploit, but the exploit maturity is listed as E:Proof, meaning a proof of concept exists. The advisory credits Anthropic's OSS Scanner with the discovery, alongside several Drupal security team members.

Affected: Drupal 10 before 10.6.22, and Drupal 11 before 11.3.22 (plus 11.4.x before 11.4.13). Fixed releases are 10.6.22, 11.3.22 and 11.4.13. Anything on 11.2 or older, or 10.5 or older, is end-of-life and gets no patch at all.

The companion advisory

The same day brought SA-CORE-2026-018 (CVE-2026-132166), rated moderately critical at 14/25. It is a gadget chain in core: a sequence of methods that becomes useful only if some other bug lets an attacker feed unsafe input into unserialize(). On its own it is, in the advisory's words, not directly exploitable. It's hardening against the day a deserialization bug shows up in contrib or custom code, and it ships in the same three releases, so there's no extra work.

What I'd do, in order

  1. Update to the fixed release. The security team's pre-announcement warned that exploits might be developed within hours or days, so I treat this as same-day work, not next sprint.
  2. Check that your web server user can't write to settings.php. The advisory says some exploit paths are blocked when the web server cannot write to or change permissions on that file. On many hosts it is left writable after install; that is worth fixing regardless of this CVE.
  3. Secure the installer. The advisory recommends this whether or not you upgrade, and points to documented steps. My own habit on top of that is to deny /core/install.php at the reverse proxy for installed production sites. That is my belt-and-braces suggestion, not an official mitigation, and I'd test it on staging first so it doesn't break a legitimate fresh install.
  4. Know your branch. If you're stuck on an end-of-life version, the advisory says to apply interim mitigations and upgrade as soon as possible. There won't be a patch coming.

Sites running behind Drupal Steward are protected from the known attack vectors for the critical issue, but the team still says to upgrade soon, since other advisories released the same day aren't covered the same way.

My take

What I keep coming back to is how boring the entry point is. Nobody monitors install.php; it sits there returning "already installed" for years. A critical RCE hiding behind an installer flow is a good reminder that anything shipped in the web root is attack surface, used or not. I'm updating my own boxes today, then adding the installer deny rule to my standard proxy config so the next one of these has one less door to walk through.

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