Thursday, November 26, 2026

Drupal Fail2Install (CVE-2026-132165): How a Database Error Reopens the Installer

Fail2Install (CVE-2026-132165) is a highly critical flaw in the Drupal core installer that lets an unauthenticated attacker reopen install.php on a live site, take it over, and in some setups run code on the server. Drupal fixed it on November 18, 2026 in versions 10.6.22, 11.3.22 and 11.4.13 (advisory SA-CORE-2026-017). Exploitation on live sites was reported as early as November 19 at 19:00 UTC, and CISA added it to its Known Exploited Vulnerabilities catalog on November 24. Then, by November 26, Drupal had followed with a second advisory, SA-CORE-2026-019 (CVE-2026-136716), because some sites stuck in odd install states were still exposed after the first patch. That one is also being exploited. If you run Drupal, the short version is: update to 10.6.23, 11.3.23 or 11.4.14, run update.php, and block the installer.

That's the triage. The mechanism is where the story gets interesting.

How does Fail2Install trick Drupal into reinstalling a live site?

Every Drupal site ships with an installer. On a finished site, visiting it should get you a polite "Drupal already installed" page and nothing else. To decide that, the installer connects to the database named in settings.php and looks for Drupal's tables. It does this more than once during a single request.

The bug lives in how those checks handle failure. In affected versions, the early checks treated a database error as evidence that Drupal hadn't been set up yet. StepSecurity, which reproduced the flaw in its own lab, points to a code comment that says, in effect, don't raise an error if the query fails because the database might not exist yet. The check that does stop on a database error runs later. So if the database refuses the first connections and accepts a later one, all inside one request, the installer concludes the site is brand new. It then shows its setup forms on a production website.

Searchlight Cyber researchers Kevin Gervot and Adam Kues, who published the detailed write-up that named the bug, describe the pattern as FAIL, FAIL, then SUCCESS. Two refusals and one acceptance, in the right order. From there the installer's database form writes whatever settings it receives into settings.php. An attacker can point the live site at a database they control and create the administrator account. That's a full takeover, without ever logging in.

Turning "too many connections" into a security primitive

The clever part is how the researchers forced those failures on stock configurations. They didn't need a second bug. They used ordinary resource limits, the kind most of us file under availability and hand to the operations team.

On Apache with PostgreSQL, the numbers line up almost by accident. PostgreSQL allows 100 connections by default, and Drupal's official Apache image runs up to 150 PHP workers, each of which opens a database connection per page. Hold enough slow requests open and the database starts refusing newcomers. Free a slot at the right moment and the installer's later check gets through. On Apache with MySQL, the default limit is 151 connections, more than Apache has workers, so the researchers needed each request to hold two. They found that a Referer header containing an invalid UTF-8 byte makes Drupal's database logger fail to save the log entry and retry on a second connection. One malformed header, two connections.

PHP-FPM was harder. It runs only five workers by default, far too few to fill a database's connection pool. So the researchers went after the operating system instead. Linux holds each closed outbound connection's port in a state called TIME_WAIT for about 60 seconds, and by default it has 28,232 ports available for outbound connections. Open roughly 471 new database connections per second and the web server runs out of ports to talk to its own database. PHP reports "Cannot assign requested address," and the installer reads that as an empty site.

That reframing deserves more attention than it's getting. Security reviews tend to treat resource exhaustion as a denial-of-service problem: bad, but bounded. Fail2Install shows what happens when code catches a failure and converts it into a trusted conclusion. "I couldn't reach the database" quietly became "there is no site here." The fix for that class of bug isn't a bigger connection pool. It's refusing to treat an error as a state.

From site takeover to code execution

Owning the admin account is bad enough. Searchlight's write-up also describes a shorter path to running PHP on the server, and StepSecurity confirmed the final step independently. At a conceptual level, it works like this. The installer supports SQLite and lets the user choose where the database file goes, without restricting the file extension. Choose a path inside the web root with a .php extension, put PHP code in the site name field, and the installer writes that code into a file the web server will execute. Drupal's stock .htaccess blocks direct requests to PHP files outside the core directory, but its exception for core scripts only checks how the URL ends, which leaves room to route around it.

