CVE-2026-136716: Drupal core installer left reachable allows site takeover

ByLinuxtastic

November 29, 2026 #CVE, #Drupal

Drupal core ships an installer, core/install.php, and it is meant to be unreachable once a site is built. On a site that is still in what the Drupal security team calls an unusual or incomplete install state, that file can be reached and used to take the site over, and the site’s own interface gives no sign that it is in that state. This is the second installer advisory in a week: SA-CORE-2026-017 (CVE-2026-132165) closed several installer paths on 18 November, and this one closes the paths it left open. It is being exploited. If you run Drupal 10 or 11, upgrade to 10.6.23, 11.3.23 or 11.4.14 today, run the database updates, and then look at who has touched user 1. This page shows you how to check whether the installer is reachable, how to upgrade, and what to look at afterwards.

CVE-2026-136716 at a glance.

ComponentDrupal core, the installer at core/install.php; any web server and any Linux distribution, since Drupal is installed with Composer rather than from distribution packages
Affected versionsevery release before 10.6.23; 11.0.0 up to but not including 11.3.23; 11.4.0 up to but not including 11.4.14. Drupal 10.5 and earlier, 11.2 and earlier, and all of 8 and 9 are end-of-life and get no fix
Fixed inDrupal 10.6.23, 11.3.23 and 11.4.14, released with SA-CORE-2026-019 on 25 November 2026. The fix includes an update hook, so update.php has to run after the code is replaced
SeverityCVSS 3.1 9.8 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, scored by CISA; NVD has not yet added its own score). Drupal’s own rating is Highly critical, 21/25. CWE-754
Exploited in the wildYes. The advisory says so, and that sites which left the installer reachable after SA-CORE-2026-017 may already be compromised. Added to CISA’s Known Exploited Vulnerabilities catalogue on 27 November 2026; federal remediation due 30 November 2026. EPSS 0.055 (93.5th percentile) on 28 November 2026
Who is exposedany Drupal 10.6, 11.3 or 11.4 site at an older patch level whose installer is still reachable over the web. Sites that secured install.php as Drupal’s documentation describes are not vulnerable; neither are sites that upgraded on 25 November. Not affected: WordPress, Joomla or anything else running on the same LEMP stack
PublishedCVE record 26 November 2026; this page built 29 November 2026, last updated 29 November 2026

What it is

Every Drupal site starts life by visiting install.php, which asks a few questions, writes sites/default/settings.php and creates user 1, the account that can do anything. Once installation finishes the file is still there; what is supposed to stop it being used again is a check that the site is already installed. SA-CORE-2026-017 found that under specific conditions that check could be got past and the installer rerun, which hands an attacker a fresh user 1 and, from there, the ability to upload a module or write to settings.php, so remote code execution.

This advisory, SA-CORE-2026-019, is the follow-up. The fixes released on 18 November closed the paths the team knew about, but a site can sit in an install state the first fix did not account for, incomplete in a way that is invisible from the admin pages, and on such a site the installer still answers. The CWE assigned, CWE-754, is the generic one for a missing check on an exceptional condition, and that is a fair description: the code assumed a site was either installed or not, and a third state existed. The security team describes the result as an access bypass leading to site takeover, and its 21/25 risk score, one point above the earlier advisory, reflects that the attack complexity is now rated basic rather than complex.

Drupal does not publish a diff with a core security release, so we cannot name the files the fix touches. What the advisory does say is that an update hook is part of the fix, meaning the patch changes stored state as well as code. That is why replacing the code with Composer is not the whole upgrade this time: a site that pulls 11.4.14 and never runs update.php has not finished applying the fix.

Who is affected on Linux

Drupal is not shipped by any current distribution, so the distribution trackers have nothing to fix and say so; the rows below are what each said on 29 November 2026, and the link in a row is the tracker page. The versions that matter are the ones Composer installed, which is why the check below asks Composer rather than the package manager.

DistributionStatusFixed package
AlpineNot consultedDrupal is not packaged; see the other row
Debian bookworm, trixieNo packagetracker marks the CVE NOT-FOR-US (Drupal core and add-ons are not in Debian)
UbuntuNo entrythe tracker returned not found on 29 November 2026; Drupal is not in the Ubuntu archive
RHEL, Rocky, Alma, CentOS StreamNo entrythe tracker returned not found on 29 November 2026; Drupal is not a Red Hat product
Fedora, openSUSE/SLE, ArchNot consultednone of them carries Drupal core as a package
Every Linux host running Drupal from Composer, the official drupal container image, or a hosting platform’s own buildCheckaffected if drupal/core is below 10.6.23, 11.3.23 or 11.4.14 and core/install.php answers over the web

