Back to Blog

They exhausted the database connections and Drupal's installer reopened

Patch panel of an office rack with untidy network leads and the port numbers visible

Opening the installer of a Drupal site that has been in production for years does not take an exploit: it takes its database going quiet. That is the whole of CVE-2026-132165. The installer asks "is this site already installed?" by connecting to the database; if the connection fails, the default answer is that it is not. And making it fail does not require touching Drupal at all, only spending a limit the server ships with. The failure —running out of connections— is one you have seen on any busy Tuesday. What decides whether that is a capacity incident or code execution is a design decision taken long before: what to do when you cannot check something.

The facts, in order. On 18 November the Drupal security team published SA-CORE-2026-017, rated Highly critical at 20 points out of 25 on their own scale. On the 19th at 19:00 UTC —the next day— there is already evidence of exploitation: the advisory itself records it, "The Security Team has received a report this was exploited on live sites as early as 2026-11-19 19:00 UTC." On the 24th CISA added it to its known-exploited catalogue with a 27 November deadline for US federal agencies, and that same day researchers Kevin Gervot and Adam Kues of Searchlight Cyber published how it is exploited and gave it a name: Fail2Install.

We wrote about this pattern in August, when a Tomcat control failed open. The difference is substantial and worth naming: there you had to wait for the control to fail. Here the attacker does not wait: they cause the failure. And they cause it with traffic, which is the cheapest thing there is.

The check that concludes you are not installed

The official advisory describes it with remarkable restraint: "Drupal core ships with an install.php file for installing Drupal core. Under specific conditions, an attacker can use the installer to attempt to reinstall Drupal." Those "specific conditions" are the whole article. According to Searchlight Cyber's breakdown, the installer verifies whether the site is installed by reading the configuration and opening a database connection. When that connection throws an exception, the code catches it, marks the verification state as invalid and carries on. It does not distinguish between "there is no database because this is a fresh install" and "there is a database but it is not picking up right now". To the installer they are the same case, and the default case is the first one.

There is an engineering detail worth holding on to, because it explains why this had not been found earlier: the verification does not happen once. Several points in the bootstrap ask about the database, and the sequence that reopens the installer on an already-installed site requires the first ones to fail and the last one to succeed. In other words, knocking the database over is not enough: you have to knock it over for a specific window and let go in time. That turns a dumb load attack into something you have to time, and it is, we suspect, a good part of why the flaw survived for years in plain sight. In the advisory itself, discovery credit goes to Anthropic's open-source scanner, reference ANT-2026-GMRPK0BU.

Three ways to exhaust a limit, and all three come with a factory number

The three paths the research describes exploit nothing: they spend a resource whose ceiling you did not set. They are the values your server ships with on the day you install it.

