← All playbooks
CriticalExploited vuln · 2026-11-25

Drupal core CVE-2026-132165: install.php site takeover flaws exploited (CISA KEV); follow-up fix for remaining install states in 10.6.23 / 11.3.23 / 11.4.14

SockAnalyst · Security+ certified analyst.

What happened

The Drupal Security Team published SA-CORE-2026-017 on November 18, 2026 for CVE-2026-132165 in Drupal core's installer. Drupal ships install.php (served at /core/install.php) and leaves it in place after setup; under specific conditions an unauthenticated attacker can use it to try to reinstall Drupal on an existing site, which can lead to site takeover or remote code execution. Drupal says some, but not all, exploit paths are blocked if the web server cannot write to or change permissions on settings.php. The flaw was found by Anthropic's OSS Scanner (ANT-2026-GMRPK0BU). Drupal later updated the advisory: it received a report of exploitation on live sites as early as November 19, 2026 at 19:00 UTC, and it now rates the issue Highly critical (20/25). CISA added CVE-2026-132165 to the Known Exploited Vulnerabilities catalog on November 24, 2026 with a November 27 federal due date and forensic triage required. Drupal has not said how many sites were hit, who is behind it, or published indicators. Beazley Security says a public proof-of-concept exists.

Update (2026-11-26): Update Nov 26: The Nov 18 fix did not close every path. On November 25 Drupal published SA-CORE-2026-019 for CVE-2026-136716 (access bypass, Highly critical 21/25), saying sites left in 'unusual or incomplete install states', including production sites, remained open to site takeover after SA-CORE-2026-017, that this is being exploited in the wild, and that the vulnerable state is not visible in the admin UI (already-compromised sites may no longer show it). Sites that had already secured the installer are not vulnerable. Fix: upgrade to 11.4.14, 11.3.23 or 10.6.23 and run update.php (an update hook repairs the vulnerable state), block /core/install.php at the web server (Drupal's guide now stresses a prefix match so /core/install.php/foo is blocked too), check logs for unexpected changes to or by user 1, make sure user 1's email is yours and consider resetting its password. Any site that left its installer reachable after November 18 may still have been compromised. CVE-2026-136716 is not in CISA KEV as of Nov 26; no IOCs published. The hunt queries below (installer hits, settings.php/PHP writes, admin changes) cover both CVEs.

Who's affected

Any Drupal 10 or 11 site running core older than 10.6.22, 11.3.22 or 11.4.13 that still serves /core/install.php, especially where the web server account owns or can write settings.php. Drupal 11.2.x and older, 10.5.x and older, and Drupal 8/9 are end-of-life and get no fix. Drupal is common on government, university, enterprise and media sites. Sites behind the paid Drupal Steward WAF are protected from known attack vectors but should still upgrade.

✅ Fix / patch

  • Upgrade now to Drupal 11.4.14, 11.3.23 or 10.6.23 (SA-CORE-2026-019) and then run update.php: an update hook must run to fix production sites left in the vulnerable install state. The Nov 18 releases (11.4.13 / 11.3.22 / 10.6.22) are no longer enough. End-of-life branches must move to a supported branch first.
  • Block the installer on every installed site, even after upgrading (Drupal's 'securing the installer' guidance): deny /core/install.php in the web server config (Apache <Location "/core/install.php"> Require all denied, or an nginx prefix location ^~ /core/install.php returning 404), or in the web-root .htaccess, or remove the file and keep it removed with Composer scripts. Do not block update.php.
  • Test from outside: curl -I https://<your-site>/core/install.php should return 403 or 404, not 200.
  • Check user 1: confirm its email address is one you control and consider resetting its password (Drupal's SA-CORE-2026-019 guidance); look for unexpected changes to or by user 1 since November 18.
  • Make settings.php read-only and not owned by the account PHP runs as (Drupal says this mitigates some exploit paths).
  • Check for compromise on any site that was unpatched after November 18: installer requests in access logs, changes to user 1 or new administrator accounts, changed email/password on admins, a modified settings.php (database settings, permissions), unfamiliar PHP files in the web root or files directories. Treat a match as a compromised site: rebuild from known-good code, rotate database and admin credentials.

🔎 Quick hunt check

No IOCs (IPs, domains, hashes) have been published by Drupal, CISA or researchers. Hunt the behavior: any request to /core/install.php (or /install.php, /core/install.php/<anything>) on a production site, especially POSTs or 200 responses from outside your admin networks since November 18; web server processes (php-fpm, httpd, apache2, nginx) writing settings.php or new .php files under sites/; and new or changed Drupal administrator accounts.

MITRE ATT&CK: T1190, T1098, T1136, T1505.003

IOCs

No IOCs (IPs, domains or hashes) published by the sources yet.

Hunt queries

Starting points built only from published indicators. Field names vary; tune before use.

```Drupal CVE-2026-132165: requests to the Drupal installer (install.php) on production sites + web server processes touching settings.php or dropping PHP files, since Nov 18, 2026```
index=* earliest=11/18/2026:00:00:00 ((sourcetype=access_combined OR sourcetype=nginx:plus:access OR sourcetype=ms:iis:* OR sourcetype=apache:access OR tag=web) (uri_path="*install.php*" OR uri="*install.php*" OR cs_uri_stem="*install.php*")) OR (tag=change tag=endpoint (file_name="settings.php" OR file_path="*/sites/*.php") (process_name IN ("php-fpm*","php*","httpd","apache2","nginx","w3wp.exe")))
| eval path=coalesce(uri_path, uri, cs_uri_stem, file_path), method=coalesce(http_method, method, cs_method, "-"), code=coalesce(status, sc_status, "-"), src=coalesce(src_ip, clientip, c_ip, src, "-")
| eval signal=if(like(lower(path), "%install.php%"), if(method="POST" OR code="200" OR code=200, "installer_POST_or_200", "installer_request"), "webserver_wrote_php_or_settings")
| stats count min(_time) as first_seen max(_time) as last_seen values(method) as methods values(code) as statuses values(path) as paths values(http_user_agent) as user_agents by signal, src, host
| convert ctime(first_seen) ctime(last_seen)
| sort signal - count
``` Any installer_POST_or_200 from outside your admin networks = investigate the site as compromised (check user 1/admins, settings.php). Exclude your own deployment/scan IPs. ```
// Drupal CVE-2026-132165: Drupal installer (install.php) hits + web server process writing settings.php / PHP files under sites/, since Nov 18, 2026
let Since = datetime(2026-11-18);
let WebProcs = dynamic(["php-fpm","php","php-cgi","httpd","apache2","nginx","w3wp.exe","php-cgi.exe"]);
union isfuzzy=true
 (W3CIISLog | where TimeGenerated >= Since and csUriStem has "install.php"
  | summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Detail = make_set(strcat(csMethod, " ", csUriStem, " -> ", tostring(scStatus)), 20) by Host = Computer, Src = cIP
  | extend Check = "install.php request (IIS)"),
 (CommonSecurityLog | where TimeGenerated >= Since and RequestURL has "install.php"
  | summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Detail = make_set(strcat(RequestMethod, " ", RequestURL), 20) by Host = DestinationHostName, Src = SourceIP
  | extend Check = "install.php request (WAF/proxy CEF)"),
 (DeviceFileEvents | where TimeGenerated >= Since and InitiatingProcessFileName in~ (WebProcs) and ActionType in ("FileCreated","FileModified")
  | where FileName =~ "settings.php" or (FileName endswith ".php" and FolderPath has "/sites/")
  | summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Detail = make_set(strcat(FolderPath, " <- ", InitiatingProcessFileName), 20) by Host = DeviceName, Src = InitiatingProcessAccountName
  | extend Check = "web server wrote settings.php / PHP under sites/")
| order by Check asc, Count desc

See all hunt queries →

⏱ CISA deadline

CVE-2026-132165CVSS: not yet scored by NVD
--
Federal due 2026-11-27 · CISA KEV catalog

Sources

Related playbooks

Get the SockAnalyst Weekly Brief free, every Thursday.

One email a week with the KEV deadlines, patches and hunt queries that matter. New playbooks still post here on the site every morning.

Subscribe free

Read the free weekly pack →