A dark website-shaped slab with its setup hatch swung open, an amber key in the lock and a glowing cyan lever inside
Threat Intelligence

Drupal CVE-2026-132165 and CVE-2026-136716 Exploited: Patch Again and Block install.php

Two flaws in Drupal's installer are being exploited. The November 18 update does not close the second one, so update again, run update.php, block the installer and look for takeover.

Aprensec Research
November 26, 202613 min read
DrupalCVE-2026-132165CVE-2026-136716Fail2InstallCISA KEVRemote Code ExecutionPatch ManagementWeb SecurityINCIBE

Is your Drupal site affected by the exploited install.php flaws, and what should you do today?

On November 25, 2026, Drupal published SA-CORE-2026-019 (CVE-2026-136716), a "highly critical" access bypass that it says is being exploited in the wild. It came one week after SA-CORE-2026-017 (CVE-2026-132165), an installer flaw that can lead to site takeover or remote code execution without a login. Drupal received a report that the first was exploited on live sites as early as November 19 at 19:00 UTC. If you updated on November 18 and stopped there, you are not done. According to Drupal, sites in certain unusual or incomplete install states remained open to takeover.

Do this today: (1) block web access to core/install.php; (2) update to 10.6.23, 11.3.23 or 11.4.14; (3) run update.php (or drush updatedb), because an update hook must run to repair existing sites in the vulnerable state; (4) check logs and the user 1 account for signs of compromise. Drupal says sites that had already secured the installer are not vulnerable to the second flaw. It also warns that any site that left the installer remotely accessible after the first advisory may already have been compromised.

In Spain, INCIBE-CERT published notice INCIBE-2026-953 on November 26, rating CVE-2026-136716 critical and noting Drupal's confirmation of active exploitation.

Which Drupal versions are affected and which versions fix them?

The fixed versions changed between the two advisories. A scanner rule or change ticket that treats 10.6.22, 11.3.22 or 11.4.13 as "patched" is out of date.

A second deadline is close. Drupal's release schedule ends security support for 10.6.x and 11.3.x in the week of December 7, 2026, when Drupal 12.0.0 and 11.5.0 are due. If you are on either branch, patch now and plan the next move immediately.

Security Affairs, citing Drupal usage statistics from November 15, reports thousands of sites still on the unsupported 8.x line and tens of thousands on 9.x. The advisory summaries we reviewed do not mention Drupal 7. Searchlight Cyber says its technique, described below, does not affect Drupal 7 or Drupal 8 before 8.9.

BranchFirst fix (Nov 18)Install nowSupport note
11.4.x11.4.1311.4.14Until April 21, 2027
11.3.x11.3.2211.3.23Ends week of December 7, 2026
10.6.x10.6.2210.6.23Ends week of December 7, 2026
11.0 to 11.2, 10.5 and earlierNo fix for the branchMigrate to a supported branchEnd of life; block the installer now
Drupal 8 and 9No fixMigrate to a supported branchEnd of life

What is the timeline of Fail2Install and the follow-up flaw?

Drupal credits Anthropic's OSS Scanner with discovering the first flaw. Searchlight Cyber researchers Kevin Gervot and Adam Kues also found it independently, according to Help Net Security. Their technique is called "Fail2Install".

On the second flaw, CISA's November 24 alert predates it. Rescana reports that CVE-2026-136716 was not in version 2026.11.25 of the Known Exploited Vulnerabilities (KEV) catalogue when it checked on November 26. Check the live catalogue, but do not wait for an entry to act. The sources we read give no start date for its exploitation, no victim count and no attribution.