Here's the detail I'd flag for anyone running Apache. StepSecurity reports that the fixed releases don't change that .htaccess rule. The patch closes the installer re-entry. It doesn't stop a planted PHP file in a code directory from running if an attacker can write one there by some other route. Drupal's official Docker image lets the web server user own web/modules, and StepSecurity could write a PHP file there as that user. Making code directories read-only for the web server is a separate control, and it's one you want regardless of this CVE.

Drupal's advisory credits the original discovery to Anthropic's OSS Scanner, an automated code scanner, under the identifier ANT-2026-GMRPK0BU. Searchlight found the same bug independently and says its report turned out to be a duplicate, but that its work on making the flaw exploitable on default setups was still novel. Two teams, one human-led and one automated, landing on the same installer logic is a sign of where vulnerability discovery is heading. Patch windows are going to keep shrinking.

Why SA-CORE-2026-019 followed so quickly

The first fix made four changes to the installer, according to StepSecurity's review of the commit. A database error now stops the installer with a requirements problem. A finished installation can't be resumed. Only the browser session that started an installation can continue it. And the installer no longer tries to change permissions on settings.php.

Then came the follow-up. SA-CORE-2026-019, rated highly critical at 21 out of 25 on Drupal's own scale, says certain sites in "unusual or incomplete install states" were still open to takeover after SA-CORE-2026-017, including production sites. Drupal's wording is blunt: you can't tell from the user interface whether a site is in that state, and a site that's already been compromised may no longer look vulnerable. The fix requires running update.php, because an update hook has to repair existing sites. Sites that had already secured their installer were never exposed to this second issue.

Scale matters here. StepSecurity counted about 55,800 internet-facing Drupal services on Shodan on November 26, with roughly 31,500 on affected branches and around 15,000 of those on end-of-life Drupal 8 and 9, which will never get a patch. Those are lower bounds. There's a further catch for anyone hoping to scan their way to certainty: modern Drupal advertises only its major version, so a banner reading "Drupal 11" can't tell a patched site from an unpatched one.

What Drupal admins should do this week

Work it in order:

  • Update to Drupal 10.6.23, 11.3.23 or 11.4.14, or later, then run update.php. Rebuild and redeploy containers from fixed images; a running container keeps its old code.
  • Block /core/install.php at the web server or WAF on every site, new and old, following Drupal's guidance on securing the installer. A 403 or 404 from outside is what you want to see.
  • Check the user 1 account. Confirm its email address is one you control, look for unexpected changes to or by it, and consider resetting its password.
  • Remove the web server's write access to code directories such as web/modules, and to settings.php.
  • Plan the migration for anything on Drupal 8, 9, 10.5 or 11.0 to 11.2. No fix is coming.

For detection, the attack is noisy by nature. In StepSecurity's 20-second lab flood, roughly 12 percent of installer requests reopened the setup form on the unpatched site, and the flood itself produced 15,490 HTTP 500 errors alongside thousands of logged database connection refusals. Look for bursts of connection-limit errors in database logs, spikes of 500s, and any request to install.php on a production host. Also look for new .php files appearing in module or theme directories. StepSecurity also found that capping concurrent connections per source address at 20 stopped its single-host flood outright. A distributed flood would get past that, so treat it as a speed bump, not a wall.

CISA's deadline for federal civilian agencies is November 27, which is Thanksgiving. Attackers don't take the holiday. The good news is that the most effective control here, keeping the installer unreachable on a finished site, has been Drupal's advice for years. It costs one line of server config. Write it before the turkey comes out.

References

Drupal Security Team. (2026, November 18). Drupal core: Highly critical: Remote code execution: SA-CORE-2026-017. Drupal.org. https://www.drupal.org/sa-core-2026-017

