Panellicense

Drupal CVE-2026-132165: block install.php on cPanel and Plesk

Drupal's installer flaw CVE-2026-132165 is exploited and on CISA KEV. Find every Drupal site on your cPanel or Plesk server, block install.php, and check logs.

News & changelogs5 min readUpdated 2026-11-27
schema: TechArticleschema: FAQPageschema: BreadcrumbList

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

BranchAffectedFixed
Drupal 11.411.4.0–11.4.1211.4.13
Drupal 11.311.0.0–11.3.2111.3.22
Drupal 10.6Below 10.6.2210.6.22
Drupal 11.2 and older, 10.5 and older, 8, 9AffectedNo 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?+
A highly critical Drupal core flaw (SA-CORE-2026-017) that lets an unauthenticated attacker re-enter install.php on a live site under specific conditions and reinstall it, leading to takeover or remote code execution. It is exploited in the wild and listed in CISA KEV.
Which Drupal versions fix CVE-2026-132165?+
Drupal 11.4.13, 11.3.22, and 10.6.22. Drupal 11.2 and older, 10.5 and older, and Drupal 8 and 9 are end of life and get no fix.
How do I block Drupal install.php on cPanel?+
Add a LocationMatch block for /core/install.php with Require all denied in WHM's Pre Main Include, which writes /etc/apache2/conf.d/includes/pre_main_global.conf, then restart Apache. It covers every account on the server.
Does blocking install.php break Drupal?+
No. A running site never uses install.php. It only blocks new installs that go through the web installer, so lift the block temporarily if a customer needs a fresh install. Leave update.php reachable.
Is Drupal 7 affected by CVE-2026-132165?+
Drupal 7 is not listed in SA-CORE-2026-017. Drupal 8 and 9 are affected but end of life, so those sites need upgrading or the installer block.

Next steps

changelog
RtabRace (CVE-2026-68138): mitigating the kernel race on CloudLinux
A traffic-control race in the Linux kernel lets any shell user panic a shared server on demand. CloudLinux 8 and 7 Hybrid need the sysctl mitigation today — here's the command and the patch status.
5 min read
changelog
CVE-2026-67401: the cPanel EmailTrack flaw that turns mail access into root
A SQL injection in cPanel's EmailTrack feature lets any account with mail privileges write files as root. Fixed builds, affected versions, and how to check your fleet.
7 min read
changelog
EasyApache 4 25.69: cPanel patches six Tomcat CVEs in ea-tomcat101
EasyApache 4 25.69 ships Apache Tomcat 10.1.56 in ea-tomcat101, closing six CVEs — an auth-bypass on default servlet constraints among them. Here's what's fixed and how to update.
5 min read
changelog
CVE-2026-41940: the cPanel & WHM auth bypass, and how to check for it
A CRLF injection in cpsrvd session handling let unauthenticated attackers write user=root into their own session file. Patched versions, IOCs, and how to check if you were hit.
7 min read
changelog
NGINX Rift (CVE-2026-42945) — what hosting operators need to do
An 18-year-old heap overflow in NGINX's rewrite module — CVSS 9.2, unauthenticated, exploitable from the internet. Here's the patched versions, the config workaround, and how it affects Plesk and cPanel stacks.
3 min read
changelog
nginx2root: patch nginx on cPanel, Plesk, and CloudLinux
nginx 1.31.9 and 1.30.7 fix five nginx2root flaws, including an HTTP/2 heap overflow that allows remote code execution. Fixed versions for cPanel ea-nginx, Plesk, and CloudLinux.
5 min read
Switch in an afternoon

Switch from your current reseller — free.

We migrate active cPanel, Plesk, LiteSpeed and CloudLinux licenses from any reseller. We prorate the first month so you never pay twice, and your customers see zero downtime during the swap.