Skip to content

Drupal Core CVE-2026-132165: Patch the Exploited install.php Reinstall RCE

CVE-2026-132165 is an exploited Drupal core installer flaw. Upgrade to 11.4.13, 11.3.22, or 10.6.22, then block /core/install.php if you cannot patch immediately.

MGMCSA Guru Team November 26, 2026 7 min read
A server rack and a closed installer panel, with a patch checklist on a nearby screen

The Drupal Security Team published SA-CORE-2026-017 on November 18, 2026, as a highly critical remote code execution issue in Drupal core, tracked as CVE-2026-132165. Drupal rates it 20 out of 25, with no authentication required (A:None).

The advisory later added this update: the Security Team has received a report that the issue was exploited on live sites as early as 2026-11-19 19:00 UTC. CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities Catalog on November 24, 2026, with forensic triage required and a federal due date of November 27, 2026. That due date applies to U.S. federal agencies under BOD 26-04. Everyone else should still treat this as a patch-now issue.

Fixed releases are already out: Drupal 11.4.13, 11.3.22, and 10.6.22, all created on November 18, 2026. Upgrade first. If you cannot upgrade immediately, block /core/install.php using Drupal’s official installer guide, then come back to the upgrade.

What CVE-2026-132165 is

Drupal core ships with an installer at /core/install.php. SA-CORE-2026-017 says that, under specific conditions, an attacker can use that installer to attempt to reinstall Drupal. That can lead to a site takeover or remote code execution.

CISA describes the same issue as a not-failing-securely vulnerability (CWE-636) that could allow an unauthenticated attacker to take over an existing site or execute arbitrary code via the Drupal installer.

The advisory is deliberately short on the exact conditions. Do not assume every internet-facing site is exploitable in the default layout, and do not go looking for a public how-to. The useful facts are the ones Drupal published: the installer is the path, unauthenticated access is in the rating, and a non-writable settings.php only blocks some of the paths.

The CVE ID comes from the Drupal advisory and from CISA’s KEV entry. When this research was checked on November 25, 2026, the MITRE CVE API had no published record yet, and NVD returned no results, so this post does not invent a CVSS score. Use Drupal’s own 20/25 highly critical rating until a CNA or NVD score appears.

The issue was reported with help from Anthropic’s OSS Scanner (ANT-2026-GMRPK0BU) and the named researchers on the advisory. That is a discovery credit, not a wider Anthropic incident.

Affected and fixed versions

SA-CORE-2026-017 lists this affected range: all Drupal 10 releases before 10.6.22, Drupal 11.0 through 11.3 before 11.3.22, and Drupal 11.4 before 11.4.13.

LineUpgrade toSecurity coverage, per the release notes
Drupal 11.4.x11.4.13 (created 2026-11-18T16:44:07Z)Until April 2027
Drupal 11.3.x11.3.22 (created 2026-11-18T17:06:26Z)Until December 2026, when Drupal 11.5.0 is released
Drupal 10.6.x10.6.22 (created 2026-11-18T16:47:14Z)Until December 2026, when Drupal 11.5.0 is released

Drupal 11.2.x and below, and Drupal 10.5.x and below, are end-of-life and do not receive official security coverage. Drupal 8 and Drupal 9 are also end-of-life. There is no official backport to invent for those lines.

The same three releases also fix SA-CORE-2026-018 / CVE-2026-132166, a moderately critical (14/25, E:Theoretical) gadget chain. Drupal says that chain presents no direct threat on its own, but can be used toward remote code execution if an insecure deserialization vulnerability already exists on the site. Treat it as a same-release bonus, not a reason to delay the RCE patch.

These releases also change new installs: if settings.php is not writable, the installer now shows an error instead of trying to fix permissions. The release notes say that change does not affect existing sites.

Upgrade first

Follow Drupal’s official Updating Drupal documentation at drupal.org/docs/updating-drupal, and use the options-for-updating-core page if you need to choose between Composer, a packaged update, or another supported path. The right command depends on how the site was installed, so this post does not invent a one-line Composer recipe.

After the upgrade, confirm the running core version is 11.4.13, 11.3.22, or 10.6.22, depending on your line. Use the site’s status report or your usual Composer / update tooling.

If you cannot upgrade immediately, block the installer

The advisory says: if you cannot upgrade immediately, follow the instructions for securing the Drupal installer. That guide, last updated 21 November 2026, is explicit that you need install.php once, to install the site, and you should block access after that.

