CVE-2026-132165 Drupal Installer Flaw: A Risk Triage Guide for Prioritizing Exposed Sites and Checking for Takeover
CVE-2026-132165 lets attackers abuse Drupal's install.php. Rank exposed sites, check for takeover before patching, and restrict the installer until fixed.
If your organization runs Drupal, CVE-2026-132165 puts the installer of every site in scope, and CISA lists it as exploited in the wild. This guide helps you find each Drupal site, rank them by exposure and business impact, check for signs of takeover before you patch, and restrict install.php as a temporary control while vendor fixes are applied.
What CISA's KEV Entry Says About CVE-2026-132165
CISA's Known Exploited Vulnerabilities entry describes the issue this way: "Drupal Core contains a not failing securely vulnerability that could allow an unauthenticated attacker to take over an existing site or execute arbitrary code via the Drupal installer." The entry adds that "Under specific conditions, the attacker can use install.php to attempt to reinstall Drupal on the site." CISA does not define those conditions in the entry, so treat every site where the installer can be reached as a candidate until you have confirmed otherwise.
Key fields from the same entry:
| Field | Value in KEV |
|---|---|
| Related CWE | CWE-636 |
| Known to be used in ransomware campaigns | Unknown |
| Forensic triage required per BOD 26-04 | Yes |
| Date added | 2026-11-24 |
| Due date | 2026-11-27 |
The due date has already passed. Any Drupal site not yet patched or mitigated is overdue against the KEV timeline.
The required action is to apply mitigations according to vendor instructions, to follow BOD 26-04 guidance, and to "discontinue use of the product if mitigations are unavailable." The vendor instructions are in the Drupal security advisory listed in the KEV notes (SA-CORE-2026-017). Before you patch, compare your installed Drupal core version with the affected and fixed versions stated in that advisory. Do not rely on version numbers from secondary sources.
The weakness class explains why this flaw is so serious. MITRE defines CWE-636 as a design where, "When the product encounters an error condition or failure," it falls back "to a state that is less secure than other options that are available." MITRE also notes that the weakness usually comes from wanting to "fail functional" to minimize administration and support costs, instead of "failing safe." For an installer, failing functional means a component meant to run once, on an empty site, can end up reachable on a live production site. Your compensating controls should apply the opposite principle: when in doubt, deny.
Inventory Every Drupal Site and Rank Patch Order
The KEV entry states that "Stakeholders are responsible for evaluating each asset's internet exposure." CISA also says organizations should use the KEV catalog "as an input to their vulnerability management prioritization framework." In practice, that means building a list before you start patching. Missed sites are usually the ones that hurt: a marketing microsite on a forgotten host, a staging copy with a public DNS record, or an agency-built site still running on the agency's infrastructure.
Use these sources to build the inventory:
- DNS zones and certificate records for every domain you own
- Hosting and cloud accounts, including platform-as-a-service Drupal hosts
- Contracts with agencies and freelancers who build or maintain sites for you
- Web server configuration files that reference Drupal document roots
NIST SP 800-30 Rev. 1 frames risk assessment as giving senior leaders "the information needed to determine appropriate courses of action in response to identified risks." A short, consistent scoring model gives leaders that information quickly. The logic below is a design recommendation, not a CISA or Drupal requirement:
for each drupal_site:
if site.status == retired or site.owner == none:
queue = DECOMMISSION
elif site.installer_reachable in (yes, unknown):
queue = TIER_1 # patch or restrict now; KEV due date has passed
else:
queue = TIER_2 # internal-only; patch in next window
within each queue, order by:
data_sensitivity (personal, payment, credentials first)
business_criticality (revenue, login, public trust)
The main tradeoff is how you treat "unknown." Scoring an unconfirmed site as exposed puts more sites in Tier 1 and means more work this week. Scoring it as internal saves effort, but it is the exact assumption an attacker benefits from if it turns out to be wrong. Count unknown as exposed until someone checks from outside your network.
Abandoned sites deserve particular attention. If nobody owns a site, nobody will apply the vendor fix, and the KEV instruction to discontinue use when mitigations are unavailable leads to the same outcome: take it offline.
For a broader method, see Risk Assessment & Management Guide: Identify, Analyze & Reduce Risk. Smaller teams can also refer to Risk Assessment & Risk Management for Small Businesses: A Step-by-Step Framework + Practical Checklist.

