Drupal — Critical Fail2Install Remote Code Execution Flaw Faces Active Exploitation (CVE-2026-132165)

Publication date: November 25, 2026
Category: Web Security / Vulnerability

Introduction

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added a critical vulnerability impacting Drupal to its Known Exploited Vulnerabilities (KEV) catalog, mandating strict remediation deadlines for federal agencies. Tracked as CVE-2026-132165 and dubbed Fail2Install, this remote code execution (RCE) flaw in Drupal core carries a CVSS score of 9.8. According to reports received by the Drupal Security Team, the vulnerability has been actively exploited in live production environments, highlighting the urgent need for defensive action across enterprise deployments.

What is Fail2Install? (General Analysis)

Fail2Install is an integrity and validation logic flaw within Drupal Core that enables unauthenticated threat actors to bypass security controls designed to prevent the execution of the installation wizard (install.php) on already configured, live websites.

The affected component is Drupal Core’s installation and database validation subsystem. Under normal conditions, this module verifies whether database tables already exist to block reinstallation attempts and safeguard site configurations. However, the flaw stems from improper error handling during infrastructure availability failures, allowing attackers to weaponize transient denial-of-service conditions into a critical security primitive.

  • Primary CVE: CVE-2026-132165
  • CVSS Score and Vector: 9.8 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) — Confirmed fact from NVD and independent research.
  • CWE Classification: CWE-693 (Protection Mechanism Failure) / CWE-284 (Improper Access Control).

How Does It Work? (Technical Analysis)

The exploitation mechanism behind Fail2Install, uncovered by cybersecurity researchers, merges operating system and web server resource exhaustion techniques with error analysis weaknesses to trick Drupal Core.

  • Initial Vector and Resource Exhaustion: The attacker deliberately induces availability failures on the server using three primary techniques:
    • EMFILE: Saturation of the file descriptor limit that a Linux process can open simultaneously.
    • Database Connection Exhaustion: Exhausing the pool of allowed database connections.
    • TCP Source-Port Exhaustion: Mass consumption of network sockets toward the backend.
  • Validation Bypass and Race Condition: When the initial database check fails due to resource exhaustion, Drupal mistakenly interprets the failure as an uninstalled site. Upon winning a race condition that allows a second database connectivity check to pass, the system opens the installation wizard (install.php) on a pre-existing production website.
  • PHP Code Injection via SQLite: Drupal’s installer supports SQLite database files and does not restrict file name extensions. By selecting a path ending in .php under the document root, the installer creates an SQLite database with a PHP extension. During the site configuration stage, the payload submitted by the attacker as the website name is written directly into the SQLite database file on disk.
  • Restriction Evasion and Execution: Although default .htaccess rules on standard Apache deployments block direct access to the generated PHP file, a path-handling weakness in the Apache RewriteRule directive can be exploited to bypass the restriction and achieve arbitrary unauthenticated PHP execution.

Affected Systems / Environments

The vulnerability impacts multiple versions of Drupal deployed across standard web server and database backend combinations.

  • Vulnerable Drupal Versions: Drupal 8.9, 9, 10, and 11 (specifically versions prior to security patches).
  • Affected Deployment Combinations:
    • Apache with PostgreSQL
    • Apache with MySQL
    • PHP-FPM with PostgreSQL
    • PHP-FPM with MySQL
CVE Category (CWE) Impact CVSS Vector (summarized)
CVE-2026-132165 CWE-693 / CWE-284 RCE / Takeover 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2026-9082 Estimated (CWE-284) Control Access / RCE 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (Estimated)
CVE-2026-118539 CWE-862 (Missing Auth) Forceful Browsing 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Mitigation and Detection

Remediation

System administrators and operations teams must immediately apply the official patches released by the Drupal security team to neutralize the attack chain:

  • Drupal 11.4.x: Update to Drupal 11.4.13 or higher.
  • Drupal 11.3.x: Update to Drupal 11.3.22 or higher.
  • Drupal 10.6.x: Update to Drupal 10.6.22 or higher.

Detection

Defensive teams (Blue Teams) should conduct the following monitoring and forensic actions:

  • Review web server access logs (access_logs) for anomalous HTTP requests targeting the install.php script on fully configured production websites.
  • Inspect storage directories and web root paths for the unexpected creation of .php files matching suspicious SQLite database names.
  • Monitor operating system resource management alerts for anomalies in file descriptor usage (EMFILE) and abnormal spikes in database connection openings that do not align with legitimate user traffic.

Defensive Intelligence Note: The conversion of operational availability errors—such as file descriptor limits or connection exhaustion—into code execution primitives highlights the critical need to audit not only authentication controls, but also exception-handling resilience against infrastructure failures.

Wrapping Up

The Fail2Install incident (CVE-2026-132165) highlights a hazardous class of vulnerabilities where apparent availability failures mutate into critical security breaches. By abusing resource limits to deceive Drupal into reactivating the installer on productive websites, threat actors achieved unauthenticated remote code execution. CISA’s rapid inclusion of this flaw into the KEV catalog and its confirmed active exploitation require all Drupal-reliant organizations to deploy security patches without delay.

References