The limit Default value What PHP sees when it runs out
Simultaneous connections to the database 100 in PostgreSQL (max_connections), 151 in MySQL SQLSTATE[HY000] [1040] Too many connections
File descriptors per process 1,024 of RLIMIT_NOFILE on PHP-FPM under systemd (hard ceiling 524,288); filled by opening without closing EMFILE: a socket is just another descriptor, and there are none left
Free TCP source ports 28,232 (Linux's 32768–60999 range), held for 60 s in TIME_WAIT SQLSTATE[HY000] [2002] Cannot assign requested address

The third one is the one the research times, and its small print is worth reading. Linux's ephemeral port range runs from 32768 to 60999 —28,232 ports— and, since every closed connection sits in TIME_WAIT for about sixty seconds, Gervot and Kues calculate that exhausting it means sustaining in the order of 471 new PHP-to-database connections per second. Be careful translating that into inbound traffic, because the authors measured it and the numbers do not match: on their test bench only 43.6 % of responses ended up as a PHP-side socket in TIME_WAIT, so around 1,080 responses per second would be needed; and on the small instance they tested, with tcp_max_tw_buckets at 8,192, the error is never reached at all. Their conclusion is that remote exploitation is viable on four vCPUs and that on two it depends a good deal on the deployment. What we add is only the operational reading: a thousand responses per second is not science fiction for a shop running a campaign, and it is precisely the band that gets labelled "performance incident" today and filed away.

From "you are not installed" to a .php file that executes

Reopening the installer is not yet code execution. What turns it into execution is a chain of conveniences that, taken one at a time, anyone would have approved in review. The installer lets you choose SQLite as the engine. It lets you type the path of the database file. And it does not restrict that path's extension. If the path ends in .php and sits under the public directory, the installer creates an SQLite file there that the web server is willing to interpret as PHP. The configuration form then asks for the site name, which is stored inside that file. PHP code typed into the name box ends up inside a servable .php. The chain, per the authors, works on Drupal 8.9, 9, 10 and 11, over Apache or PHP-FPM, with MySQL or PostgreSQL behind it; and to get around the .htaccess rules that block PHP execution outside core, they use a compound path that satisfies the rule and executes the file anyway.

The window was not weeks: it was a day

Between the advisory going out and the first confirmed exploitation, one day passed. We do not give the figure in hours because the advisory does not publish the time of its own publication and we are not going to invent it; with the two dates in hand, the window is under two days and may have been a few hours. That is what needs to sink in when a patching policy is being discussed: the "we patch on the first Saturday of the month" calendar does not exist against this. And the operational question is not whether the patch is hard —it is not, it is three commands— but who was watching Drupal's advisory channel on a Wednesday afternoon.

CISA's wording, incidentally, deserves a careful read, because it is no longer what it used to be. The catalogue asks you to apply vendor mitigations in line with directive BOD 26-04, which prioritises updates by risk, and adds a sentence that was not there two years ago: "discontinue use of the product if mitigations are unavailable."

The three branches with a fix are the three still in support, and two expire on 9 December

The fixed versions are 10.6.22, 11.3.22 and 11.4.13. That looks like a list of targets and is really a census: they are exactly the three branches still receiving security fixes today. If your Drupal is on 10.5, on 11.2 or on anything older, there is no patch for you. It is not late: it is not coming. Your fix is a branch jump, with its contributed-module matrix and its afternoon of testing, while the flaw is already being used.

And now the part nobody puts in the advisory. According to Drupal's official release schedule, security support for 10.6.x and 11.3.x ends the week of 7 December 2026, and 9 December is also the end of life of all of Drupal 10. In other words: two of the three branches that solve today's problem stop receiving fixes in twelve days. The only one that holds —until 21 April 2027— is 11.4. Anyone updating to 10.6.22 today and considering the matter closed will have done the right job and bought themselves two weeks. And the trend points down: advisory PSA-2026-11-02, from 2 November, announces that from 2027 each minor version will get eight months of overlapping security coverage instead of twelve, six of bugfix support and two of security only.

If you run… Fix for this flaw End of security support
11.4.x11.4.1321 April 2027
11.3.x11.3.22week of 7 December 2026
10.6.x10.6.22week of 7 December 2026 (and end of Drupal 10 on the 9th)
10.5 and earlier, 11.2 and earlier, 9, 8None. Out of support: the fix is a branch jump. In the meantime, block the installer.

It is exactly the reasoning we applied to databases five days ago: when PostgreSQL 14 ran out of patches, 19 was not the target. The target is never the version that takes away today's fright; it is the one that leaves you alone long enough to plan the next move. Picking a branch is a maintenance decision, not a security emergency, and that is why it is almost always taken badly: it is taken in a hurry.

What this advisory does not carry is a score

You will see a 9.8 going around attached to this CVE. We went to check it against NIST's National Vulnerability Database, which is where those figures come from, and today, 25 November, querying CVE-2026-132165 returns zero results: there is no published record, and therefore no official CVSS vector either. The only verifiable thing is Drupal's own scale, 20 out of 25, and the fact —documented by CISA— that it is being exploited. This is not a pedantic objection: it means that if your prioritisation tool sorts work by CVSS score, this flaw enters your queue today with no number, ranked below things nobody is using.

The contrast is in the same batch. On 24 November CISA added three entries: Drupal, a web experimentation platform and an ASP.NET anti-CSRF library called Idunno.AntiCsrf. The one that best portrays the problem is the third, CVE-2026-131914. That one does have an NVD record, at 9.8 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and it affects "versions through 0.9.1 Beta". There is the bitter joke: the most recent version of that library is a beta, the project is unmaintained and there is no patch to apply. That is why CISA writes about discontinuing use of the product. Two entries the same day, two opposite jobs: one is fixed by updating and the other only by deleting a dependency somebody added years ago and nobody has looked at since. Knowing which of the two you have in the house is not a security problem, it is an inventory problem.

What to check, and which of it is not a patch

  • Ask for the installer over HTTP. A curl -I against /core/install.php and /install.php on every site you own. The right answer is 403 or 404. If it answers 200, you have just found what you came for.
  • Update to 10.6.22, 11.3.22 or 11.4.13, and look at the expiry date of the branch you land on before pressing enter.
  • Make settings.php and sites/default non-writable by the web server user. But quote it the way Drupal quotes it: it blocks some exploit paths, not all. It is a stopgap while you plan, not the fix. Confusing the two is how a ticket gets closed while still open.
  • Look for the trace, not just the hole. The file this chain leaves behind is an SQLite database with a .php extension, and SQLite files always begin with the string SQLite format 3. Searching for .php files under the public directory whose first bytes are that is a triage sieve of our own, cheap and reasonably specific.
  • Change what a capacity alert means. If your monitoring already watches used connections against max_connections, descriptors per process and 1040 and 2002 errors in the PHP log, you do not need to add anything: you need to change the label. A "too many connections" spike on a server running a public CMS stopped being, this week, only a performance incident.

When this is not so urgent, and the price of failing closed

If you do not run Drupal, this does not touch you, and we are not going to stretch it until it looks like it does. If your Drupal lives behind a VPN or a gateway that does not publish install.php to the internet, the hurry drops a lot. And if you are on 11.4, today's work fits in a short window and one check.

What does travel to any system is the question. What does yours do when it cannot check something? Look at three specific places: the proxy that fails to validate a token against the identity provider, the portal that cannot query the directory to resolve permissions, the firewall that cannot download the reputation list. If in any of the three the default answer is to let it through, you have this same pattern with no Drupal required.

And here it is worth being honest, because "fail closed" sounds like free advice and it is not. Failing closed has a price and it is paid in availability: when the database saturates, the system that fails closed does not serve you the site, it serves an error. That is a ticket, a phone call and an irritated salesperson. The one that fails open, by contrast, keeps serving until the day somebody works out what it leaves open. There is no good option and bad option: there is a trade-off, and the only unacceptable thing is not having decided it. Our experience is that almost nobody decides it; it is inherited from the default value of whichever library happened to get used.

The test that fits in ten minutes

Take the list of every website your company publishes —not the ones you remember, the list— and ask each of them for its /core/install.php. Ten minutes. If, on opening the drawer, that list turns out not to exist, or to have four entries plus a client portal built by somebody who has since left, that is the finding of the day and it is more serious than the CVE. A flaw you never hear about is a flaw you cannot patch, and inventory is not bureaucracy: it is the list of things your patch can act on.

Sources (verified 25 Nov 2026): the advisory date, the "Highly critical" 20/25 rating, the description of the flaw, the affected and fixed versions (10.6.22, 11.3.22, 11.4.13), the sentence about exploitation on live sites at 19:00 UTC on 2026-11-19 and the credit to ANT-2026-GMRPK0BU come from the official SA-CORE-2026-017 advisory on drupal.org. The end-of-security-support dates for 10.6.x, 11.3.x and 11.4.x come from Drupal's official release schedule, and the cut to eight months from 2027, from advisory PSA-2026-11-02. The KEV catalogue entries, the dates added (24 Nov 2026) and due (27 Nov 2026) and the reference to directive BOD 26-04 we read from CISA's known_exploited_vulnerabilities.json, catalogue version 2026.11.25. The exploitation mechanism, the three exhaustion techniques, the failure sequence and the SQLite→PHP chain come from the Fail2Install research by Kevin Gervot and Adam Kues (Searchlight Cyber, 24 Nov 2026); we paraphrase them rather than quote them. The CVE-2026-131914 figures —9.8, the vector and "versions through 0.9.1 Beta"— are from its NVD record. Our own sieve, flagged as such: the idea of looking for .php files whose first bytes are SQLite format 3, resting on the format's documented header. The 28,232 ports, the 471 connections per second, the 43.6 % conversion rate, the 1,080 responses per second and the vCPU and tcp_max_tw_buckets limits belong to the research, not to us; ours is only the reading that such a traffic band is within reach of an ordinary campaign. What we do NOT claim: that CVE-2026-132165 scores 9.8 —we queried NVD's API for that identifier today and it returns zero results, so there is no official vector to cite— nor that the window between advisory and exploitation was any specific number of hours: the advisory publishes the day, not the time. Nor do we claim to have reproduced the chain. Cover photo: Network equipment and cables organized in a server rack at a modern office environment during the afternoon by Shixart1985, CC BY 2.0 via Wikimedia Commons (4,016 px wide), cropped and darkened by us.

Who watches your applications' advisories on a Wednesday afternoon?

At everyWAN we run the data and applications of companies that would rather not learn about a critical flaw from the press: an inventory of what you publish, a watched advisory channel and the change window agreed before anyone needs it. We pair it with 24x7 support and maintenance and, when the question is one of design —what your system does when it cannot check something—, with consulting with no licences to sell. If you want us to check what your sites' install.php answers today, that review is free.

Talk to everyWAN

Tags:

Share:

Subscribe to our newsletter

To receive IT stories, everyWAN news and exclusive subscriber offers, sign up to our mailing list

Minorisa de Sistemas Informaticos y Gestión S.L. © 2026
everyWAN
everyWAN