20 of 25

Drupal risk score, now Highly critical

19 Nov

first exploitation Drupal reports, a day after the fix

27 Nov

CISA deadline for federal agencies

3

supported branches with a fixed release

An installed site does not need its installer

A Drupal site needs its installer exactly once. After that, install.php is a setup page sitting on a production web server, reachable by anyone, waiting for the day someone finds a way to make it run again. CVE-2026-132165 is that day, and attackers found it within about a day of the fix.

The patch matters and you should apply it today. But the durable lesson is that a page built to configure a site from nothing has no business answering requests on a site that already exists. Close it at the web server, keep it closed through every deploy, and the next installer bug becomes a non event for you.

Drupal's own documentation says this in plain words: you need the installer once, and after installation you should block access to it. Its reasoning is the part worth repeating to anyone who signs off on web hardening. The project has fixed security issues in the installer over the years, and if the site is installed you do not need the file at all, so blocking it removes the risk of any future flaw in it.

So the question this week is not only whether you are on a fixed release. It is whether /core/install.php answers on any of your sites, and if it did last week, whether a site was reinstalled under you.

What Drupal and CISA say about CVE-2026-132165

The Drupal Security Team published SA-CORE-2026-017 on 18 Nov 2026. The description is short. Drupal core ships with an install.php file for installing Drupal core. Under specific conditions, an attacker can use the installer to attempt to reinstall Drupal, and that can lead to a site takeover or remote code execution. Some, but not all, exploit paths are mitigated if the web server cannot write to or change permissions on settings.php. The advisory credits the discovery to Anthropic's OSS Scanner.

The advisory has since been updated with the line that changes the priority: the Security Team has received a report that the flaw was exploited on live sites as early as 19 Nov 2026 at 19:00 UTC. That is roughly a day after the fix shipped. The Security Team had seen it coming. In its advance notice ahead of the release, quoted by BleepingComputer, it told site owners to reserve time for the update because exploits might be developed within hours or days, and that at least one of the issues could be exploited by anonymous users.

CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities catalog on 24 Nov 2026, in a batch of three, based on evidence of active exploitation. BleepingComputer reports that federal agencies were given until Friday, 27 Nov 2026, to secure their systems. Three days is a short window, and it tells you how CISA reads the risk.

The fixed releases cover the 3 supported branches: Drupal 11.4.13, 11.3.22 and 10.6.22. The affected range is everything below 10.6.22, Drupal 11 from 11.0.0 up to 11.3.22, and 11.4 below 11.4.13. Drupal 11.2.x and below and Drupal 10.5.x and below are end of life and get no security coverage, and Drupal 8 and 9 have both reached end of life. If a site is on one of those, there is no point release to apply. The fix is a branch upgrade, and until that happens the installer block in section 5 is the only control you have.

The same release fixed a gadget chain, SA-CORE-2026-018, CVE-2026-132166, rated Moderately critical. Drupal says it is not directly exploitable on its own. It is not this week's emergency.

Sites behind Drupal Steward, the project's paid protection service, are covered against the known attack vectors, but the Security Team still tells them to upgrade in case new vectors turn up.

CVE-2026-132165, SA-CORE-2026-017 Critical
  • Product //

    Drupal core, the installer at /core/install.php
  • Affected //

    10.x below 10.6.22; 11.x below 11.3.22; 11.4.x below 11.4.13
  • Fixed in //

    10.6.22, 11.3.22, 11.4.13
  • Drupal risk //

    Highly critical, 20 of 25
  • Login needed //

    No, per the advisory's A:None
  • Exploited //

    Yes, on live sites from 19 Nov 2026, per Drupal; in CISA KEV since 24 Nov 2026

How the Drupal installer flaw becomes a site takeover

Drupal has not published the specific conditions, and we will not guess at them. The advisory says enough to see the shape of the attack.

Figure 01

From a setup page to the whole site

  1. 01

    Reach //

    An anonymous visitor finds install.php still answering on a live site.

  2. 02

    Reinstall //

    Under the right conditions, the installer runs again against a site that already exists.

  3. 03

    Take over //

    The attacker ends up controlling the site, its settings or its admin.

  4. 04

    Execute //

    Control of a Drupal site becomes code running as the web server.

Result //

One forgotten page decides who owns the site.

Step 01 is the only one a site owner fully controls. Block the installer and the chain never starts.

Every later step depends on the installer answering an anonymous request. If that request never reaches PHP, the conditions behind step 02 do not matter.

The settings.php detail in the advisory tells you something about step 02. Drupal says some exploit paths are mitigated if the web server cannot write to or change permissions on settings.php, which is the file that holds the database connection and other site wide settings. An installer that can rewrite that file can redirect a site's whole configuration. A web server that can only read it takes away some of the attacker's options. Drupal is careful to say some, not all, and we would not treat a read only settings.php as a fix.

