---
title: "CVE-2026-132165 Drupal Installer RCE Patch Teardown"
slug: "cve-2026-132165-drupal-installer-rce-teardown"
description: "Defensive teardown of CVE-2026-132165: affected Drupal versions, root cause in /core/install.php, exact patch commands, detection rules, and hardening checklist."
author: "Hamdi Soudani"
category: "dev-tooling-benchmarks"
archetype: "advisory-teardown"
published_at: "2026-11-25T08:05:26.231+00:00"
updated_at: "2026-11-25T08:05:26.324641+00:00"
canonical_url: "https://pyvren.com/blog/cve-2026-132165-drupal-installer-rce-teardown"
reading_time_minutes: 3
word_count: 583
quality_score: 86
tags: ["cve-2026-132165","drupal-core","installer-rce","cisa-kev","devsecops"]
keywords: ["cve-2026-132165 drupal","drupal installer rce","cve-2026-132165 patch","drupal core rce vulnerability","drupal install.php exploit"]
sources: ["https://aviatrix.ai/threat-research-center/drupal-patches-critical-installer-flaw-2026-cve-2026-132165/","https://nvd.nist.gov/vuln/detail/CVE-2026-132165","https://www.drupal.org/sa-core-2026-017"]
---

# CVE-2026-132165 Drupal Installer RCE Patch Teardown

> **TL;DR:** CVE-2026-132165 lets unauthenticated attackers reinstall Drupal via /core/install.php and seize full site control; patch to Drupal 10.6.22+, 11.3.22+, or 11.4.13+ immediately.

## Key Facts

