Drupal Core Installer Remote Code Execution Flaw
Score: 9/10

Drupal Core Installer Remote Code Execution Flaw

Drupal Core contains a critical vulnerability where an unauthenticated attacker can trigger a site reinstallation and achieve RCE if the database connection fails or an installation is in progress.

Executive Summary

Drupal has released security updates to address CVE-2026-132165, a critical vulnerability in the Drupal Core installer that could allow unauthenticated remote code execution. The flaw exists because the installer incorrectly treats a database connection failure or a missing installation state as a signal to initiate a fresh installation. If a database outage or configuration error occurs while the installer script is reachable, an attacker can supply their own database and administrator account to take control of the server.

Technically, the vulnerability stems from insufficient exception handling in the `install_verify_database_ready()` function and a lack of session binding during the installation process. By walking through the reinstallation flow, an attacker can install malicious modules or themes to execute PHP code as the web server user. While Drupal rates exploitation as complex and the affected configurations as uncommon, the high impact on confidentiality, integrity, and availability makes immediate patching a priority.

Organizations running affected versions (10.6.x, 11.3.x, 11.4.x) should update to the latest fixed releases immediately. Additionally, security teams are strongly advised to permanently block access to the `/core/install.php` path via web server configurations, as the patch does not remove the file and it remains a potential entry point for future vulnerabilities.

Key Details

Threat Name

CVE-2026-132165

Affects

Drupal 10.6, Drupal 11.0, Drupal 11.3, Drupal 11.4, Drupal Core, Drupal 10.6.x, Drupal 11.3.x, Drupal 11.4.x

Adversary

—

MITRE Techniques

—

Malware/Tools

None identified

Report Score

9out of 10
Quality Score
Excellent
IOC Quality7
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure10
Technical Depth9

Sources