Skip to content
>_KernelBrief
Cybersecurity

Drupal Core Installer Flaw CVE-2026-132165 Is Being Exploited: Who Is Affected and How to Patch

CISA added Drupal core installer flaw CVE-2026-132165 to its exploited list. Affected versions, fixed releases, how to block install.php and what to check.

By Published 6 min read
// SECURITY
Table of contents

CISA added Drupal core flaw CVE-2026-132165 to its Known Exploited Vulnerabilities (KEV) catalog on November 24, 2026, confirming that attackers are using it against real sites. The bug lets an unauthenticated attacker abuse Drupal's built-in installer, core/install.php, to try to reinstall an existing site, which can end in a full site takeover or remote code execution. Drupal fixed it on November 18 in 10.6.22, 11.3.22 and 11.4.13. If you run Drupal 10 or 11, update to one of those releases now, block public access to the installer at the web server, and check your logs for installer requests since November 18.

What happened, and when

The timeline is short, which is why this one deserves attention this morning:

  • November 16: the Drupal Security Team published a public service announcement warning of critical core releases two days later. It said at least one of the issues could be exploited by anonymous users and that "exploits might be developed within hours or days."
  • November 18: SA-CORE-2026-017 and the fixed releases went out. The advisory rates the flaw Highly critical, 20 out of 25 on Drupal's risk scale, with the vector AC:Complex/A:None/CI:All/II:All/E:Exploit/TD:Uncommon. In plain terms: anonymous users can attack it, a successful attack fully compromises confidentiality and integrity, exploit code exists, but exploitation is multi-step and only some configurations are exposed.
  • November 21: Drupal updated the advisory to say the Security Team had received a report of exploitation on live sites as early as November 19 at 19:00 UTC, roughly a day after the patch.
  • November 24: CISA listed CVE-2026-132165 in KEV. The catalog entry classes it as CWE-636 ("not failing securely"), sets a November 27 remediation deadline for US federal civilian agencies under BOD 26-04, and flags it for forensic triage, meaning agencies are expected to look for signs of compromise, not just patch.

The flaw was reported by members of the Drupal community and discovered by Anthropic's OSS Scanner, according to the advisory's credits. The same releases also fix a second, less severe issue, SA-CORE-2026-018 (CVE-2026-132166), described in coverage by BleepingComputer as a "moderately critical" gadget chain that only matters if another bug lets untrusted data reach PHP's unserialize().

How the installer flaw works

Drupal ships install.php so a new site can be set up from the browser. After installation the file stays in place, and Drupal's default .htaccess rules do not block it, as The Hacker News noted. The installer is supposed to refuse to run when a site already exists.

The advisory keeps the exact exploit conditions private, saying only that "under specific conditions" an attacker can use the installer to attempt a reinstall. Our reading of the public fix commit, which touches a single file (core/includes/install.core.inc), shows what changed:

  • Database check failures no longer fall through. Before the fix, if the installer could not query the site's configured database while checking for an existing installation, it swallowed the error and carried on as if no site existed. The patched code treats an unverifiable database as a failure and adds a further check that refuses to proceed once a previous install has finished. That matches CISA's "not failing securely" classification.
  • Installs are tied to one browser session. A random token is now stored at the start of an interactive install, and only the browser session holding it can continue.
  • No automatic permission changes. The installer no longer tries to fix the permissions on settings.php by itself; it reports an error instead.

That last change lines up with the advisory's note that some, but not all, exploit paths are blocked if the web server cannot write to or change permissions on settings.php. Treat this as an informed reading of the patch, not a confirmed exploit recipe: Drupal has not published one, and the "uncommon configuration" tag suggests many sites are not exposed. CISA's listing means enough sites were.

Who is affected

Per the advisory, affected versions are:

Branch Vulnerable Fixed
Drupal 11.4.x 11.4.0 – 11.4.12 11.4.13
Drupal 11.3.x 11.0.0 – 11.3.21 11.3.22
Drupal 10.6.x before 10.6.22 10.6.22
Drupal 11.2 and older, 10.5 and older, 8, 9 affected, end of life no fix: upgrade to a supported branch

The pre-release PSA also listed Drupal 12.0.0-beta3 and 11.5.0-beta1 as affected; the final advisory does not list them, so anyone testing pre-releases should move to the next beta. Drupal 7 is not mentioned in either document. Sites covered by Drupal Steward are protected against known attack vectors, the advisory says, but should still upgrade soon.

What to do now

1. Check your version. From the project root:

drush status --field=drupal-version
# or, without Drush
composer show drupal/core | grep -E '^versions'

2. Update core. For a standard Composer-managed site:

composer update "drupal/core-*" --with-all-dependencies
drush updatedb -y
drush cache:rebuild