- **CVE ID:** CVE-2026-132165 ([source](https://nvd.nist.gov/vuln/detail/CVE-2026-132165))
- **Drupal advisory:** SA-CORE-2026-017 ([source](https://www.drupal.org/sa-core-2026-017))
- **Affected versions:** Drupal 10 < 10.6.22; Drupal 11 < 11.3.22 and < 11.4.13 ([source](https://aviatrix.ai/threat-research-center/drupal-patches-critical-installer-flaw-2026-cve-2026-132165/))
- **Patched versions:** Drupal 10.6.22, 11.3.22, 11.4.13 ([source](https://aviatrix.ai/threat-research-center/drupal-patches-critical-installer-flaw-2026-cve-2026-132165/))
- **CISA KEV date added:** 2026-11-24 ([source](https://nvd.nist.gov/vuln/detail/CVE-2026-132165))
- **Exploited in the wild:** Yes, as early as 2026-11-19 19:00 UTC ([source](https://www.drupal.org/sa-core-2026-017))

CVE-2026-132165 is a critical remote code execution flaw in the Drupal installer that allows unauthenticated attackers to reinitialize an existing site and seize full administrative control. The vulnerability was added to the CISA Known Exploited Vulnerabilities catalog on 2026-11-24, with confirmed exploitation observed as early as 2026-11-19 at 19:00 UTC. This advisory teardown covers affected versions, the root cause in /core/install.php, exact patch commands, detection rules, and a hardening checklist for DevSecOps teams.

## Incident Timeline & Blast-Radius Table

The flaw affects Drupal core installations that expose the installer endpoint without proper access gating. Attackers can submit crafted requests to /core/install.php to bypass installation checks, reconfigure the database connection, and install a malicious administrative account. Once the installer completes, the attacker controls the site and can execute arbitrary PHP through contributed modules or theme manipulation.

| Affected Branch | Vulnerable Versions | Patched Version | CISA KEV Date Added |
| --- | --- | --- | --- |
| Drupal 10 | < 10.6.22 | 10.6.22 | 2026-11-24 |
| Drupal 11 | < 11.3.22 and < 11.4.13 | 11.3.22, 11.4.13 | 2026-11-24 |

Blast radius includes any public-facing Drupal site running an affected minor release. Internal staging environments are equally at risk if the installer path is reachable from the application network. The [Drupal security advisory SA-CORE-2026-017](https://www.drupal.org/sa-core-2026-017) rates this as highly critical with remote code execution impact and no authentication required.

## Technical Root Cause & Attack Vector (Defensive Analysis)

The root cause resides in /core/install.php, where the installer fails to fail securely when invoked on an already-installed site. Under specific conditions, an unauthenticated attacker can use install.php to attempt to reinstall Drupal on the site, potentially taking over the site or executing arbitrary code. The [NVD entry for CVE-2026-132165](https://nvd.nist.gov/vuln/detail/CVE-2026-132165) describes this as a not failing securely vulnerability in Drupal Core.

This is not a traditional SQL injection or deserialization bug. It is an access-control failure in a post-installation endpoint that should be disabled or restricted once settings.php exists. Teams running multi-site or headless Drupal architectures must verify that the installer path is not reachable on any virtual host, including non-production environments.

## Exact Patch, Upgrade & Verification Commands

Apply the vendor patch immediately. For Composer-managed sites, run:

```bash
composer require drupal/core-recommended:^10.6.22 --no-update
composer update drupal/core-recommended --with-dependencies
drush cache-rebuild
```

For Drupal 11 sites on the 11.3.x track:

```bash
composer require drupal/core-recommended:^11.3.22 --no-update
composer update drupal/core-recommended --with-dependencies
drush cache-rebuild
```

For Drupal 11 sites on the 11.4.x track:

```bash
composer require drupal/core-recommended:^11.4.13 --no-update
composer update drupal/core-recommended --with-dependencies
drush cache-rebuild
```

Verify the installed version after the update:

```bash
drush status | grep "Drupal version"
grep "VERSION" core/lib/Drupal/Core/DrupalKernel.php
```

If Composer is unavailable, download the official release tarball from Drupal.org, extract it over the existing web root while preserving sites/ and settings.php, then run database updates and clear caches. Do not overwrite settings.php during extraction.

## Detection Rules & Hardening Checklist

Detect exploitation attempts by monitoring web server and WAF logs for POST requests to /core/install.php, especially from external IP addresses. A sample detection pattern:

```yaml
detection:
  - rule: drupal_installer_post
    condition: http.uri == "/core/install.php" and http.method == "POST"
    severity: critical
    action: alert_and_block
```

Hardening checklist:

1. Apply Drupal 10.6.22, 11.3.22, or 11.4.13 immediately.
2. Deny all access to /core/install.php at the web server or WAF layer after initial site setup.
3. Verify settings.php file integrity and confirm no unexpected database host entries exist.
4. Rotate database credentials and administrative passwords after patching.
5. Review administrative user accounts for unauthorized additions created between 2026-11-19 and patch application.
6. Disable the installer module or remove /core/install.php from production virtual hosts where possible.
7. Audit web server access logs for installer endpoints across all environments, including staging and development.

When NOT to use this guidance: If your site runs an end-of-life Drupal branch with no vendor patch, upgrading to a supported major version is required before applying the specific fix. Blocking /core/install.php is a temporary compensating control, not a substitute for patching.

![Drupal installer flaw blast radius and patch matrix](https://images.ctfassets.net/mvxxnmpzvwpe/50J0dK4OtKCxmS7CKXi8z/1ebc76526c85bb744b359c3736707470/drupal-patches-critical-installer-flaw-2026-cve-2026-132165.png?w=1200&h=630&fit=fill&fm=jpg&q=85)

The [Aviatrix threat research analysis](https://aviatrix.ai/threat-research-center/drupal-patches-critical-installer-flaw-2026-cve-2026-132165/) provides additional context on exploitation timelines and affected deployment patterns.

## Frequently Asked Questions

### Which Drupal versions are vulnerable to CVE-2026-132165?

All Drupal 10 releases below 10.6.22 and Drupal 11 releases prior to 11.3.22 and 11.4.13 are affected. Sites on end-of-life branches have no vendor fix available.

### What immediate defensive action should teams take if they cannot patch right away?

Block all access to /core/install.php at the web server or WAF layer, verify settings.php integrity, and rotate database credentials and administrative passwords after patching.

### Does CVE-2026-132165 require authentication to exploit?

No. The NVD record describes an unauthenticated attacker who can use install.php to attempt to reinstall Drupal on the site.

## Primary Sources

- https://aviatrix.ai/threat-research-center/drupal-patches-critical-installer-flaw-2026-cve-2026-132165/
- https://nvd.nist.gov/vuln/detail/CVE-2026-132165
- https://www.drupal.org/sa-core-2026-017