The impact rating explains why this lands as Highly critical despite the conditions. In Drupal's risk calculator, both confidentiality and integrity are scored All: all non public data is accessible, and all data can be modified or deleted. For a site that holds a university's admissions pages, a city's service portal or a newsroom's publishing workflow, that is the content, the accounts and the trust readers place in the domain.

Remote code execution is the other half. Code running as the web server user can reach whatever that user can: database credentials, internal services, the files the next visitor loads. A takeover is the start of an intrusion, not the end of one.

Is your Drupal site vulnerable? What uncommon means

The advisory's risk string is AC:Complex/A:None/CI:All/II:All/E:Exploit/TD:Uncommon. Drupal's risk calculator turns that into a score from 0 to 25, built from six metrics, and anything from 20 to 25 is labelled Highly critical. It is worth reading the metrics one at a time, because two of them are why some teams will underrate this.

The six metrics behind 20 of 25

  • AC:Complex //

    a multi step, highly specific process with many dependencies
  • A:None //

    anonymous users can do it, no account needed
  • CI:All //

    all non public data is accessible
  • II:All //

    all data can be modified or deleted
  • E:Exploit //

    exploit code is documented or deployed in the wild
  • TD:Uncommon //

    only uncommon configurations are exploitable

Complex and Uncommon pull the score down. Anonymous, All and All push it up. The label has also moved: Drupal's own installer guide still links the advisory under its first title, Critical, while the advisory now reads Highly critical and carries E:Exploit, the highest value on the exploit axis, in line with the update about live exploitation.

Read Uncommon from the attacker's side. A target distribution rating describes what share of sites are exploitable. It says nothing about how hard those sites are to find. Drupal is used heavily by government bodies, research universities and large media and enterprise organizations, as BleepingComputer notes, and finding Drupal sites on the internet is trivial. An attacker sweeping every Drupal site for an open installer does not care that most sites fail the conditions. They only need the ones that pass, and the sweep costs them almost nothing.

Before exploitation, Uncommon is a fair reason to wait for the next maintenance window. After it, the attackers are doing the filtering, and the sites that fit are found first.

So the practical scoping questions are these, in order:

Which Drupal sites do we run? Not just the main website. Departmental sites, microsites built for a campaign, staging copies, and the multisite installation an agency stood up years ago all count. The record says this is not academic: BleepingComputer reports CISA has flagged five Drupal vulnerabilities as exploited since November 2021, two of them used by ransomware groups, and in May the project confirmed active exploitation of a SQL injection, CVE-2026-9082.

What version is each one on, and is that branch still supported? A site on 11.2 or 10.5 cannot take a point release. It needs a branch upgrade, which is a project, not a patch. Those are the sites where the installer block is doing all the work.

Does install.php answer on each one? This is the question that decides exposure today. A site can be fully patched and still answer on its installer, which is fine for now and a liability for the next installer bug. A site can be unpatched and block the installer, which buys real time.

Can the web server write to settings.php? If it can, more of the exploit paths stay open.

How to block install.php and keep it blocked

Drupal updated its guide on securing the installer on 21 Nov 2026, and it is the best single page to hand to whoever runs your web servers. It gives three options and is honest about the trade offs of each.

The first and recommended option is to block the path in the web server configuration itself. In Apache, that is a Location rule in the virtual host that denies every request to /core/install.php, added to every virtual host that serves the site, including the HTTPS one. In Nginx, it is a prefix match on the same path that returns a 404 inside the HTTPS server block. The guide's reason for preferring this option is the one that matters to operations teams: it keeps working when you update Drupal core.

The Nginx detail matters. Drupal warns against an exact match on the path. Some Nginx configurations send any URL containing .php/ to PHP, so an exact match does not stop a request for the installer with extra text after the file name, and the installer still runs. The prefix form covers those requests. If your Nginx rule was written from memory, check which form it uses.

The second option is a rule in .htaccess, for teams on shared hosting who cannot edit the server configuration. The trap is Composer: .htaccess is a scaffold file, and Composer replaces it every time the scaffold step runs, including a plain composer install. A line added by hand disappears on the next deploy unless the scaffold is told to append it, which the guide shows how to do.

The third option is to delete core/install.php. Composer puts the file back every time it installs or updates core, so the deletion has to be scripted after every run, and a deployment that runs Composer with scripts disabled will quietly restore it. Drupal says the first two options are easier to maintain, and we agree.

Two cautions from the guide. Blocking install.php does not affect database updates, because update.php is a separate script, so keep the rule narrow enough not to catch it. And new sites in a multisite setup still need the installer, or the drush site:install command, which does not use install.php.

The test is the step most teams skip. Drupal's guide gives three requests to try against each site: the installer at its normal path, the old path at the web root, and the installer path with extra text after the file name. All three should end in a 403 or a 404. A 200 on any of them means the block is not working. Then confirm database updates still run.

The block stops the next attempt. It says nothing about the attempts between 19 Nov and the moment your rule went in.