Date (2026)Event
October 27Searchlight confirms pre-authentication code execution on stock Apache with PostgreSQL (published later)
November 18Drupal releases SA-CORE-2026-017 and fixed versions
November 19, 19:00 UTCEarliest reported exploitation of CVE-2026-132165
November 24Searchlight publishes details; <a href="https://www.cisa.gov/news-events/alerts/2026/11/24/cisa-adds-three-known-exploited-vulnerabilities-catalog">CISA adds CVE-2026-132165 to KEV</a>
November 25Drupal releases SA-CORE-2026-019 and reports exploitation
November 26INCIBE-CERT publishes its notice on CVE-2026-136716
November 27CISA deadline for US federal agencies on CVE-2026-132165

How does the Drupal Fail2Install attack reopen the installer on a live site?

This covers CVE-2026-132165 as Searchlight describes it. Do not assume the same chain applies to CVE-2026-136716, which Drupal ties to unusual or incomplete install states.

The assumption that breaks: when someone requests core/install.php, the installer checks whether Drupal is already installed. That check depends on the database. An installed site has valid credentials in settings.php, but its database can still be unreachable for a moment.

Failing open: a first connectivity check fails, yet the installer carries on. A second step looks for an existing Drupal table. If the connection fails there too, the error is swallowed and the "already installed" flag stays false. If a later check succeeds, the installer proceeds as if the site were new. Searchlight calls this "FAIL, FAIL, SUCCESS".

Failure on demand: the attacker uses ordinary resource limits. Searchlight cites a default of 150 workers for Apache with mod_php, above PostgreSQL's default of 100 connections, so concurrent requests can use up the database connections. MySQL defaults to 151. There, the researchers used Drupal's database logging module (dblog) to make each request hold two connections: an invalid byte in the Referer header makes a log insert fail and opens a second one.

PHP-FPM is not automatic protection: its default of five child processes is too low to exhaust database connections directly. Searchlight instead exhausted the source ports Linux uses for outgoing connections. Closed connections linger in TIME_WAIT for about 60 seconds, so opening them fast enough can leave none free. This was feasible on a 4 vCPU server and less reliable on 2. Replicas, load balancing and kernel settings also matter.

For defenders, an apparent brief denial of service can change a security decision. Treat database errors next to installer requests as a security lead, not only a capacity problem.

How does a reopened Drupal installer lead to remote code execution?

First, SQLite: the reopened installer lets its user choose SQLite as the database and set the file path. The attacker picks a path inside the web root ending in .php.

Second, the site name: during configuration, the installer stores the submitted site name in that database. The attacker puts PHP code there. PHP ignores whatever comes before its opening tag, so the database file doubles as a PHP script.

Third, a weak access rule: Drupal's stock .htaccess normally blocks direct access to that file on Apache. Searchlight found that an exception for certain scripts under /core/ was not anchored to the start of the path. Adding a /core/[name].php style suffix after the malicious file's path passes the rule, and Apache runs the malicious file, treating the suffix as extra path information. The write-up does not say how this step behaves on nginx. That silence is not proof that nginx is safe.

Which Drupal server setups are exposed to remote code execution?

Drupal scores SA-CORE-2026-017 at 20 out of 25 and SA-CORE-2026-019 at 21 out of 25, and both ratings describe exploitable targets as limited to uncommon configurations. Searchlight, however, reports that its Apache and PostgreSQL chain works with default settings. Its MySQL chain relies on dblog, which it notes is enabled by the Standard installation profile. Our advice: do not lower the priority because your setup looks ordinary. The table summarises Searchlight's findings for CVE-2026-132165 on unpatched Drupal 8.9, 9, 10 and 11. It is not an exposure test.

Drupal says some, but not all, exploit paths for the first flaw are blocked if the web server cannot write to settings.php or change its permissions. It also says its Drupal Steward web application firewall service protects against known attack vectors, but sites should still upgrade.

Web server / PHPDatabaseSearchlight's finding
Apache with mod_phpPostgreSQLReproducible with default settings
Apache with mod_phpMySQLWorks using dblog to double connections
PHP-FPMPostgreSQL or MySQLNeeds source-port exhaustion; depends on capacity and tuning

How do you block Drupal install.php on Apache and nginx?

