What you need to do
- Update to 10.6.23, 11.3.23 or 11.4.14, or a later release of the same version line.
- Run Drupal's database updates. Installing the new files is not enough for some sites.
- Block public access to
core/install.php. - Check if someone has already taken over your site.
| First advisory | Second advisory | |
|---|---|---|
| Advisory | SA-CORE-2026-017 | SA-CORE-2026-019 |
| CVE | CVE-2026-132165 | CVE-2026-136716 |
| Published | 18 November 2026 | 25 November 2026 |
| Fixed in | 10.6.22, 11.3.22, 11.4.13 | 10.6.23, 11.3.23, 11.4.14 |
| Attacks | Reported from 19 November, 19:00 UTC | Being used in attacks, according to Drupal |
Drupal 11.2 and older, 10.5 and older, 9 and 8 no longer get normal security updates. Move to a supported version and block the installer now.
What went wrong
The Drupal installer should not be available once a site is set up. Drupal says attackers can abuse install.php to try to install the site again. If it works, they may be able to take over the site or run code.
For the first flaw, the advisory says an attack depends on certain conditions and that only unusual module setups can be attacked. The second advisory says sites in an unusual or unfinished install state can still be taken over, including live sites. You cannot see this state in the Drupal admin pages.
Anthropic's OSS Scanner found the first flaw, according to the Drupal advisory. It matters how fast attacks began: Drupal has a report of one at 19:00 UTC the day after the advisory was published.
Update the site
Back up the site first. If you suspect an attack, save the logs and a copy of the site as evidence. For a site that uses Composer and the standard drupal/core-* packages:
composer update "drupal/core-*" --with-all-dependencies drush updatedb drush cache:rebuild drush status
drush updatedb runs the same type of database updates as update.php. If you do not use Drush, open update.php as an authorised user. Check that the updates finished and that Drupal shows the new version. Your site may need different Composer commands, so test them first.
Block the installer
For Nginx, put this before the rule that sends PHP files to PHP. Nginx uses the first matching regex rule:
location ~ ^/core/install\.php(/|$) {
deny all;
}If Drupal is in a subfolder, change the path. For Apache, you can add this to the site's configuration:
<FilesMatch "^install\.php$">
Require all denied
</FilesMatch>This Apache rule blocks every file called install.php in the area where you add it. Test the settings and reload the web server. Then check your own site from outside your network:
curl -s -o /dev/null -w '%{http_code}\n' https://example.com/core/install.phpExpect 403 or 404. A redirect does not prove that the installer is blocked. If you use a CDN, also check that people cannot go around it and connect directly to your server.
Making settings.php read-only blocks some attacks, but not all of them. Drupal says sites with a properly secured installer are not vulnerable to the second flaw. You should still update.
Check for a past attack
If the installer could be reached from the internet, check your site even if it is now updated. The second advisory warns that a site that has been attacked may no longer look vulnerable.
- Review web logs for requests to
/core/install.php, starting no later than 18 November. - Check user 1. Look for changes to its email or password and for actions you do not recognise.
- Review all admin accounts, roles and recently enabled modules.
- Compare your code and settings with a trusted copy. Look for new PHP files in upload folders.
- Check for changes to the hash salt, database settings and scheduled tasks.
Make sure the user 1 email address belongs to you, and consider resetting its password. If you find signs of an attack, a password reset will not remove a backdoor. Follow Drupal's guide for hacked sites and restore from a copy made before the attack. Update it and block its installer before you put it back online.
What scanners can and cannot find
SCA can report an old Drupal version if composer.lock is in your repository and its data includes the advisory. It cannot see if you ran the database updates or blocked install.php on the live server. A DAST scan may find a page that should not be public, but do not test this flaw by running the installer on a live site. Use the status code check above and review the site's setup.
Test your running web app
AquilaX DAST checks running web apps for security problems. It is included in Ultimate.
See DAST →