Drupal Security Team. (2026). Drupal core: Highly critical: Access bypass: SA-CORE-2026-019. Drupal.org. https://www.drupal.org/sa-core-2026-019

Gervot, K., & Kues, A. (2026). Fail2Install: Turning system limits into pre-auth RCE in Drupal. Searchlight Cyber. https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal

StepSecurity. (2026). Fail2Install (CVE-2026-132165): Drupal installer flaw lets attackers take over sites and run code. StepSecurity Blog. https://www.stepsecurity.io/blog/fail2install-cve-2026-132165

Lakshmanan, R. (2026, November 26). Drupal warns of new highly critical site takeover vulnerability under active exploitation. The Hacker News. https://thehackernews.com/2026/11/drupal-warns-of-new-highly-critical.html

1Password Breach: How One Employee's GitHub Account Reached Customer Data

1Password disclosed on November 25, 2026 that an attacker took over an employee's corporate GitHub account, used it to push malicious code to backend services, and copied customer account records for a subset of users, including names and email addresses. The company says vault contents, passwords, Secret Keys and the keys that protect vaults were never exposed. The attacker also copied private source code and reached 1Password's CI/CD system (the automated pipeline that builds and deploys its software). For customers, the practical risk right now is targeted phishing. For every engineering team, the bigger lesson is about what a single developer account can reach.

The investigation started on November 19. The disclosure landed six days later, the day before Thanksgiving in the United States, and within hours it was sitting near the top of Hacker News with more than 1,400 points and over 600 comments. People care when the password manager gets hit. They should. They should also read past the headline, because the shape of this breach says more than the brand name does.

What did the attacker take from 1Password?

According to 1Password's own account, the attacker downloaded account records for some customers. Those records include account and user identifiers, account creation and last sign-in times, public keys, parameters for the Secure Remote Password (SRP) protocol, and tokens embedded in certain emailed links for invitations, provisioning and account recovery. There was also what the company calls non-secret internal metadata, such as version and file identifiers. Separately, the attacker copied source code from private repositories and got into CI/CD, which holds infrastructure secrets the product needs to run.

Some of that list sounds scarier than it is. Public keys are public by design. SRP is a login protocol built so that the server never receives or stores your actual password; what it keeps is a verifier derived from your credentials, and 1Password says the parameters taken cannot be used to get into an account. The company also says it never stores your account password or your Secret Key, the long random value that sits on your devices and is needed the first time you sign in somewhere new. That's the whole point of the architecture. An attacker who owns the server should still be holding a locked box.

The emailed tokens deserve a closer look. When 1Password sends an invitation to join an account through its SCIM Bridge or Hosted Provisioning (SCIM is the standard that lets identity systems create and remove user accounts automatically), or sends an account recovery link, that email contains a token. The company says the token alone can't open an account. It has to be paired with either a single sign-on login or a six-digit code sent to the user's registered email. Only a small number of users had pending invites or recoveries during the incident, and 1Password says it notified them directly.

Still, six digits is a million combinations. That's a keyspace you defend with rate limits, not with math. 1Password clearly reached the same conclusion, because it lengthened those codes from six numeric digits to ten alphanumeric characters. That's a good change. It's also an admission that the old margin was thinner than anyone wanted once the tokens were in someone else's hands.

Why a GitHub account was the real door

Here's the part I'd put in front of every engineering manager this week. The attacker didn't break the encryption. Nobody claims they found a flaw in the vault design. They got one employee's corporate GitHub account and used it to change what production servers were running.

Read that again in operational terms. A source code account was able to push code that reached backend services, and that code was able to pull administrative customer data. For many organizations, that path is normal. Merge to main, the pipeline builds, the pipeline deploys. The developer's identity becomes, in effect, a production credential, and often a more powerful one than anyone's actual production access, because the pipeline runs with its own secrets and doesn't ask questions.