Confirm the result is 10.6.22, 11.3.22, 11.4.13 or later. Rescana reports a theme-registry regression in these releases affecting some contrib and custom code, including Search API, so test on staging first if you can, but do not let that delay the patch for long on an internet-facing site.

3. Block the installer, and keep it blocked. The Security Team recommends securing the installer after installation even once you are patched. A web server rule survives core updates; deleting the file does not, because Composer restores it. Drupal warns against an exact-match nginx rule, so match the path as a prefix pattern. Example nginx rule, placed before your PHP handler:

location ~* ^/(core/)?install\.php {
    return 404;
}

And an Apache virtual host equivalent:

<LocationMatch "(?i)^/(core/)?install\.php">
    Require all denied
</LocationMatch>

Adapt these to your setup, then test every hostname that serves the site: /core/install.php, /install.php and /core/install.php/anything should all return 403 or 404. Blocking the installer does not affect update.php. If you run nginx, our nginx patching guide covers this week's server updates too.

4. Lock down settings.php. Make sure the web server user cannot write to settings.php or its directory (for example chmod 444 sites/default/settings.php and chmod 555 sites/default, adjusted to your deployment).

5. Look for signs of compromise. Drupal has not published indicators of compromise. Sensible checks: search access logs for installer requests since November 18 (grep -E 'install\.php' /var/log/nginx/access.log*), review admin accounts and recent role changes, compare settings.php with your known-good copy, and look for unexpected PHP files in the web root. If you find evidence of a reinstall, treat the site as compromised: restore from a clean backup, rotate database and admin credentials, and enforce strong sign-in for admins (see our two-factor authentication guide).

What is confirmed and what is not

Confirmed: the flaw, its Highly critical rating, the affected and fixed versions, Drupal's report of exploitation from November 19, and CISA's KEV listing with a November 27 federal deadline.

Not public: who is exploiting it, how many sites were hit, and the exact configurations that make a site exploitable. CISA's KEV entry marks known ransomware use as "Unknown." No public indicators of compromise exist yet.

This is the latest in a run of KEV additions where attackers moved within days of a patch, as with MONAI Label last week. For Drupal sites, the practical takeaway is simple: patch, block install.php permanently, and check whether anyone reached it first.

Frequently asked questions

+Which Drupal versions fix CVE-2026-132165?

Drupal 10.6.22, 11.3.22 and 11.4.13, all released on November 18, 2026. Everything before 10.6.22, 11.0.0 up to 11.3.21 and 11.4.0 up to 11.4.12 is listed as affected. Drupal 8, 9, 10.5 and older, and 11.2 and older are end of life and get no fix, so they need an upgrade to a supported branch.

+Is my site vulnerable if it was installed with Drush?

The vulnerable code path is the web installer, core/install.php, which stays on disk after any installation method. How the site was first installed does not remove that file, so patch and block the installer either way.

+Is blocking install.php enough instead of updating?

It is a strong interim measure and the Drupal Security Team recommends blocking the installer even after you update. It is not a substitute for the patch: the fixed releases also change how the installer handles database errors and sessions, and further attack paths may be found.

+Does Drupal 7 need this patch?

The advisory and the pre-release announcement do not mention Drupal 7, and Drupal 7 has been end of life since January 2025. The fix commits exist only on the 10.6, 11.3 and 11.4 branches.

Sources & references

  1. Drupal.org — SA-CORE-2026-017: Drupal core, Highly critical, Remote code execution (Nov 18, 2026, updated Nov 21)
  2. Drupal.org — PSA-2026-11-16: Upcoming critical Drupal core releases on November 18, 2026
  3. CISA — CISA Adds Three Known Exploited Vulnerabilities to Catalog (Nov 24, 2026)
  4. CISA — Known Exploited Vulnerabilities catalog data (cisagov/kev-data on GitHub)
  5. Drupal core (GitHub mirror) — fix: SA-CORE-2026-017 commit in 11.4.13
  6. The Hacker News — Drupal patches critical installer flaw (Nov 19, 2026)
  7. BleepingComputer — Drupal patches critical RCE flaw, warns exploits may surface quickly (Nov 19, 2026)
  8. Rescana — Drupal core installer flaw CVE-2026-132165 exploited and in CISA KEV (Nov 24, 2026)

Spotted an error? See our Corrections Policy.

  • #drupal
  • #php
  • #cms
  • #vulnerability
  • #cisa-kev
  • #remote-code-execution
  • #patch-management
  • #web-security
Dipak Suryawanshi

Dipak SuryawanshiFounder & Editor

Dipak Suryawanshi is a backend developer who works with Java and Spring Boot, focused on building APIs, clean architectures and developer tools. He founded KernelBrief, an independent technology publication based in India, sets its editorial direction and is responsible for everything published on it. Every KernelBrief article is researched and checked against primary sources such as official documentation, vendor advisories and release notes before it is published.