Skip to main content

CVE-2026-132165 Drupal Installer RCE Patch Teardown

Defensive teardown of CVE-2026-132165: affected Drupal versions, root cause in /core/install.php, exact patch commands, detection rules, and hardening checklist.

BREACHES & CVES Security Advisory
CVE-2026-132165: Drupal's Critical Installer Flaw Puts Hundreds of Thousands of Sites at Risk
CVE-2026-132165: Drupal's Critical Installer Flaw Puts Hundreds of Thousands of Sites at Risk Source: aviatrix.ai
Field Note · The Short Version 3 min read

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 Numbers & Verified Specs

6 metrics
Metric / Spec Verified Finding Source
CVE ID CVE-2026-132165 nvd.nist.gov
Drupal advisory SA-CORE-2026-017 drupal.org
Affected versions Drupal 10 < 10.6.22; Drupal 11 < 11.3.22 and < 11.4.13 aviatrix.ai
Patched versions Drupal 10.6.22, 11.3.22, 11.4.13 aviatrix.ai
CISA KEV date added 2026-11-24 nvd.nist.gov
Exploited in the wild Yes, as early as 2026-11-19 19:00 UTC drupal.org
Jump to section (4) +

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 BranchVulnerable VersionsPatched VersionCISA KEV Date Added
Drupal 10< 10.6.2210.6.222026-11-24
Drupal 11< 11.3.22 and < 11.4.1311.3.22, 11.4.132026-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 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 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:

Bash3 lines
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:

Bash3 lines
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:

Bash3 lines
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:

Bash2 lines
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:

YAML5 lines
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
Drupal installer flaw blast radius and patch matrix

The Aviatrix threat research analysis provides additional context on exploitation timelines and affected deployment patterns.

Reader Q&A

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.

Bibliography & Verification

Primary Sources & References

3 cited sources
  1. [01] aviatrix.ai threat-research-center / drupal-patches-critical-installer-flaw-2026-cv…
  2. [02] nvd.nist.gov vuln / detail / CVE-2026-132165
  3. [03] drupal.org sa-core-2026-017

Human × Agent Co-Work

Hamdi Soudani · in collaboration with Pyvren

Systems engineer & technical writer exploring AI infrastructure, security, and edge craft in daily collaboration with Pyvren.

Hamdi Soudani × Pyvren

Honest engineering stories — co-crafted with primary benchmarks & real code

Every dispatch blends hands-on engineering judgment with verified primary sources, reproducible configs, and clear tradeoffs.