At a glance
| Item | Detail |
|---|---|
| CVE | CVE-2026-132165 (Drupal advisory SA-CORE-2026-017) |
| Component | Drupal core installer (install.php, served at /core/install.php) |
| Bug class | Installer reachable on an installed site: attacker can attempt to reinstall Drupal |
| Impact | Site takeover or remote code execution, no account needed |
| Severity | Drupal: Highly critical, 20/25 (attack complexity "complex", only uncommon configurations exploitable). Reported CVSS 9.8 |
| Fixed in | Drupal 10.6.22 · 11.3.22 · 11.4.13 |
| Not fixed | Drupal 11.2.x and below, 10.5.x and below, 8 and 9 (all end of life). Drupal 7: commercial LTS vendors only |
| Disclosed | 18 November 2026 |
What is wrong
Every Drupal codebase ships with an installer script, install.php, which is only meant to be used once, when a site is first set up. Drupal's advisory says that under specific conditions an attacker can point that installer at a site that is already running and try to install Drupal again. If that works, the attacker controls the fresh installation (and its admin account), and from there can run code on the server.
Drupal has not published the exact conditions, and we will not guess at them. What it has said:
- No login is needed.
- Exploitation is rated complex and only "uncommon" configurations are exploitable, so not every site is at risk. Do not use that as a reason to wait: attackers are already trying it at scale.
- Some, but not all, attack paths fail if the web server cannot write to
settings.phpor change its permissions.
The same release also fixes CVE-2026-132166 (SA-CORE-2026-018), a "moderately critical" gadget chain that is not exploitable on its own but can turn a separate deserialization bug into code execution. Updating core fixes both.
The flaw was found by Anthropic's open-source software scanner and reported to Drupal with the help of several community members.
Who is exposed
- Drupal core below 10.6.22, 11.0.0 to below 11.3.22, and 11.4.0 to below 11.4.13.
- Any site where
/core/install.phpcan be reached from the internet. Drupal's default.htaccessrules do not block the installer, so on most sites it is reachable unless someone has locked it down. - Sites on end-of-life branches (11.2.x and earlier, 10.5.x and earlier, 8, 9) will not get a fix. Treat them as vulnerable and move to a supported branch.
- Sites behind Drupal Steward are protected from the known attack paths, but Drupal still asks them to update.
Is it exploited?
Yes.
- 19 November 2026, 19:00 UTC: earliest exploitation on live sites, according to the update on Drupal's advisory. Drupal's risk string marks the issue as "Exploit exists".
- 24 November 2026: CISA added it to KEV, with a remediation due date of 27 November 2026 for US federal agencies.
- No threat actor has been named publicly, and Drupal has not published indicators of compromise.
Two other bugs were added to KEV the same day and may matter to the same web teams: CVE-2026-131914 in the unmaintained Idunno.AntiCsrf ASP.NET library (no patch: replace it) and CVE-2026-132224 in Optimizely Web Experimentation (fixed by Optimizely on 17 November).
How to check (read-only)
Run these on the web server or in your build pipeline. None of them change anything.
# 1. Which Drupal core version is deployed?
drush status --field=drupal-version
composer show drupal/core | grep -E '^versions' # composer-managed sites
# 2. Is the installer reachable from outside? 403 or 404 is good; 200 means exposed.
curl -s -o /dev/null -w '%{http_code}\n' https://www.example.com/core/install.php
# 3. Can the web server account write settings.php? (should be read-only, e.g. 444/440)
ls -l web/sites/default/settings.php web/sites/default/
stat -c '%a %U:%G %y' web/sites/default/settings.php # also shows last-modified time
# 4. Has anyone hit the installer? (adjust the log path for your server)
grep -E '"(GET|POST) /core/install\.php' /var/log/nginx/access.log* /var/log/apache2/access.log* 2>/dev/null | tail -50
# 5. Unexpected PHP files in the public files folder
find web/sites/default/files -type f -name '*.php' -printf '%TY-%Tm-%Td %TH:%TM %p\n' 2>/dev/null
Adjust web/ to your docroot (docroot/, html/ or the repo root on older layouts).
How to fix
- Update Drupal core to the release for your branch:
- 11.4.x → 11.4.13
- 11.3.x → 11.3.22
- 10.6.x → 10.6.22
- On composer-managed sites, update the
drupal/core-*packages with all dependencies, then run database updates (drush updatedb) and clear caches (drush cr). - Rebuild and redeploy container images or build artefacts so the old core is not shipped again from a cached layer.
- If you are on 11.2.x, 10.5.x or older, plan the move to a supported branch now. There is no fix for those lines.
- After 11.3.22, the installer shows an error instead of quietly changing permissions when
settings.phpis not writable. Expect that error if someone tries to reach it: it is the intended behaviour.
If you can't patch yet
- Block the installer at the web server. On nginx, add a
location = /core/install.phpblock that returns 403. On Apache, deny the file withRequire all denied. Adjust the path for sites installed in a subdirectory, then confirm the URL returns 403. Drupal's guide "Securing the installer (install.php)" covers both. - Make
settings.phpread-only and make sure the web server user cannot write tosites/defaultor change permissions there. This blocks some, not all, attack paths. - Add a WAF rule for requests to
install.phpon production hostnames. - Drupal Steward subscribers are covered for known attack paths in the meantime.
None of these replace the update.
Detection ideas
Look for activity since 19 November 2026:
- Any request to
/core/install.phpafter go-live, especially POST requests, in web server, CDN and WAF logs. settings.phpmodified after go-live, or containing database details you do not recognise.- New administrator accounts, unexpected modules, or new
.phpfiles undersites/default/files. - The web server process (
php-fpm,httpd,apache2,nginx) starting shells, interpreters or download tools.
Microsoft Defender XDR / Sentinel: web server spawning a shell or downloader (Linux hosts onboarded to Defender for Endpoint):
DeviceProcessEvents
| where Timestamp > datetime(2026-11-19)
| where InitiatingProcessFileName has_any ("php-fpm", "php", "httpd", "apache2", "nginx")
| where FileName in~ ("sh", "bash", "dash", "python", "python3", "perl", "curl", "wget", "nc", "ncat", "base64")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName,
InitiatingProcessCommandLine, FileName, ProcessCommandLine
| order by Timestamp desc
Defender: PHP files written into Drupal's public files folder
DeviceFileEvents
| where Timestamp > datetime(2026-11-19)
| where ActionType in ("FileCreated", "FileModified")
| where (FolderPath has "/sites/default/files/" and FileName endswith ".php")
or (FolderPath has "/sites/default" and FileName =~ "settings.php")
| project Timestamp, DeviceName, InitiatingProcessFileName, FolderPath, FileName, ActionType
| order by Timestamp desc
Sentinel: requests to the installer (if you ship web or WAF logs; this example uses Azure Front Door / Application Gateway WAF logs, so edit the table and fields to match your source):
AzureDiagnostics
| where TimeGenerated > datetime(2026-11-19)
| where Category in ("FrontDoorAccessLog", "ApplicationGatewayAccessLog", "FrontDoorWebApplicationFirewallLog", "ApplicationGatewayFirewallLog")
| where requestUri_s has "install.php" or requestUri_s has "/core/install"
| project TimeGenerated, Category, clientIP_s, httpMethod_s, requestUri_s, httpStatus_d, action_s
| order by TimeGenerated desc
If you find a hit: take the site offline or behind maintenance mode, preserve logs, the database and the current settings.php, and start incident response before you rebuild.
Checklist
- List every Drupal site (production, staging, forgotten microsites) and its core version
- Update to 10.6.22 / 11.3.22 / 11.4.13; redeploy images and artefacts
- Plan migration off 11.2.x, 10.5.x and older
- Block
/core/install.phpat the web server or WAF and confirm it returns 403 - Make
settings.phpandsites/defaultread-only for the web server user - Review logs for installer requests since 19 November 2026
- Check admin accounts, modules,
settings.phpandsites/default/filesfor changes - Run the Defender / Sentinel hunts above
- Check for Idunno.AntiCsrf (CVE-2026-131914) and Optimizely (CVE-2026-132224) in the same estate
How Kage can help
- Exposure check: we find internet-facing Drupal sites across your estate and confirm whether the installer is reachable.
- Compromise assessment: if a site was exposed, our incident response team reviews logs, the database and the server for signs of a reinstall or web shell.
- Monitoring: our threat intelligence service tracks exploitation of new vulnerabilities against your sector.
References
- Drupal: SA-CORE-2026-017, Highly critical remote code execution
- Drupal: Securing the installer (install.php)
- CISA: Adds three known exploited vulnerabilities to catalog (24 November 2026)
- CISA Known Exploited Vulnerabilities catalog
- University of Toronto Information Security: Critical RCE in the Drupal core installer
- Cybersecurity News: CISA warns of Drupal core RCE, Idunno AntiCsrf and Optimizely flaws exploited
- Security Affairs (via Infosec Today): CISA adds Drupal Core, Idunno AntiCsrf and Optimizely flaws to KEV
Facts as of 26 November 2026. We will update this post if Drupal publishes indicators of compromise or more detail on the vulnerable conditions.