1Password hasn't said how the account was compromised, and I won't guess. What the company did say is that it disabled the account, revoked the stolen token, removed the access the attacker created, rotated or revoked every internal credential that may have been exposed, and tightened its GitHub, CI/CD and endpoint controls with new detections. The phrase "stolen token" is the one I'd circle. Long-lived tokens tied to a developer's account are among the most valuable things on a laptop, and they often outlive the session that created them.

There's an uncomfortable echo here. Only weeks ago, 1Password published a post about a wave of October incidents across AI and developer platforms, where access to one system kept turning into credentials for others. One of its examples was a leaked admin key that was deleted from a repository but never revoked, and later used to compromise a release pipeline. The advice in that post was sound: reduce plaintext copies, scope each workflow's access, revoke anything that might have leaked. This breach doesn't make that advice wrong. It shows how hard it is to follow all of it, everywhere, all the time, even for a company whose product exists to help you do exactly that.

Is my 1Password vault safe, and what should users do?

Based on everything 1Password has published, yes. The company says no vault contents, account passwords, Secret Keys or recovery keys were accessed, and it reports no internal evidence of account takeovers using the exposed provisioning tokens. It also says you don't need to change anything in your account. Independent experts were brought in to validate containment. You don't have to take a vendor's word as gospel, but nothing in the public record contradicts it.

The real exposure is your identity as a 1Password customer. An attacker now holds a list of names and email addresses that are confirmed to use a password manager, along with sign-in timing metadata. That's a phishing list with a built-in pretext. Expect emails, texts and calls about "suspicious activity," "account recovery" or "a new team invitation." 1Password says it will never ask for your account password or Secret Key, and that you should enter them only in the official app or on a site address you typed yourself.

A few habits cover most of it:

  • Ignore any 1Password invitation or recovery email you didn't start. If you're unsure, open the app directly instead of clicking the link.
  • Never type your Secret Key anywhere except when setting up a new device or browser, and only on a page you navigated to yourself.
  • Treat phone calls claiming to be 1Password support as hostile until proven otherwise.

That's it for individuals. Calm, not complacent.

What security teams should check in their own pipelines

If you run engineering or security for any organization, the useful question isn't whether 1Password got this right. It's whether one of your developers' GitHub accounts could do the same thing to you. In practice, what I'd check first is the path from a merged commit to running production code. Who can push to the branches that deploy? Does a deploy require a second human, or can a single compromised identity ship code on its own? Are branch protections enforced for administrators too, or only for everyone else?

Then look at tokens. Personal access tokens and OAuth tokens tied to developer accounts should be short-lived, narrowly scoped and inventoried, with an alert when one is used from an unfamiliar location or for an unusual action. CI/CD secrets should be scoped per job, not sprayed across every workflow. And when you rotate, rotate at the issuer. Deleting a key from a file has never revoked it.

Finally, ask what your backend would do if new code started bulk-reading customer records. 1Password's malicious code downloaded administrative data from inside its own services. Egress patterns, query volume on account tables, and service identities touching data they don't normally touch are all signals you can watch. Most teams don't, because the code doing the reading is "theirs."

1Password's architecture did its job. The vaults stayed sealed, which is precisely what zero-knowledge design promises. But the attacker still walked off with source code, pipeline access and a customer list, all through a door that most companies leave just as wide. The encryption held. The question for the rest of us is whether our build systems would.

References

1Password. (2026, November 25). Update on a security incident involving 1Password's backend systems. 1Password Blog. https://1password.com/blog/update-on-nov-2026-security-incident

Lakshmanan, R. (2026, November 26). 1Password hacked, customer data and source code stolen in GitHub account breach. The Hacker News. https://thehackernews.com/2026/11/1password-hacked-customer-data-and.html

1Password. (2026). What October taught us about exposed credentials. 1Password Blog. https://1password.com/blog/october-security-incidents-exposed-credentials

Hacker News. (2026, November 25). 1Password security incident [Online forum discussion]. Y Combinator. https://news.ycombinator.com/item?id=50644817