CVE-2026-132165: Critical RCE in Drupal Core

A critical vulnerability in the Drupal Core installer may allow unauthenticated remote attackers to take control of vulnerable websites and execute arbitrary code. Active exploitation has been reported, and administrators are strongly encouraged to apply the available security updates immediately.

On November 18, 2026, the Drupal Security Team released security updates addressing a critical remote code execution vulnerability in Drupal Core, identified as CVE-2026-132165.

The vulnerability affects the Drupal installation mechanism and, under specific conditions, may allow unauthenticated remote attackers to take control of existing websites or execute arbitrary code on the underlying server.

On November 24, 2026, the Cybersecurity and Infrastructure Security Agency (CISA) added the vulnerability to its Known Exploited Vulnerabilities (KEV) catalog following reports of active exploitation.

Security Vulnerability

Parameter Description
CVE Identifier CVE-2026-132165
Security Advisory SA-CORE-2026-017
Affected Software Drupal Core
Affected Component Drupal installer (install.php)
Security Risk Highly Critical (20/25)
Attack Vector Network
Attack Complexity High
Authentication Required No
Confidentiality Impact High
Integrity Impact High
Security Impact Site Takeover and Remote Code Execution (RCE)
Exploitation Status Actively Exploited
Security Fix Available

Drupal Core includes an installation script used to configure new Drupal websites.

Under certain conditions, a remote attacker may access the installation mechanism and initiate a reinstallation attempt against an existing Drupal website.

Successful exploitation may result in unauthorized administrative access or arbitrary code execution.

Affected and Fixed Versions

Drupal Branch Affected Versions Fixed Version
Drupal 10.x Before 10.6.22 10.6.22
Drupal 11.0–11.3 11.0.0 to 11.3.21 11.3.22
Drupal 11.4 11.4.0 to 11.4.12 11.4.13

Administrators running unsupported Drupal branches should migrate to a supported release containing the security fix.

Security Impact

Depending on the server configuration and application permissions, successful exploitation may result in:

  • Unauthorized administrative access.
  • Complete website takeover.
  • Unauthorized modification of website content and configuration.
  • Exposure of sensitive application data.
  • Execution of arbitrary PHP code.
  • Installation of malicious scripts, web shells, or persistent backdoors.

The Drupal Security Team notes that restricting write access to the settings.php configuration file mitigates certain exploitation paths but does not provide complete protection.

Active Exploitation

The Drupal Security Team has received reports of exploitation against live websites as early as November 19, 2026, at 19:00 UTC.

On November 24, 2026, CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities catalog.

Administrators should prioritize remediation due to the confirmed exploitation activity.

Update Recommendations

We strongly recommend that customers running Drupal on their virtual or dedicated servers update their installations to the latest available security release.

If Drupal is managed through Composer, you can check the currently installed core version using the following command:

composer show drupal/core

Updating Drupal

For installations using the standard Composer-based Drupal project structure, core packages can be updated using the following command:

composer update "drupal/core-*" --with-all-dependencies

If Drush is installed, apply any required database updates and rebuild the application cache:

vendor/bin/drush updatedb -y
vendor/bin/drush cache:rebuild

Important: Create a complete backup of your website files and database before performing an update. Ensure that your Composer dependency constraints permit installation of a fixed Drupal release.

Temporary Mitigation

If an immediate update is not possible, administrators should restrict public access to the Drupal installer.

NGINX

Add the following configuration to the corresponding virtual host, before the general PHP location:

location ~* /(?:core/)?install\.php(?:/|$) {
    return 403;
}

Validate the configuration and reload NGINX:

nginx -t && systemctl reload nginx

Apache

For Apache servers, the following directive can be added to the virtual host configuration:

<Files "install.php">
    Require all denied
</Files>

Validate the configuration before reloading Apache.

Administrators should also ensure that the web server process cannot modify the settings.php file or change its permissions after Drupal installation is complete.

Warning: These measures are intended for existing Drupal installations. Restricting access to the installer is a temporary mitigation and should not be considered a replacement for the official security update.

Security Recommendations

Considering the confirmed exploitation activity, administrators are advised to:

  • Update Drupal Core to a supported security release.
  • Restrict access to installation scripts.
  • Review web server access logs for suspicious requests to install.php.
  • Review administrative accounts for unauthorized changes.
  • Inspect website files for unexpected modifications.
  • Maintain regular backups of application files and databases.
  • Investigate any signs of compromise before returning affected websites to production.

Applying security updates does not remove malicious files or backdoors from an already compromised website.

cve drupal patching php rce