CriticalCVE-2026-132165 3 Hunt LeadsThe Hacker News

Drupal’s Fail2Install Bug Is Now Reinstalling Sites for Attackers

Attackers are exploiting CVE-2026-132165, a Drupal core installer flaw that lets them reinstall a live site, make themselves admin and run code. CISA added it to KEV; update to 11.4.13, 11.3.22 or 10.6.22.

Drupal’s installer bug CVE-2026-132165, now nicknamed Fail2Install, is being used to take over live websites, and CISA added it to its Known Exploited Vulnerabilities catalog on Tuesday with a November 27 deadline for federal agencies, The Hacker News reports. The Drupal Security Team says it got a report of exploitation on live sites from November 19. A day before CISA’s move, Searchlight Cyber published how it turned the bug into reliable pre-authentication code execution on stock Drupal setups, so the how-to is now public. The fix has been out since November 18.

For defenders

The bug: CVE-2026-132165 (CVSS 9.8 per The Hacker News; Drupal rates it “Highly critical”, 20 of 25) is in Drupal core’s install.php. Under the right conditions an unauthenticated attacker can make the installer believe an existing site isn’t installed, reinstall it, create their own admin account and run code. Affected: everything before 10.6.22, 11.0 up to 11.3.21 and 11.4 up to 11.4.12, per the Drupal advisory SA-CORE-2026-017. Searchlight Cyber says Drupal 8.9 and 9 are also vulnerable; both are end-of-life with no fix. Drupal 7 isn’t affected.

How it works (per Searchlight Cyber): the attacker floods the site to exhaust database connections (Apache setups) or the server’s TCP source ports (PHP-FPM setups). When two of the installer’s database checks fail and a third succeeds, Drupal reopens the installer. The attacker then points the installer at a SQLite “database” file ending in .php inside the web root, writes PHP code into it as the site name, and reaches it through a path trick that slips past Drupal’s stock .htaccess. That’s T1190 (Exploit Public-Facing Application) ending in a T1505.003 (Server Software Component: Web Shell). Searchlight says Apache with PostgreSQL is the easiest target; PHP-FPM setups need a faster server (about 4 vCPUs) for the race to work.

Status: exploitation KNOWN (Drupal Security Team, CISA KEV). The bug was first reported to Drupal by Anthropic’s OSS Scanner; Searchlight found it independently. No attacker or indicators have been published. It’s the third exploited Drupal flaw this year, after the Commerce access bypass in October.

Fix: update to 11.4.13, 11.3.22 or 10.6.22. If you can’t today, follow Drupal’s guide to securing install.php, and make sure the web server can’t write to settings.php, which Drupal says blocks some (not all) attack paths. Sites behind Drupal Steward are already shielded from the known attack paths.

What it means for you

Drupal runs a lot of government, university, charity and company websites. If your site is built on it, a stranger can wipe out its setup, make themselves the administrator and plant code that runs on your server, without a password. If you don’t run a website, or your site is on WordPress, Squarespace or similar, there’s nothing to do. If an agency or freelancer built your Drupal site, this is the week to send them an email.

Do this now

  1. Update Drupal core to 11.4.13, 11.3.22 or 10.6.22 today. Still on Drupal 8 or 9? Block install.php now and plan the upgrade.
  2. Block web access to core/install.php on every live site, and make settings.php read-only for the web server.
  3. Search the web root for .php files you didn’t put there, and check the admin user list for accounts nobody recognizes.
  4. If you find either, treat the server as taken over: restore from a clean backup and change every password and key the site uses.

Source article: Drupal Fail2Install Exploit Details Emerge as Critical RCE Flaw Faces Active Exploitation
Publisher: The Hacker News (Ravie Lakshmanan)
Published: Nov. 25, 2026
URL: https://thehackernews.com/2026/11/drupal-fail2install-exploit-details.html

Executive Summary

Unidentified attackers are exploiting CVE-2026-132165 (“Fail2Install”), a pre-authentication flaw in Drupal core’s installer that lets an anonymous user reinstall an already-installed site, take it over and execute arbitrary PHP; the Drupal Security Team received a report of exploitation on live sites from 19:00 UTC on November 19, 2026, and CISA added the flaw to its KEV catalog on November 24 with a November 27 deadline. No actor, campaign infrastructure or indicators have been published, so these leads are built from the exploitation mechanics Searchlight Cyber documented on November 24. In that chain, the attacker exhausts the site’s database connections (on Apache) or the server’s TCP source ports to the database (on PHP-FPM), using connection-holding or fast endpoints such as the CSS asset route and core/authorize.php, until two of the installer’s database checks fail and a third succeeds; core/install.php then treats the site as uninstalled. The attacker selects the SQLite driver with a database path ending in .php under the web root, submits PHP code as the site name so it is written into that file, and executes it through a request path that ends in /core/<name>.php, which Drupal’s stock .htaccess treats as an allowed core script. The result is full site takeover, a new attacker-controlled administrator and code execution as the web server user. Fixes are in Drupal 11.4.13, 11.3.22 and 10.6.22; Drupal 8.9 and 9 are affected and end-of-life. Hunt leads, false positive expectations and the artifacts to sweep for are detailed below; no detection rules or file hashes have been published.