A running site does not need its web installer. Drupal's guide to securing the installer recommends a web server rule and notes that updates are unaffected, because update.php is a separate script. If you need the installer to add multisite sites, plan for that or use Drush. Blocking does not replace updating.

Apache server configuration: add three lines to every relevant virtual host, including HTTPS: <Location "/core/install.php">, then Require all denied, then </Location>. A Location block in .htaccess causes a 500 error. Run apachectl configtest before reloading.

nginx: in the HTTPS server block, add location ^~ /core/install.php { return 404; }, run nginx -t and reload. Check rules copied from elsewhere. Drupal warns that an exact match (location =) can miss paths such as /core/install.php/foo, yet at least one university advisory suggests an exact match.

Shared Apache hosting: if you can only edit the web root's .htaccess, add <Files "install.php">, Require all denied and </Files> on separate lines. Composer can overwrite this file during updates. Drupal's guide shows how to keep the rule in a separate file and append it through the drupal-scaffold file mapping.

Test: with your own domain, run curl -I https://example.com/core/install.php, curl -IL https://example.com/install.php and curl -I https://example.com/core/install.php/foo. Each should end in 403 or 404, never 200. Adjust for subdirectory installs and test every hostname, including staging and internal ones.

How do you patch Drupal and confirm the fix is applied?

For 11.4.x, the 11.4.14 release page gives this command: composer require drupal/core-recommended:11.4.14 drupal/core-composer-scaffold:11.4.14 drupal/core-project-message:11.4.14 --update-with-all-dependencies. On 11.3.x or 10.6.x, use your branch's fixed version and adapt the package list to your project.

Then run drush updatedb (or update.php) and rebuild caches. Do not close the ticket at the Composer step. Drupal requires the update hook for existing production sites in the vulnerable state, and says the interface does not show whether a site is in it.

The same release page warns that a Symfony security update released that day is not included, and that sites are responsible for third-party dependencies. Review it in the same maintenance window.

Verify: check the core version on every running instance (not only in Git), confirm no database updates are pending, repeat the curl tests after the update, and rebuild container images or hosting templates that carry the old core.

How can you tell if your Drupal site has been compromised?

We found no published attacker IP addresses or file hashes in the material we reviewed. Drupal advises looking for unauthorised access in site logs, especially changes to or by user 1 (the first administrator account), making sure its email address is one you control, and considering a password reset. A patched version is not proof of a clean site. INCIBE-CERT notes that an already compromised site may no longer show the vulnerable state.

Search web, proxy and WAF logs from at least November 18. A production site should normally receive no installer traffic. A request alone does not prove success, so correlate status codes, bursts, errors and changes. On a typical Linux server, adjust the paths and start with zgrep -E 'install.php' /var/log/apache2/access.log* /var/log/nginx/access.log*.

To catch requests shaped like the .htaccess bypass, use zgrep -E '.php/[^ ?]core/[^/ ?]+.php' /var/log/apache2/access.log. This is our hunt derived from Searchlight's technique, not a confirmed real-world indicator, and it will miss encoded variants.

To find SQLite databases disguised as PHP, use the fact that SQLite database files start with "SQLite format 3". On your web root, run find /var/www -type f -name '*.php' -exec sh -c 'head -c 15 "$1" | grep -q "SQLite format 3" && echo "$1"' sh {} ;. Investigate every hit. No hit does not clear the server: an attacker may have deleted the file or taken other actions.

Preserve any suspicious PHP file and record its hash. A private scanner such as FileScanner can give a second opinion on a copy without publishing it. Do not upload databases or files containing credentials, and do not treat a clean result as clearance. See also how to check files without VirusTotal.

