An AI scanner found a way to reinstall Drupal through a setup file that stays on the server for good. Exploitation was reported within a day, and nearly a third of sites sit on branches the patch does not cover.
Key Takeaways
Most Drupal sites were installed once, years ago, and nobody has thought about the installer since. That is the problem Drupal's security team fixed on November 18. The setup script that builds a new site stays on the server after the site is live, and under the right conditions an anonymous visitor can use it to start the installation over and take the site with it. The team warned in advance that exploits might follow within hours or days. A report of exploitation on live sites came in roughly a day later, and close to a third of the sites reporting to Drupal run versions the patch does not reach.
The Drupal advisory, SA-CORE-2026-017, describes CVE-2026-132165 plainly: Drupal core ships with an install.php file, and "under specific conditions, an attacker can use the installer to attempt to reinstall Drupal," which can lead to site takeover or remote code execution. The team rates it highly critical at 20 out of 25 on its own risk scale. It scores attack complexity as complex and the affected configurations as uncommon, but it also records a working exploit and full impact on confidentiality and integrity. Some, but not all, exploit paths are blocked where the web server cannot write to or change permissions on settings.php. The fixed releases are 11.4.13, 11.3.22 and 10.6.22.
The timeline left little slack. Two days before release, the team's public service announcement told site owners to reserve time on November 18 between 17:00 and 21:00 UTC, because "exploits might be developed within hours or days," and said at least one vulnerability could be exploited by anonymous users. An update to the advisory now says the team received a report that the flaw was exploited on live sites as early as 19:00 UTC on November 19, about a day after the fixes shipped.
The exposure is wider than the "uncommon" label suggests, because of where the file lives. As The Hacker News reported, install.php ships with every copy of Drupal core, stays in place after installation, and is not blocked by core's default .htaccess rules, so protecting it is left to each site. Drupal's history shows how quickly these windows close. BleepingComputer noted that Drupal confirmed active exploitation of SQL injection flaw CVE-2026-9082 in May, and that CISA has flagged five Drupal vulnerabilities as exploited in the wild since November 2021, two of them in ransomware attacks. The same release also fixed CVE-2026-132166, a moderately critical gadget chain that an attacker with admin rights could turn into code execution.
The patch only helps sites on supported branches. The advisory states that Drupal 11.2.x and below, 10.5.x and below, and Drupal 8 and 9 are end-of-life and receive no security coverage. The Hacker News put a number on that: in the week of November 8, 154,485 of 528,430 reporting sites ran end-of-life branches. That is about 29% of the sites Drupal can count, with no fixed release to install. For them, the only protection is the interim guidance: block access to install.php in the web server configuration or the .htaccess file, or remove the file and keep it removed. Drupal Steward, the project's paid web application firewall service, protects against the known attack vectors, though the advisory still tells Steward users to upgrade in case new vectors appear.
The supported window is also getting shorter. According to The Hacker News, Drupal 11.3.x and Drupal 10 lose security coverage in December, and on November 2 the security team said a surge of AI-attributed security reports exceeds what it can sustain at current funding. Starting in 2027 it is cutting security coverage for core minor versions from 12 months to 8. This is also the second critical remote code execution flaw fixed in Drupal core in two months, after a Field UI flaw patched on October 14. A site that upgrades once a year will spend more of that year on a branch nobody is patching.
The flaw was discovered by Anthropic's OSS Scanner, which the advisory credits by its internal ID. The service launched on October 8 and, as Help Net Security reported, sends AI-generated findings to project teams without human review, with reproduction steps and, when available, fixes. Anthropic says human validation had become a bottleneck in its research. In an assessment of an early version, penetration testers reviewed 97 high and critical findings across 48 projects and found that 85 met Anthropic's coordinated disclosure criteria, 11 were real but duplicated known issues, and one was invalid. Anthropic also cautions, "We can't guarantee the scanner will be perfect."
The volume is the part IT teams should plan around. Anthropic's coordinated disclosure dashboard, last updated November 2, lists 5,087 vulnerabilities disclosed across 680 open source projects, 3,635 acknowledged by maintainers and 629 patched to Anthropic's knowledge. Discovery is running far ahead of repair. Each of those fixes lands on site owners as an upgrade, and Drupal's experience this month shows how short the gap between advisory and attack has become. Defenders cannot shorten the attacker's side of that gap, but they can shorten their own.
The installer flaw is the kind of bug that sat in plain sight because everyone assumed it was finished business. AI scanners are now very good at finding exactly those, and attackers are reading the same advisories defenders are. The sites that come through this are the ones that knew which Drupal versions they ran, could patch within a day, and had already closed the door the installer left open.
Guide
A forgotten install.php on an end-of-life Drupal branch is security debt in its purest form. This guide's warning that AI will turn dormant flaws into a target list, and its plan for cutting fix half-life below 90 days, match what happened to Drupal this week.
Download
Whitepaper
Drupal's installer bug came out of automated AI discovery, the pressure this paper says bolted-on security cannot absorb. Its walk-through of threat modeling, release scanning and client patch alerts shows how to catch a leftover setup path before a scanner does.
Download
eBook
Exploitation of the Drupal installer was reported about a day after the fix shipped. This ebook argues that AI mostly helps attackers hit old gaps such as unpatched systems at machine speed, which is the case for watching end-of-life sites now, not after an upgrade.
Download
One opened message file leaks an NTLMv2 hash, and a queue sorted by severity reaches the fix last.
Signs of one flaw surfaced in a 2024 audit, the fix stalled for months, and attackers probed PHP before patches shipped.
Exploits now arrive within a day of disclosure, and the first ransomware attack run end to end by AI has been confirmed.