How to tell if your Drupal site was reinstalled

Patching and blocking do not tell you whether someone got in first. The evidence lives in three places: the web server logs, the settings file and the site's own data.

Start with the web server logs from 18 Nov onward, because the advisory dates the first known exploitation to 19 Nov at 19:00 UTC. On a site that was installed long ago, there should be no legitimate traffic to the installer at all. Any request to a path containing install.php is worth a look, and any request that got a 200 back deserves a full timeline. Include requests with extra text after the file name, for the reason the Nginx guidance gives.

Then look at settings.php. On a stable site, it changes when your team deploys, and at no other time. Compare its modification time and contents with the copy in your deployment source. A settings.php that the web server process wrote to after 18 Nov, or one whose database settings no longer match what you deployed, is a strong sign the installer ran.

Finally, look at the site itself. A reinstall that succeeded leaves a site that does not match the one you built. Compare the administrator accounts with the list you expect, look for accounts created since 18 Nov, and compare the site's configuration with what is in version control. If anything does not match, treat the host as compromised: the advisory's own impact rating includes remote code execution, so the web server user and everything it can read are in scope for the response, including database credentials and any keys stored alongside the site.

Figure 02

Installer requests and settings.php writes

Sigma

title: Request to the Drupal installer on a production site
status: experimental
description: Flags any HTTP request whose path contains install.php, the Drupal installer that CVE-2026-132165 abuses. An installed site has no legitimate installer traffic.
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|contains: 'install.php'
  condition: selection
falsepositives:
  - Planned installs of a new site, including new sites in a multisite setup
level: high
---
title: Drupal settings.php written by the web server process
status: experimental
description: Flags a write to a Drupal settings.php by a web server or PHP process. Settings should change only when the deployment tool runs.
logsource:
  category: file_event
  product: linux
detection:
  selection_file:
    TargetFilename|endswith: '/settings.php'
  selection_proc:
    Image|endswith:
      - '/apache2'
      - '/httpd'
      - '/nginx'
      - '/php-fpm'
  condition: selection_file and selection_proc
falsepositives:
  - Deployment tooling that runs as the web server user
level: high
A starting point to tune against your own telemetry, not a production rule. On PHP-FPM hosts the process image is often versioned, such as php-fpm8.3, so widen the match to fit what your hosts run.

The first rule is noisy on purpose. Expect hits from internet scanners as well as from real attempts. What matters is the response code and what came after it. A 403 or 404 is your block working. A 200 followed by unusual requests from the same address is the timeline to pull.

How we test setup pages on an engagement

This class of exposure is not unique to Drupal. Installers, setup wizards, first run pages and upgrade scripts all exist to configure an application from a trusted starting point, so they tend to do powerful things with few checks. They are meant to be used once and then forgotten, and forgotten is exactly the problem: nobody owns a page they think is gone.

On web application tests we treat every setup path as its own finding candidate. We ask for the installer, the upgrade script and any first run route the stack is known to ship, record what comes back, and stop there: a test that reinstalls a client's site would be the damage we are hired to prevent. Our exposed admin and debug endpoint checks walk through the same discipline: ask each candidate path once, tell a real page from the app's catch all, and read without using it.

On external engagements, the harder work is the inventory. The main site gets the attention. The campaign microsite from three years ago, the staging copy with a public DNS name and the department site run by a contractor are the ones that fall off the patch list, and they are where we look first for old branches and open installers. Our open source recon tool, atarus-recon, maps what an organization exposes on the internet, and a Drupal site nobody can name an owner for is a finding before we look at its version.

When a site may already have been touched, the web app persistence audit covers what we look for: an extra administrator, a changed setting, a file the deployment did not put there.

Our read of the WordPress core upgrade race made the case that the moment a CMS changes state is where attackers wait. Drupal adds a simpler version: the page that sets a site up should not still be listening once the site is live.

What to do today

  1. Update every Drupal site to 10.6.22, 11.3.22 or 11.4.13. CVE-2026-132165 is in CISA's exploited catalog, and Drupal reports attacks on live sites since 19 Nov.

  2. Block /core/install.php in the web server configuration, then test it. All three of Drupal's test requests should return 403 or 404. Use a prefix match in Nginx, not an exact one.

  3. Find the sites on end of life branches. Drupal 11.2 and below, 10.5 and below, and 8 and 9 get no fix. Block the installer on them today and plan the branch upgrade.

  4. Check for a reinstall since 18 Nov. Review installer requests in the web logs, compare settings.php with your deployed copy, and compare administrator accounts and configuration with what you expect. The Detection block above is a starting point.

  5. Take write access to settings.php away from the web server. Drupal says this mitigates some, not all, exploit paths. Treat it as hardening, not a fix.

  6. Make the block survive deploys. If the rule lives in .htaccess, add it through the Composer scaffold append, or Composer will remove it on the next install.