How to check

Three questions, in order: which core version is installed, is the installer reachable from outside, and has the site been touched. Run the first two from the site’s web root as the user that owns it; the third needs the web server’s access log.

# 1. core version: anything below 10.6.23 / 11.3.23 / 11.4.14 is affected
cd /var/www/example.org            # the directory that holds composer.json
composer show drupal/core 2>/dev/null | grep -E '^(name|versions)'
vendor/bin/drush status --field=drupal-version 2>/dev/null

# 2. is the installer reachable? 200 or 302 means yes; 403 or 404 means your web server already blocks it
curl -s -o /dev/null -w '%{http_code}\n' https://example.org/core/install.php

# 3. can the web server write settings.php? it should not be able to
ls -l sites/default/settings.php
stat -c '%U %a' sites/default/settings.php sites/default

If step 1 prints a fixed version and step 2 prints 403 or 404, you are done. If step 1 prints an older version, the site is affected whatever step 2 says, because a reachable installer is only one of the ways in, and you should upgrade now rather than reason about install states you cannot see from the admin pages. If step 3 shows settings.php owned or writable by the web server’s user, that was a problem before this CVE and it widens this one.

Because the advisory says sites may already have been compromised, also look back. The signature is a request to the installer that succeeded, followed by a change to user 1: a new email address, a password reset, or a new administrator account created at an odd hour.

# requests to the installer, with their status codes (adjust the log path for Apache or a vhost)
grep -h 'core/install.php' /var/log/nginx/access.log* | awk '{print $1, $4, $9}' | sort | uniq -c | sort -rn | head

# what Drupal itself logged about accounts and the installer
vendor/bin/drush watchdog:show --type=user --count=50
vendor/bin/drush watchdog:show --severity=Warning --count=50

# who is user 1 right now, and who else is an administrator
vendor/bin/drush sql:query "SELECT uid, name, mail, FROM_UNIXTIME(changed) FROM users_field_data WHERE uid = 1"
vendor/bin/drush user:information --roles=administrator 2>/dev/null || vendor/bin/drush sql:query "SELECT u.uid, u.name, u.mail FROM users_field_data u JOIN user__roles r ON r.entity_id = u.uid WHERE r.roles_target_id = 'administrator'"

A 200 for install.php from an address you do not recognise, followed by a changed email on user 1, is not a false positive. Treat the site as taken over: the advisory’s own advice is to set user 1’s email to one you control and reset its password, and if anything was changed you did not change, the honest answer is to rebuild from a backup taken before the first installer request. Restoring a Linux Server covers what a restore keeps and what it throws away.

How to fix it

Update core with Composer, run the database updates, and clear caches. The database step is not optional for this release, because part of the fix is an update hook. Replacing the files does not restart anything, but PHP’s opcode cache can keep old code in memory until the FPM pool is reloaded, so reload it.

cd /var/www/example.org
composer update 'drupal/core-*' --with-all-dependencies
vendor/bin/drush updatedb -y
vendor/bin/drush cache:rebuild
composer show drupal/core | grep versions        # must now say 10.6.23, 11.3.23 or 11.4.14

# reload PHP so the opcode cache drops the old files
sudo systemctl reload php8.3-fpm        # Debian/Ubuntu; the unit name carries the PHP version
sudo systemctl reload php-fpm           # RHEL family, Fedora, Arch

If you cannot upgrade in the next hour, make the installer unreachable at the web server. This is what Drupal’s documentation recommends for every production site regardless of this CVE, and it costs nothing: a finished site never needs install.php again.

# nginx: inside the server block, before the location that hands .php to FPM
location = /core/install.php { return 404; }
sudo nginx -t && sudo systemctl reload nginx

# Apache: in the vhost or .htaccess
<Files "install.php">
    Require all denied
</Files>
sudo apachectl configtest && sudo systemctl reload apache2

# confirm from outside
curl -s -o /dev/null -w '%{http_code}\n' https://example.org/core/install.php      # must be 403 or 404

Blocking the file is a mitigation, not the fix. The earlier advisory noted that some but not all of its exploit paths went away when the web server could not write settings.php, and this advisory is explicit that the state which makes a site vulnerable is not visible from the UI, so a site you have only blocked still needs the upgrade and the update hook. Deleting install.php by hand is a worse idea than blocking it: the next composer update puts it back, and you will have taught yourself that the hole is closed when it is not.

Sources

Related reading

This advisory page was assembled from the primary sources listed above on 29 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.