# CVE-2026-132165: Drupal core install.php site takeover and remote code execution

Source: https://junglewise.ai/threats/cve-2026-132165-drupal-core-2026-017-drupal-core-ships-with-an-install-php-file  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-26. Updated: 2026-11-20  
License: CC BY 4.0 with a link back

CVE-2026-132165 · Severity: critical · Exploited in the wild · Published 2026-11-26

Drupal, a widely-used content management system, includes an installer script (install.php) that can be exploited by attackers under certain conditions to reinstall the site or achieve remote code execution. An attacker who gains access to this installer can completely take over a Drupal site, modify its configuration, inject malicious code, or extract sensitive data. While some attack paths are blocked if the web server cannot modify the settings.php file, the vulnerability poses a significant risk to unpatched Drupal installations.

Technologies: [Drupal Core](https://junglewise.ai/threats/technologies/core), [drupal/core (Packagist)](https://junglewise.ai/threats/technologies/packagist-drupal-core). Vendors: [Drupal](https://junglewise.ai/threats/vendors/drupal), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-132165 exploited in the wild?** Yes. CVE-2026-132165 is known to be exploited in the wild, first recorded on 24 November 2026. Treat it as urgent.

**How severe is CVE-2026-132165?** Critical severity, published 26 November 2026.

**Which products and versions are affected?** Drupal Core 8.0.0 through 10.6.21; 11.0.0 through 11.3.21; 11.4.0 through 11.4.12; drupal/core (Packagist) ECOSYSTEM:introduced=0,fixed=10.6.22|ECOSYSTEM:introduced=11.0.0,fixed=11.3.22|ECOSYSTEM:introduced=11.4.0,fixed=11.4.13.

**Is there a fix for CVE-2026-132165?** Yes. drupal/core (Packagist): upgrade to 10.6.22 or later. Until then: The Drupal Security Team recommends securing the Drupal installer after installation by restricting web server access to install.php, removing the file, or disabling directory write permissions on settings.php to block some exploit paths. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-132165 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-132165?** Check whether you run Drupal Core or drupal/core (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- drupal/core (Packagist): upgrade to 10.6.22 or later

  ```sh
  composer require drupal/core:^10.6.22
  ```


The Drupal Security Team recommends securing the Drupal installer after installation by restricting web server access to install.php, removing the file, or disabling directory write permissions on settings.php to block some exploit paths.

## Technical details

The vulnerability exists in Drupal's install.php installer script, which remains accessible after initial installation under specific conditions. An attacker with network access can invoke the installer to reinitialize Drupal, potentially overwriting the site database configuration and gaining administrative control. The attack vector is network-based and requires specific preconditions such as web server write permissions on settings.php or missing access controls on the installer. The advisory recommends securing the installer by restricting access or removing it after installation.

## Affected products

- Drupal core 8.0.0 through 10.6.21; 11.0.0 through 11.3.21; 11.4.0 through 11.4.12

## Identifiers

- CVE-2026-132165
- DRUPAL-CORE-2026-017

## Timeline

- 2026-11-18: disclosed
- 2026-11-18: advisory

## References

- [https://www.drupal.org/u/larowlan](https://www.drupal.org/u/larowlan)
- [https://www.drupal.org/u/pameeela](https://www.drupal.org/u/pameeela)

## Related threats

- [Drupal core access bypass in installer](https://junglewise.ai/threats/cve-2026-136716-improper-check-for-unusual-or-exceptional-conditions)
- [Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Drupal core allows Object Injection.](https://junglewise.ai/threats/cve-2026-132166-drupal-core-2026-018-drupal-core-contains-a-chain-of-methods)
- [Drupal core Link module cross-site scripting in markup sanitization](https://junglewise.ai/threats/cve-2026-108515-drupal-core-2026-015-the-drupal-core-link-module-provides-a)
- [Drupal Navigation module cross-site scripting in attributes](https://junglewise.ai/threats/cve-2026-108514-drupal-core-2026-016-the-navigation-module-doesn-t-sufficiently)
- [Drupal Core remote code execution in Field UI module](https://junglewise.ai/threats/cve-2026-108097-drupal-core-2026-014-a-remote-code-execution-vulnerability)