ATT&CK chain: Impact (resource exhaustion as an enabler) → Initial Access → Persistence → Execution

Hunt Lead Grid

Hunt Lead Level Hunt Lead Name ATT&CK Risk of False Positives
1 (Junior) PHP Files That Are Really SQLite Databases T1505.003 (Server Software Component: Web Shell) Low. A legitimate Drupal site never stores its SQLite database as a .php file inside the web root, so a file there that begins with the SQLite header is almost certainly the exploit’s payload; the sweep anchors on file content, not name.
2 (Pro) Installer and Core-Path Bypass Requests on Live Sites T1190 (Exploit Public-Facing Application) Low to Medium. Vulnerability scanners and researchers will request install.php too, so the rule anchors on installer form submissions and on paths that continue past a .php file into /core/, which normal traffic never produces.
3 (Elite) Database Exhaustion Burst Followed by Installer Access T1499.002 (Endpoint Denial of Service: Service Exhaustion Flood), T1190 (Exploit Public-Facing Application) Medium. Traffic spikes and database connection errors happen during load peaks and outages; the correlation only fires when the exhaustion signals are followed within minutes by installer access from the same source.

PHP Files That Are Really SQLite Databases

Searchlight Cyber’s chain finishes by pointing the reopened installer’s SQLite driver at a database path ending in .php under the document root (their example sits in the modules directory), then saving PHP code as the site name so the payload bytes land inside that file, which the attacker then executes. Whatever the exact path an attacker chooses, the artifact is the same: a file with a .php extension anywhere under the web root whose first bytes are the SQLite header string SQLite format 3. Exploitation also rewrites the site’s installation, so the same sweep should look at sites/*/settings.php for an unexpected modification time or a database section that now names the SQLite driver, and at the users table for an administrator account created on or after November 19, 2026. The detection is a scheduled file-content check across every Drupal docroot for .php files starting with the SQLite magic bytes, plus a diff of settings.php against your deployment copy.

Run it from the host (EDR file inventory, a configuration-management check, or a simple find-and-read-first-bytes job) on every Drupal server, including staging and forgotten microsites, and sweep back to November 18, 2026, when the advisory and fix were published. Don’t scope by file name or directory, since the attacker chooses both, and don’t rely on blocking a hash, because each payload file is unique. There is no legitimate reason for this artifact, so any hit should be escalated as a confirmed compromise: take the site offline, preserve the file and web logs, rebuild from a known-good release and rotate the database, API and hosting credentials stored on the server. The idea generalizes to any web application whose installer can be pointed at an attacker-chosen file path.

Hunt Lead Level: 1 (Junior Analyst)

ATT&CK: Persistence → T1505.003 (Server Software Component: Web Shell)

Sources: “Fail2Install: Turning System Limits into Pre-Auth RCE in Drupal”, Searchlight Cyber (Kevin Gervot, Adam Kues), Nov. 24, 2026, https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal (additional source, same vulnerability, cited by the source article); “Drupal Fail2Install Exploit Details Emerge as Critical RCE Flaw Faces Active Exploitation”, The Hacker News, Nov. 25, 2026 (source article)

Installer and Core-Path Bypass Requests on Live Sites

A finished Drupal site has no reason to serve the installer, yet every exploitation path for CVE-2026-132165 runs through /core/install.php: Searchlight Cyber’s chain submits the installer’s database settings form (form_id=install_settings_form) and then its site configuration form (form_id=install_configure_form), both as POSTs to install.php. The final step requests the planted file through a path that continues after it, ending in /core/<anything>.php, which satisfies the stock .htaccess exception for core scripts while Apache executes the earlier .php file and treats the rest as PATH_INFO. The detection is two rules on web server or WAF logs: any POST to /core/install.php on a production host, especially one that returns 200 or a redirect, and any request URI that contains a .php segment followed by /core/ and another .php (a regular expression along the lines of \.php/.*core/[^/]*\.php).

Use Apache or NGINX access logs, the CDN or WAF request log, or a reverse proxy’s log, and if POST bodies are logged anywhere, add the two form_id values as stronger anchors. GET requests to install.php alone are mostly scanners; keep them as context, not alerts. Sweep back to November 18, 2026. Blocking install.php at the web server or WAF is the right control and costs nothing on a live site; blocking source IP addresses is not, since none have been published and exploitation needs only HTTP access. A POST to the installer that succeeded, or any bypass-shaped path that returned 200, should go straight to incident response and trigger the Junior lead’s file sweep on that host. The path-continuation rule also catches other attempts to abuse the same .htaccess exception.

Hunt Lead Level: 2 (Pro)

ATT&CK: Initial Access → T1190 (Exploit Public-Facing Application)

Sources: “Fail2Install: Turning System Limits into Pre-Auth RCE in Drupal”, Searchlight Cyber, Nov. 24, 2026 (additional source); “Drupal core – Highly critical – Remote code execution – SA-CORE-2026-017”, Drupal Security Team, Nov. 18, 2026, https://www.drupal.org/sa-core-2026-017 (additional source); The Hacker News, Nov. 25, 2026 (source article)

Database Exhaustion Burst Followed by Installer Access

The installer only reopens when its database checks fail, fail and then succeed, so the attacker has to push the site to its limits first. Searchlight Cyber describes two ways: on Apache, holding database connections open with many concurrent slow requests (they used the CSS asset route, /sites/default/files/css/css_*.css with an include parameter and _format=json) until PostgreSQL or MySQL refuses new connections with SQLSTATE[HY000] [1040] Too many connections; on PHP-FPM, firing several hundred fast requests a second (they used POSTs to /core/authorize.php with an X-HTTP-Method-Override: GET header, which Drupal answers with an empty 400) until the server runs out of source ports and PHP logs SQLSTATE[HY000] [2002] Cannot assign requested address. The correlation is a burst of either request pattern, or a spike in those two database errors, from one source or within one short window, followed within minutes by requests to /core/install.php.

Join web access logs with PHP or Drupal watchdog logs and database server logs (refused connections, max-connections events), and on PHP-FPM hosts add a host metric for TIME_WAIT sockets to the database port if you collect it. Baseline the normal rate of 400 responses from authorize.php and of asset requests carrying _format=json, which should be close to zero for most sites. Expect noise from real traffic peaks, crawlers and outages that also throw connection errors; the installer request after the burst is what separates an attack from a bad afternoon. Rate limiting helps but isn’t a fix, because the race can be run slowly from many addresses. A hit means someone was attempting exploitation: confirm the patch level, run the Junior and Pro leads against the same host and window, and escalate if the installer request succeeded. The pattern generalizes to any application that converts a resource-exhaustion error into a trusted “not installed” or default state.

Hunt Lead Level: 3 (Elite)

ATT&CK: Impact → T1499.002 (Endpoint Denial of Service: Service Exhaustion Flood) (used here as an enabler, not the goal); Initial Access → T1190 (Exploit Public-Facing Application)

Sources: “Fail2Install: Turning System Limits into Pre-Auth RCE in Drupal”, Searchlight Cyber, Nov. 24, 2026 (additional source); The Hacker News, Nov. 25, 2026 (source article)

Hash Appendix

Planted SQLite/PHP payload files

No file hashes were published in the source article, the Drupal advisory or Searchlight Cyber’s research, and each payload file is unique to the site it was written on. No hashes were looked up in OTX AlienVault or VirusTotal for this report.

MD5s

(not available)  # attacker-chosen *.php under the web root -> SQLite database holding PHP payload

SHA1s

(not available)  # attacker-chosen *.php under the web root -> SQLite database holding PHP payload

SHA256s

(not available)  # attacker-chosen *.php under the web root -> SQLite database holding PHP payload

References Appendix

  • “Drupal Fail2Install Exploit Details Emerge as Critical RCE Flaw Faces Active Exploitation”, The Hacker News (Ravie Lakshmanan), Nov. 25, 2026, https://thehackernews.com/2026/11/drupal-fail2install-exploit-details.html
  • “Fail2Install: Turning System Limits into Pre-Auth RCE in Drupal”, Searchlight Cyber (Kevin Gervot, Adam Kues), Nov. 24, 2026, https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal
  • “Drupal core – Highly critical – Remote code execution – SA-CORE-2026-017”, Drupal Security Team, Nov. 18, 2026 (exploitation update added later), https://www.drupal.org/sa-core-2026-017
  • “CISA Adds Three Known Exploited Vulnerabilities to Catalog”, CISA, Nov. 24, 2026, https://www.cisa.gov/news-events/alerts/2026/11/24/cisa-adds-three-known-exploited-vulnerabilities-catalog
  • “Securing the installer (install.php)”, Drupal.org documentation, https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-the-installer-installphp

More from the Roundup