Forensic Triage Before You Patch
The KEV entry marks forensic triage as required under BOD 26-04 and links CISA's Forensics Triage Requirements in its notes. Organizations subject to BOD 26-04 should read that document directly and follow it. Other organizations should still apply the principle behind it: a patched site is not necessarily a clean site. If an attacker reinstalled Drupal or took over the site before the fix, patching closes the door but does not remove them.
The checks below are recommended practice, not vendor-published indicators of compromise for this CVE:
- Preserve evidence first. Copy web server access logs, PHP error logs and a database snapshot to storage the web host cannot write to. Then patch. Upgrades and restarts can rotate or overwrite logs.
- Look for installer requests. Search the access logs for requests to install.php, and note the source addresses, timestamps and response codes.
- Compare against a known-good backup. Look for new or changed administrator accounts, changed site settings, an unexpected site name or default content, and recently modified files in the code base.
- Check database state. A reinstall can replace tables. Compare table counts and creation times against your last trusted backup.
A simple search across rotated logs might look like this. Adjust the path to match your server:
zgrep -h "install.php" /var/log/nginx/access.log* \
| awk '{print $1, $4, $7, $9}' | sort | uniq -c | sort -rn
This lists the client address, time, requested path and status code for each matching request. A 200 response from an unfamiliar address is the result to escalate first. Blocked 403 or 404 responses still show that someone was probing.
The escalation rule is simple. Any sign of reinstall or unexpected admin activity moves the site from patch management to incident response. Do not restore over it until the evidence is preserved. For related context, see Incident Response & Recovery and Critical Citrix NetScaler Vulnerabilities Exploited in the Wild: CVE-2026-88771 and CVE-2026-88772.
Compensating Control: Restrict install.php in nginx or Apache
Blocking the installer at the web server is a temporary compensating control. It does not replace the vendor fix. Use it to reduce exposure on Tier 1 sites while the patch is staged, and record it as residual risk.
The installer path depends on the Drupal version, so confirm every installer path in the vendor advisory before writing rules. The examples below match any request path ending in install.php.
nginx. The nginx access module checks rules "in sequence until the first match is found," and allow and deny are valid in the http, server, location and limit_except contexts. The following block denies every request for the installer:
location ~ install\.php$ {
deny all;
}
Keep this block deny-only. Adding an allow line above deny all; would only exempt that address from the deny rule. This location has no PHP handler, so an allowed request would not run the installer and, depending on the rest of your configuration, could be served the raw file. Inheritance also matters. nginx inherits these directives from the parent level "if and only if there are no allow and deny directives defined on the current level," so this block replaces any server-wide allow list instead of adding to it. The access module documentation does not cover how this location competes with an existing PHP handler location. Confirm the behavior with a live request rather than assuming it.
Apache httpd 2.4. In mod_authz_core, Require all denied denies access unconditionally, and Require ip limits access to listed address ranges:
<Files "install.php">
Require all denied
# Alternative for admin-only access:
# Require ip 203.0.113.10
</Files>
Apache's documentation warns that Location sections "overwrite authorization configuration in Directory, and Files sections" by default. If any Location block elsewhere in your configuration covers the same URL with Require all granted, it can quietly undo this rule. Search your configuration for overlapping Location sections before trusting the Files block.
Verify from outside. From a network that is not on your allow list, request each installer path:
curl -s -o /dev/null -w "%{http_code}\n" https://www.example.com/PATH/install.php
Expect 403. Any other status means the rule is not taking effect. Then add an entry to your risk register with the site, the control applied, the test result, a named owner and an expiry date set to when the vendor fix will be installed. When that date passes, either the patch is in or the entry is escalated.
For related controls, see Network & Endpoint Security.

FAQ
Does CVE-2026-132165 affect my Drupal version? The affected and fixed versions are in the Drupal advisory referenced in the KEV notes (SA-CORE-2026-017). Check your installed core version against that advisory.
Is blocking install.php enough? No. It reduces exposure while you patch. The KEV required action is to apply vendor mitigations, or to discontinue use if no mitigations are available.
Is this vulnerability used in ransomware? The KEV entry lists ransomware use as "Unknown." Plan for takeover and code execution, which the entry does describe.
What should we do with a Drupal site nobody owns? Move it to the decommission queue. A site without an owner will not receive the fix.
Why does "not failing securely" matter? CWE-636 describes systems that fall back to a less secure state when something goes wrong. Your controls should default to deny when a site's state is uncertain.
Three Moves to Finish Before the Next KEV Deadline
First, complete the Drupal inventory and assign every site to Tier 1, Tier 2 or decommission, counting unknown exposure as exposed. Second, preserve logs and database snapshots on every Tier 1 site, look for installer requests and admin changes, and escalate anything suspicious to incident response before restoring. Third, apply the vendor fix from SA-CORE-2026-017. Where that is delayed, restrict install.php in nginx or Apache, confirm a 403 from outside, and record the control in the risk register with an owner and an expiry date. Repeat this inventory-triage-restrict cycle for the next KEV entry that affects your web estate.
If you'd rather have security specialists handle this, see Cybersecurity Risk Assessment by xCyberSecurity.