Finish any half-done install first. Never leave a half-finished installation on a server that is reachable from the internet. Blocking install.php does not affect update.php. If you later add a site to a multisite setup, you may need the installer again for a short time, or you can use drush site:install, which the guide says does not use install.php.

The recommended option is a web server rule, because it survives core updates.

Apache, in the virtual host configuration, not in .htaccess (the guide says an equivalent .htaccess Location rule causes a 500 error):

<Location "/core/install.php">
  Require all denied
</Location>

Reload Apache after apachectl configtest. If Drupal lives in a subdirectory, change the path, for example /drupal/core/install.php.

Nginx, inside the HTTPS server block:

location ^~ /core/install.php {
  return 404;
}

The ^~ prefix is there so this rule wins over a generic PHP location. Reload after nginx -t.

The same guide also documents an Apache .htaccess <Files "install.php"> deny rule, and a Composer post-install-cmd / post-update-cmd that runs rm -f web/core/install.php (adjust the web/ path if your docroot is different). Removing the file works, but a later composer install can put it back unless that script stays in place.

Then test, using the official checks, with your hostname in place of example.com:

curl -I https://example.com/core/install.php
curl -IL https://example.com/install.php
curl -I https://example.com/core/install.php/foo

You want 403 or 404, not 200.

Drupal CVE-2026-132165 response

  • Confirm the core version and whether you are on a supported 11.4, 11.3, or 10.6 line
  • Upgrade to 11.4.13, 11.3.22, or 10.6.22 using Drupal's official update documentation
  • If you cannot upgrade yet, block /core/install.php in the web server config and confirm curl does not return 200
  • Do not treat a non-writable settings.php, Drupal Steward, or the installer block as a substitute for the security release
  • If the site was internet-facing and unpatched on or after 2026-11-19 19:00 UTC, review it for compromise before you treat it as clean
  • Watch for the theme-registry regression, and plan for 11.4.14 if you hit it

Check whether the site may already have been targeted

CISA marked this KEV entry for forensic triage. The Drupal advisory reports exploitation on live sites from 2026-11-19 19:00 UTC, but it does not publish indicators, log signatures, or a forensic checklist. This post will not invent any.

If the site was reachable from an untrusted network while it was still unpatched on or after that time, inspect it before you put it back into normal service. Look for unexpected admin users, unexpected files, and unexpected changes to settings.php or the installer, using your usual incident process. Drupal’s own “My site was defaced” documentation is the vendor starting point if you already believe the site was altered.

Our WordPress core RCE patch guide is a similar upgrade-first pattern on another CMS. The Chrome zero-day update is the closer read if you are clearing a CISA KEV item on workstations at the same time.

Should you patch now?

Yes, if you run Drupal 10.6, 11.3, or 11.4 and the installer is still reachable, or even if you think it is not. The official fix is 11.4.13, 11.3.22, or 10.6.22. Block /core/install.php only as a bridge to that upgrade.

Drupal Steward customers should still upgrade. Sites on end-of-life lines have no official patch to wait for, which is a migration problem, not a reason to leave install.php on the internet.

Frequently asked questions

Which Drupal versions fix CVE-2026-132165?

The official advisory says to update Drupal 11.4.x to 11.4.13, Drupal 11.3.x to 11.3.22, and Drupal 10.6.x to 10.6.22. Those security releases were published on November 18, 2026. Drupal 11.2.x and below, and Drupal 10.5.x and below, are end-of-life and do not receive official security coverage. Drupal 8 and 9 are also end-of-life.

Is CVE-2026-132165 being exploited?

Yes, according to the vendor and to CISA. SA-CORE-2026-017 says the Security Team has received a report that this was exploited on live sites as early as 2026-11-19 19:00 UTC. CISA added the CVE to the Known Exploited Vulnerabilities Catalog on November 24, 2026, with forensic triage required. The advisory does not publish victim names or indicators of compromise.

Is locking down settings.php enough?

No. The advisory says some, but not all, exploit paths are mitigated if the web server cannot write to or change permissions on settings.php. Treat a locked settings.php as a partial help, not a complete fix. Upgrade, and block or remove install.php as well.

What if I cannot upgrade today?

The Security Team points to the official guide for securing the installer. The recommended option is to block /core/install.php in the web server configuration, which survives core updates. Blocking or removing the installer is a temporary measure, not a substitute for 11.4.13, 11.3.22, or 10.6.22.

Does Drupal Steward mean I can wait?

Not as a long-term plan. The advisory says sites that use Drupal Steward are already protected from known attack vectors, but they should still upgrade in the near future in case additional attack vectors are discovered.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.