On 18 November 2026 Drupal published SA-CORE-2026-017, rated highly critical (20/25), for
CVE-2026-132165: under specific conditions an unauthenticated attacker can re-enter Drupal's
install.php on a live site and reinstall it, leading to site takeover or remote code execution.
Drupal reports exploitation on live sites from 19 November, 19:00 UTC. CISA added it to the
Known Exploited Vulnerabilities catalogue on 24 November.
The bug is in your customers' Drupal code, not in the panel, so no cPanel or Plesk update fixes it. What you can do as the host is find every Drupal install on the server, block the installer server-wide, and check the logs for anyone who got there first.
Affected and fixed versions
| Branch | Affected | Fixed |
|---|---|---|
| Drupal 11.4 | 11.4.0–11.4.12 | 11.4.13 |
| Drupal 11.3 | 11.0.0–11.3.21 | 11.3.22 |
| Drupal 10.6 | Below 10.6.22 | 10.6.22 |
| Drupal 11.2 and older, 10.5 and older, 8, 9 | Affected | No fix (end of life) |
Drupal 7 is not part of the advisory. Sites on 8, 9, 10.5, or 11.2 have to move to a supported branch; until then the installer block below is their only protection.
Find every Drupal site on the server
Drupal stores its version in core/lib/Drupal.php. Composer-based sites keep core under a web/
or docroot/ subfolder, hence the depth.
On cPanel:
find /home/*/public_html -maxdepth 5 -path '*/core/lib/Drupal.php' 2>/dev/null \
| xargs grep -H "const VERSION"
On Plesk:
find /var/www/vhosts/*/httpdocs -maxdepth 5 -path '*/core/lib/Drupal.php' 2>/dev/null \
| xargs grep -H "const VERSION"
Anything below the fixed versions needs updating by the site owner, or by you if you manage it. Sites installed through Softaculous can be updated from the installation list; see Softaculous auto-upgrades and backups.
Block install.php server-wide
Drupal's own mitigation is to block public access to /core/install.php. Doing it once at server
level covers every account, including sites whose owners won't read the advisory. Match on a
path prefix rather than an exact path, so requests like /core/install.php/foo are caught too.
cPanel (Apache, LiteSpeed)
Add this in WHM › Service Configuration › Apache Configuration › Include Editor › Pre Main
Include (all versions), which writes /etc/apache2/conf.d/includes/pre_main_global.conf:
<LocationMatch "/core/install\.php">
Require all denied
</LocationMatch>
The pattern has no ^ anchor on purpose, so Drupal sites in subdirectories are covered. Test and
restart:
/usr/sbin/apachectl configtest
/scripts/restartsrv_httpd
LiteSpeed Enterprise reads the same Apache configuration, but test it with the curl check below
rather than assuming. If you run ea-nginx as a reverse proxy, requests still reach Apache and hit
the block.
Plesk
For Apache-served sites, put the same <LocationMatch> block in a global file:
/etc/httpd/conf.d/drupal-installer-block.conf on AlmaLinux and RHEL, or
/etc/apache2/conf-available/drupal-installer-block.conf followed by
a2enconf drupal-installer-block on Debian and Ubuntu. Then reload Apache.
Domains served by nginx alone skip Apache. Add this under Apache & nginx Settings › Additional nginx directives for each Drupal domain:
location ^~ /core/install.php {
return 404;
}
Check it works
curl -s -o /dev/null -w '%{http_code}\n' https://example.com/core/install.php
curl -s -o /dev/null -w '%{http_code}\n' https://example.com/core/install.php/foo
You want 403 (Apache) or 404 (nginx) from both. Do not block update.php as well; site owners
need it to apply the fix.
Check for compromise
Drupal has not published indicators. Look for requests to install.php that returned 200,
especially POSTs, from 18 November onwards:
# cPanel
grep -E '"(GET|POST) [^"]*core/install\.php[^"]*" 200' /var/log/apache2/domlogs/*
# Plesk
grep -E '"(GET|POST) [^"]*core/install\.php[^"]*" 200' /var/www/vhosts/system/*/logs/access*log
For any site with hits, check for a changed settings.php (new database credentials), unknown
administrator accounts, and unfamiliar PHP files in the web root, sites/default/files, and the
module and theme folders. Treat a confirmed hit as a full compromise and follow the
Imunify360 malware cleanup workflow, then
the persistence hunt checklist. The
WordPress-specific parts aside, the same backdoor locations apply.
Imunify360
Imunify has published guidance on this CVE. Make sure your WAF rules are current with
imunify360-agent update --force modsec-rules, but as with any
Imunify360 virtual patch, treat it as an
extra layer. The server-wide block and the Drupal update are what close the hole. An active
Imunify360 license is what keeps those rule updates arriving.
What is CVE-2026-132165?+
Which Drupal versions fix CVE-2026-132165?+
How do I block Drupal install.php on cPanel?+
Does blocking install.php break Drupal?+
Is Drupal 7 affected by CVE-2026-132165?+
Next steps
- Run the same server-wide sweep for the PHP2Shell PHP vulnerabilities if any PHP builds are still unpatched.
- Review your ModSecurity rule sets on cPanel so application CVEs like this one get a WAF layer by default.
- Tighten CloudLinux CageFS and LVE limits so one compromised Drupal site can't reach its neighbours.