Where to lookWhat to look forBasis
Access, proxy and WAF logsInstaller requests, especially POSTs, bursts or outside sourcesUniversity of Toronto, Rescana
Accounts and modulesUser 1 changes, new administrators, newly enabled modulesDrupal, University of Toronto
settings.phpUnexplained database changes, such as SQLite where you do not use itRescana advises checking changes; SQLite clue is our inference
Web root and files directoriesUnexpected PHP files, including SQLite databases named .phpRescana, University of Toronto, Searchlight technique
Database and PHP error logs"Too many connections" or "Cannot assign requested address" near installer requestsOur inference from Searchlight
EDR or process logsWeb server or PHP processes starting shellsUniversity of Toronto

filescanner.online

Scan Any File — Privately.

Deep binary analysis, YARA rules, AI summary, and PDF reports. Files up to 250 MB. No account required.

PE/ELF Binary ParsingYARA Scanning (7,300+ rules)70+ API Pattern DetectionThreat IntelligenceAI False-Positive AnalysisPDF Report Export
Try FileScanner.online

What should you do if your Drupal site was hacked?

Preserve first. Drupal's guide, Your Drupal site got hacked. Now what?, starts with a forensic copy: an operating system snapshot if possible, otherwise the database and files, with one copy on media that cannot be modified. Do this before rolling back or cleaning. Do not assume that updating removes accounts, files or changes an attacker already made.

Contain: weigh further damage against alerting the attacker when deciding whether to go offline. If the site stays online, the guide says to delete all sessions and reset passwords. We also recommend rotating, from a clean machine, every secret the web server could read, such as database passwords, API keys, mail credentials and cloud tokens. Check other sites on the same server.

Recover: compare code with known-good copies, audit users and roles, and look for injected content or code. A backup from before the intrusion may help, but patch and block the installer before it goes online. After extensive access, rebuilding may be safer.

Legal clock: if personal data may be affected, involve your privacy lead immediately. Under GDPR Article 33, a controller must notify the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware of a personal data breach, unless it is unlikely to pose a risk to people's rights and freedoms. If you are in NIS2 scope, check those reporting duties too; our NIS2 checklist for Spanish SMEs is a starting point.

I do not manage the server: what should I ask my web agency, and what should users know?

If an agency or host runs your website, ask for written answers today. 1. Do we use Drupal on any domain, microsite or test copy? 2. Is every copy on 10.6.23, 11.3.23 or 11.4.14, and did the database update run? 3. Is install.php blocked, and how was that tested? 4. Was it reachable at any point since November 18, and what did the logs and main administrator account show? 5. If we are on 10.6, 11.3 or older, when will we upgrade?

"We updated last week" does not answer question 2.

Visitors and customers cannot patch a site. If a familiar site unexpectedly redirects you, asks you to download something or requests your password in an unusual way, stop and contact the organisation through a channel you already trust. URLScanner can check a suspicious destination without you opening it, but a URL scan cannot rule out a server breach. Our guide to checking whether a website is safe explains other signs.

Sources

SA-CORE-2026-019. Drupal Security Team, November 25, 2026.

SA-CORE-2026-017. Drupal Security Team, November 18, 2026, since updated.

Securing the installer. Drupal.org, accessed November 26, 2026.

Core release schedule. Drupal.org, accessed November 26, 2026.

Drupal 11.4.14 release. Drupal.org, accessed November 26, 2026.

Your Drupal site got hacked. Now what? Drupal.org, accessed November 26, 2026.

Fail2Install research. Searchlight Cyber, November 24, 2026.

KEV catalogue alert. CISA, November 24, 2026.

INCIBE-2026-953. INCIBE-CERT, November 26, 2026.

Hackers now exploit critical Drupal RCE flaw. BleepingComputer, November 25, 2026.

Drupal installer flaw under attack. Help Net Security, November 25, 2026.

Drupal warns of new exploited flaw. Security Affairs, November 26, 2026.

CVE-2026-136716 analysis. Rescana, catalogue check dated November 26, 2026.

Drupal installer advisory. University of Toronto, November 19, 2026.

Database file format. SQLite, accessed November 26, 2026.

GDPR Article 33. gdpr-info.eu, accessed November 26, 2026.

Related articles