A critical flaw in the Drupal core installer, CVE-2026-132165 (SA-CORE-2026-017), is being exploited in the wild. The Drupal Security Team updated its advisory to say it “received a report this was exploited on live sites as early as 2026-11-19 19:00 UTC”. That is roughly a day after fixes shipped on November 18. CISA added the CVE to its Known Exploited Vulnerabilities catalog on November 24 and gave federal civilian agencies an unusually short remediation deadline: November 27, 2026.
What happened
Drupal shipped core security releases on November 18 after warning administrators in advance to set time aside, because exploits “might be developed within hours or days.” The release fixed two issues:
- CVE-2026-132165: an installer flaw rated Critical (18/25 on Drupal’s risk scale). The advisory credits its discovery to Anthropic’s OSS scanner.
- CVE-2026-132166: a gadget chain rated Moderately critical (14/25), reported by Drew Webber. It cannot be exploited on its own. It becomes a code-execution primitive only if some other module or plugin passes attacker-controlled data to
unserialize().
Exploitation began within about 24 hours of the advisory. That timeline is consistent with attackers diffing the patch for the installer bug.
Technical details
The bug is in core/install.php, the script that bootstraps a new Drupal site. On an already-installed site, Drupal is supposed to refuse to run the installer again. Under specific conditions, an unauthenticated attacker can get past that check and re-run the install process against a live site. Re-running the installer lets the attacker set up the site with values they choose, including a new administrator account. From an admin session, getting code execution on a Drupal site is routine: enable a module that runs PHP, upload a malicious module, or abuse configuration import.
Several factors make the exposure broad:
install.phpstays on disk after a normal installation. Drupal’s default.htaccessand typical nginx configurations do not block it, so most sites expose it unless someone locked it down on purpose.- The attack needs no credentials and no user interaction.
- Commentary on the advisory says some exploit paths fail when the web server cannot write to or
chmodsettings.php. Drupal does not treat a read-onlysettings.phpas a complete mitigation, so don’t rely on it.
Drupal has not published the exact preconditions, and no full public write-up has confirmed them at the time of writing.
Affected versions
| Branch | Vulnerable | Fixed |
|---|---|---|
| 10.x | < 10.6.22 | 10.6.22 |
| 11.0 – 11.3 | 11.0.0 – 11.3.21 | 11.3.22 |
| 11.4 | 11.4.0 – 11.4.12 | 11.4.13 |
Drupal 10.5.x, 11.2.x and older branches are end-of-life and get no fix. Upgrade them to a supported minor release.
Impact
Drupal runs a large number of government, higher-education, media and enterprise sites, so the target pool is large. A takeover through the installer gives the attacker full administrative control of the CMS, and in practice that leads to PHP code execution as the web server user. From there the usual next steps are stealing database credentials from settings.php, planting web shells, injecting SEO spam or skimmers, and moving laterally into whatever the web tier can reach. A reinstall can also be destructive, because it may overwrite site configuration or content.
Mitigation
- Patch now to 10.6.22, 11.3.22 or 11.4.13 (
composer update "drupal/core-*" --with-all-dependencies, thendrush updbanddrush cr). Confirm the result withdrush status. - Block the installer, even after patching. The Security Team recommends this. For example:
- nginx:
location = /core/install.php { deny all; } - Apache:
<Files "install.php"> Require all denied </Files>scoped to/core - At the CDN or WAF: deny requests to
/core/install.phpfrom the internet.
- nginx:
- Make
settings.phpandsites/defaultread-only for the web server user as defense in depth. - Hunt for compromise. Search access logs for requests to
/core/install.phpsince November 18, especially POSTs or requests with?profile=/langcode=parameters. Look for administrator accounts you don’t recognize, newly enabled modules, changedsettings.phpor database credentials, and PHP files insites/*/files. - Managed hosts. Pantheon says it deployed platform-level protections mitigating SA-CORE-2026-017 to all environments under Drupal Steward. Other providers may have done the same, so check with yours. Do not skip the core update either way.
- Audit
unserialize()use in custom and contributed code. The CVE-2026-132166 gadget chain makes any unsafe deserialization sink in your code much more dangerous.
References
- Drupal advisory: SA-CORE-2026-017
- CISA: CISA Adds Three Known Exploited Vulnerabilities to Catalog (Nov 24, 2026)
- Horizon3.ai: CVE-2026-132165: Drupal Core Installer RCE
- University of Toronto: Critical remote code execution in the Drupal core installer
- The Drop Times: Drupal Fixes Critical Installer Flaw and Gadget Chain
- Pantheon: Drupal core security release notes