# Drupal core: the installer could reinstall an existing site, exploited (CVE-2026-132165 and CVE-2026-136716)

By Vadim Nareyko, founder, Arviser. Published 2026-11-27 · Updated 2026-11-28 · Last reviewed 2026-11-27

**From the record**.

- Updated 2026-11-28: CISA's ADP entry in the CVE-2026-136716 record now lists exploitation as "active" (updated 2026-11-28 04:55 UTC); it said "none" before. The facts box was re-read between 07:29 and 07:35 UTC.
- Updated 2026-11-27: Sources re-read between 19:26 and 19:28 UTC. CVE-2026-136716 is in CISA KEV since 2026-11-27, due 2026-11-30. Drupal 12.0.0-rc1, released 2026-11-27, fixes the three advisories according to its release notes. Added: what to do on each pre-release and on the end-of-life 11.0 to 11.2 branches, drupal.org's order of checks and updates, and why a clean scanner result on a pre-release proves nothing.

## Facts

- Alert note: KB-N-0001 · Web and API
- Exploitation reported: 2026-11-24 · CVE-2026-132165 added to the CISA KEV catalog (https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json)
- Fix: 2026-11-18 · Fix for SA-CORE-2026-017 committed on 10.6.x, 11.3.x and 11.4.x (https://git.drupalcode.org/project/drupal/-/commit/1c977e1e8e6c)
- Exploitation reported: 2026-11-19 · drupal.org reports exploitation on live sites as early as 19:00 UTC (https://www.drupal.org/sa-core-2026-017)
- Fix: 2026-11-25 · Drupal 10.6.23, 11.3.23 and 11.4.14 released, fixed for both records (https://updates.drupal.org/release-history/drupal/current)
- Record published: 2026-11-26 · CVE-2026-132165 record published, two days after the KEV entry (https://cveawg.mitre.org/api/cve/CVE-2026-132165)
- Exploitation reported: 2026-11-27 · CVE-2026-136716 added to the CISA KEV catalog (https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json)
- CVE: [CVE-2026-132165](https://www.cve.org/CVERecord?id=CVE-2026-132165)
- CVE: [CVE-2026-136716](https://www.cve.org/CVERecord?id=CVE-2026-136716)
- CVE: [CVE-2026-132166](https://www.cve.org/CVERecord?id=CVE-2026-132166)
- GitHub advisory: [GHSA-rxxp-22w8-2353](https://github.com/advisories/GHSA-rxxp-22w8-2353)
- GitHub advisory: [GHSA-qqvx-wc6h-6prm](https://github.com/advisories/GHSA-qqvx-wc6h-6prm)
- CWE: [CWE-306](https://cwe.mitre.org/data/definitions/306.html)
- CWE: [CWE-754](https://cwe.mitre.org/data/definitions/754.html)
- Record: [CVE-2026-132165](https://www.cve.org/CVERecord?id=CVE-2026-132165) ([SA-CORE-2026-017](https://www.drupal.org/sa-core-2026-017), installer, "Highly critical", remote code execution)
- Second record: [CVE-2026-136716](https://www.cve.org/CVERecord?id=CVE-2026-136716) ([SA-CORE-2026-019](https://www.drupal.org/sa-core-2026-019), "Highly critical", access bypass)
- Same releases also fix: [SA-CORE-2026-018](https://www.drupal.org/sa-core-2026-018) (CVE-2026-132166, "Moderately critical")
- Severity: Titles from the CVE records; CVE-2026-132165: NVD 9.8 critical, CISA ADP 8.1 high; CVE-2026-136716: CISA ADP 9.8 critical, no score of NVD's own yet
- Weakness, CVE-2026-132165: CWE-306 in the CVE record, CWE-636 in CISA KEV
- Weakness, CVE-2026-136716: CWE-754 in the CVE record and in CISA KEV
- Affected, CVE-2026-132165: Before 10.6.22, 11.0.0 before 11.3.22, 11.4.0 before 11.4.13
- Affected, CVE-2026-136716: Before 10.6.23, 11.0.0 before 11.3.23, 11.4.0 before 11.4.14
- Fixed for both: 10.6.23, 11.3.23, 11.4.14, released 2026-11-25; also 12.0.0-rc1 (2026-11-27), a release candidate, according to its release notes
- Exploited: Both in CISA KEV (catalog 2026.11.27): CVE-2026-132165 since 2026-11-24, due 2026-11-27; CVE-2026-136716 since 2026-11-27, due 2026-11-30. drupal.org says CVE-2026-136716 is exploited in the wild; CISA's ADP entry in its CVE record (updated 2026-11-28 04:55 UTC) lists exploitation as 'active'
- Pre-releases: 11.5.0-beta1 (2026-10-15) and 12.0.0-beta2 (2026-10-14), before the fix; 12.0.0-rc1 (2026-11-27), which its release notes say fixes SA-CORE-2026-017, -018 and -019 present in 12.0.0-beta2. drupal.org covers no alpha, beta or release candidate with its security advisories
- In scanner databases: GitHub GHSA-rxxp-22w8-2353 and GHSA-qqvx-wc6h-6prm (no package range), OSV DRUPAL-CORE-2026-017 and -019; OSV flags `drupal/core` 11.4.13 with DRUPAL-CORE-2026-019
- Checked: 2026-11-28 07:35 UTC

## What happened

Drupal's installer, `core/install.php`, could start a new installation on a site that was already installed. CISA says an unauthenticated attacker could take over the site or run code through the installer, and that "under specific conditions" `install.php` can be used to attempt a reinstall. The fix of 2026-11-18 adds checks so that the installer refuses to run on an installed site, and ties an interactive installation to the browser session that started it. A week later, SA-CORE-2026-019 (CVE-2026-136716) changed the same installer code again. drupal.org reports both as exploited, and CISA lists both in KEV. CISA's entry for the second record says an unauthenticated attacker can take over a site through the exposed installer when the site is in "one of the affected unusual or incomplete installation states". We have not verified what those conditions and states are.

## Who is affected

Drupal core in the ranges above. drupal.org says 11.2.x and below and 10.5.x and below are end-of-life and get no fix. We did not check Drupal 7 or other unsupported branches. In SA-CORE-2026-019 it says the affected state is not apparent in the user interface, that it includes production sites, and that any site that left its installer remotely accessible after SA-CORE-2026-017 may still have been compromised. Its compromise guide says updating to 10.6.22, 11.3.22 or 11.4.13 did not protect against SA-CORE-2026-019, so a site updated on 18 November still needs the checks if its installer was reachable from the internet at any time since then.

Pre-releases: 11.5.0-beta1 (2026-10-15) and 12.0.0-beta2 (2026-10-14) came out before the fix, and drupal.org says betas are "not covered by Drupal security advisories". 11.5.0 has no later pre-release. 12.0.0-rc1 came out on 2026-11-27; its release notes say it fixes the vulnerabilities of SA-CORE-2026-017, -018 and -019 "present in Drupal 12.0.0-beta2", and that release candidates "are not supported for production sites". The release history says release candidates are "not covered by Drupal security advisories".

## Am I affected?

**The version is the check.** Under your Drupal root:

```sh
grep "const VERSION" core/lib/Drupal.php
```

or, in a Composer project, `composer show drupal/core` and read the `versions` line. What the result means:

- 10.6.23, 11.3.23, 11.4.14 or later on the same branch: both fixes are in the code. Run the checks and the database updates (next section).
- 10.6.22, 11.3.22, 11.4.13: fixed for CVE-2026-132165, affected by CVE-2026-136716. Update.
- Lower on 10.6, 11.3 or 11.4: affected by both.
- 11.0.x to 11.2.x, or 10.5.x and older: inside the affected ranges of both records, and drupal.org says these branches are end-of-life and get no fix. Run the checks and upgrade to a supported branch; until then, keep the installer blocked, as drupal.org's compromise guide says.

Pre-releases:

- 12.0.0 alpha or beta: drupal.org's 12.0.0-rc1 release notes say the three advisories' vulnerabilities are present in 12.0.0-beta2. For 12.0.0-alpha1 and -beta1 drupal.org does not say; our reading: they are older, so treat them as affected too. Treat as affected: run the checks and keep the installer blocked. drupal.org names 12.0.0-rc1 as the release with the fixes.
- 12.0.0-rc1: drupal.org's release notes say it fixes those vulnerabilities. It is a release candidate, which drupal.org says is not supported for production sites and not covered by its advisories. We did not test it. Run the checks and keep the installer blocked.
- 11.5.0-beta1: released before the fix, with no later 11.5 pre-release. drupal.org has not said whether it is affected. Our reading of the release dates and git history: treat it as affected, run the checks, and block the installer as drupal.org describes.

**A 403 on `/core/install.php` proves nothing.** It shows that one request from one place was refused, by your server, a proxy or a CDN. drupal.org recommends blocking the installer on every site and says SA-CORE-2026-019 does not affect a site that already secured it. Its own Nginx guide notes that an exact-match block can still let `/core/install.php/foo` reach the installer on some configurations. So a 403 seen from outside does not show that the block covers every path and every virtual host. Do not record it as "not affected".

**A clean scanner result on a pre-release proves nothing.** On 2026-11-27 OSV listed no records for `drupal/core` 11.5.0-beta1, 12.0.0-beta2 or 12.0.0-rc1: the ranges of its records for these advisories, DRUPAL-CORE-2026-017, -018 and -019, end on the 11.4 branch. drupal.org's own rc1 release notes say 12.0.0-beta2 has the vulnerabilities.

## Fix, and what the upgrade does not do

In the order of drupal.org's guide "Checking whether your site was compromised through the installer":

1. Block the installer first, as its guide on securing the installer describes.
2. Run the compromise checks before the database updates: the update changes some of the values the checks read. Copy the web server logs since 2026-11-18 somewhere safe now; the guide notes that some hosts keep logs for only a few days.
3. Update core to 10.6.23, 11.3.23 or 11.4.14. Back up the database, then run database updates (`update.php` or `drush updatedb`) and write down when you ran them. SA-CORE-2026-019 says an update hook must run: the release adds `system_post_update_mark_installation_finished`, which marks an incomplete installation as finished.
4. Keep the installer blocked; the guide says permanently.

What the upgrade does not do:

- **Replacing the code does not run the update.** Drupal runs post-update functions only when database updates run. `updatedb` runs every pending update of core and contributed modules, not only this one, so take the backup.
- **Blocking the installer has side effects.** It also stops browser installs of new multisite sites; drupal.org says to use `drush site:install` then. A line added to `.htaccess` is lost on the next Composer scaffold run.
- **It does not undo a takeover.** drupal.org reports exploitation on live sites as early as 2026-11-19 19:00 UTC. Its checks: the site logs for unauthorised access, changes to user 1 or made by user 1, that user 1's email is an address you control (consider resetting its password), and its page "Checking whether your site was compromised through the installer". CISA's entry also asks for forensic triage (next section).

## Exploitation, as CISA lists it

CVE-2026-132165 was added to KEV on 2026-11-24, due date for US federal agencies 2026-11-27. Known ransomware use: "Unknown". Forensic triage: "Yes". Required action: apply the vendor's mitigations under CISA's BOD 26-04 and its forensics triage requirements, or stop using the product if no mitigation exists. CISA added it two days before the CVE record was published (2026-11-26). CVE-2026-136716 was added to KEV on 2026-11-27, due date 2026-11-30. Known ransomware use: "Unknown". Forensic triage: "Yes". Required action: the same as above. CISA lists it as CWE-754 and links SA-CORE-2026-019. The CISA ADP entry in its CVE record, updated 2026-11-28 04:55 UTC, shows exploitation as "active" and refers to the KEV entry.

## Sources

Opened 2026-11-27 between 13:24 and 14:04 UTC; the facts box was read again at 15:04 UTC. Every source below except the Composer, module.api.php and Drush code was read again between 19:26 and 19:28 UTC. NVD was read through its API. On 2026-11-28 between 07:29 and 07:35 UTC every source below except the Composer, module.api.php and Drush code was read again, including the CVE-2026-132165 and CVE-2026-132166 records and NVD for both, again through its API.

- CVE record CVE-2026-132165, CVE program API (CNA: Drupal, with the CISA ADP entry): https://cveawg.mitre.org/api/cve/CVE-2026-132165 (accessed 2026-11-28)
- CVE record CVE-2026-132166, CVE program API: https://cveawg.mitre.org/api/cve/CVE-2026-132166 (accessed 2026-11-28)
- CVE record CVE-2026-136716, CVE program API (with the CISA ADP entry): https://cveawg.mitre.org/api/cve/CVE-2026-136716 (accessed 2026-11-28)
- CISA Known Exploited Vulnerabilities catalog, JSON feed, catalog 2026.11.27: https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json (accessed 2026-11-28)
- Drupal git, "fix: SA-CORE-2026-017" on 11.4.x (1c977e1e8e6c): https://git.drupalcode.org/project/drupal/-/commit/1c977e1e8e6c (accessed 2026-11-28)
- Drupal git, "fix: SA-CORE-2026-017" on 11.3.x (341aef9e26a5): https://git.drupalcode.org/project/drupal/-/commit/341aef9e26a5 (accessed 2026-11-28)
- Drupal git, "fix: SA-CORE-2026-017" on 10.6.x (b5c1f46ddac5): https://git.drupalcode.org/project/drupal/-/commit/b5c1f46ddac5 (accessed 2026-11-28)
- Drupal git, "fix: SA-CORE-2026-019" on 11.4.x (cc92f32f4a8c): https://git.drupalcode.org/project/drupal/-/commit/cc92f32f4a8c (accessed 2026-11-28)
- Drupal git, core/lib/Drupal.php at 11.4.14: https://git.drupalcode.org/project/drupal/-/blob/11.4.14/core/lib/Drupal.php (accessed 2026-11-28)
- drupal.org release history XML, Drupal core: https://updates.drupal.org/release-history/drupal/current (accessed 2026-11-28)
- Packagist, drupal/core: https://packagist.org/packages/drupal/core (accessed 2026-11-28)
- GitHub Advisory Database, GHSA-rxxp-22w8-2353: https://github.com/advisories/GHSA-rxxp-22w8-2353 (accessed 2026-11-28)
- GitHub Advisory Database, GHSA-qqvx-wc6h-6prm: https://github.com/advisories/GHSA-qqvx-wc6h-6prm (accessed 2026-11-28)
- OSV, Packagist drupal/core: https://osv.dev/list?ecosystem=Packagist&q=drupal%2Fcore (accessed 2026-11-28)
- NVD, CVE-2026-132165, secondary: https://nvd.nist.gov/vuln/detail/CVE-2026-132165 (accessed 2026-11-28)
- drupal.org, SA-CORE-2026-017: https://www.drupal.org/sa-core-2026-017 (accessed 2026-11-28)
- drupal.org, SA-CORE-2026-018: https://www.drupal.org/sa-core-2026-018 (accessed 2026-11-28)
- drupal.org, SA-CORE-2026-019: https://www.drupal.org/sa-core-2026-019 (accessed 2026-11-28)
- drupal.org, release notes of Drupal 12.0.0-rc1: https://www.drupal.org/project/drupal/releases/12.0.0-rc1 (accessed 2026-11-28)
- drupal.org, "Securing the installer (install.php)": https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-the-installer-installphp (accessed 2026-11-28)
- drupal.org, "Checking whether your site was compromised through the installer": https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/checking-whether-your-site-was-compromised-through-the-installer (accessed 2026-11-28)
- Composer, ShowCommand.php: https://github.com/composer/composer/blob/main/src/Composer/Command/ShowCommand.php (accessed 2026-11-27)
- Drupal, module.api.php (hook_post_update_NAME): https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Core/Extension/module.api.php (accessed 2026-11-27)
- Drush, UpdatedbCommand.php: https://github.com/drush-ops/drush/blob/15.x/src/Doctor/Commands/updatedb/UpdatedbCommand.php (accessed 2026-11-27)

## Corrections

No corrections.

How this page was made: Claude Opus 5.5, an AI model, wrote this note from the sources listed. A separate AI agent checked it against the sources. Vadim Nareyko approved the template and the first three notes on 27 November from a summary in Russian.

Text and data on this page: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Quoted third-party material keeps its own terms.
