The U.S. Cybersecurity and Infrastructure Security Agency (CISA) on Tuesday added a critical flaw impacting Drupal to its Known Exploited Vulnerabilities (KEV) catalog, requiring federal agencies to apply the fixes by November 27, 2026.

The vulnerability, tracked as CVE-2026-132165 aka Fail2Install (CVSS score: 9.8), is a case of remote code execution (RCE) impacting Drupal core.

"Drupal Core contains a not failing securely vulnerability that could allow an unauthenticated attacker to take over an existing site or execute arbitrary code via the Drupal installer," CISA said. "Under specific conditions, the attacker can use install.php to attempt to reinstall Drupal on the site."

As previously reported by The Hacker News, an attacker can use the installer to attempt to reinstall Drupal, resulting in site takeover or remote code execution under certain circumstances.

According to an independent analysis by Searchlight Cyber, it has emerged that ordinary server resource limits can be abused to trick Drupal into mistakenly believing that an existing website was not installed, enter its installation process via "install.php," create an administrator-controlled account, and execute arbitrary PHP code.

While Drupal has checks in place to determine whether the website is already installed before allowing installation to proceed, the research found that it's possible to bypass these checks by exhausting server resources.

As a result, a failed database connection to the configured database and a failed database check for an existing installation are interpreted as evidence that the website has not been installed, and Drupal allows the installation to proceed after winning a race condition that allows a second database connectivity check to pass.

To achieve this, the three resource exhaustion techniques have been put to use -

  • EMFILE, which refers to a limit on how many files a Linux process can open
  • Database connection exhaustion
  • TCP source-port exhaustion

"We started with EMFILE, then explored database and TCP limits to determine whether availability failures could become security primitives," the cybersecurity company said.

"Applying this methodology to Drupal uncovered a pre-authentication RCE affecting Drupal 8.9, 9, 10, and 11 across four common deployment combinations: Apache with PostgreSQL, Apache with MySQL, PHP-FPM with PostgreSQL, and PHP-FPM with MySQL."

This behavior can be turned into a pathway for code execution by taking advantage of the fact that Drupal's installer supports SQLite database files and allows the database path to be selected during installation. This is made possible because the installer doesn't restrict the file name extension.

"By selecting a path ending in .php under the document root, the installer creates an SQLite database with a PHP extension," Searchlight Cyber said. "Once the installation reaches the site configuration form, Drupal stores the submitted website name inside the SQLite database. By using PHP code as the website name, the payload bytes are written into the .php database file." 

While direct access to the generated PHP file is blocked by Drupal's stock .htaccess on a stock Apache deployment, a path-handling weakness in the Apache RewriteRule could be exploited to achieve arbitrary PHP execution.

"Starting from three system-wide limits, we showed how errors that appear to affect only availability can become primitives for crossing a security boundary," Searchlight Cyber researchers Kevin Gervot and Adam Kues said.

"In Drupal, temporary database failures can produce a FAIL, FAIL, and then SUCCESS sequence that reopens the installer on an existing website and ultimately leads to pre-authentication RCE through an SQLite database containing PHP code."

The issue has been addressed in the following versions -

  • Drupal 11.4.x - Update to Drupal 11.4.13
  • Drupal 11.3.x - Update to Drupal 11.3.22
  • Drupal 10.6.x - Update to Drupal 10.6.22

The addition of CVE-2026-132165 to the KEV catalog follows a report received by the Drupal Security Team that it "was exploited on live sites as early as 2026-11-19 19:00 UTC."

It's worth noting that CVE-2026-132165 is the third Drupal flaw to come under active exploitation this year following CVE-2026-9082 (CVSS score: 6.5) and CVE-2026-118539 (CVSS score: 6.5).

Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.