CVE-2026-132165: Drupal Core Remote Code Execution Vulnerability
CVE-2026-132165 is a critical remote code execution (RCE) vulnerability in Drupal Core. It allows an unauthenticated attacker to exploit a ‘not failing securely’ condition in the Drupal installer (`install.php`) to reinstall the site or execute arbitrary code. This vulnerability is actively exploited, posing a significant risk to unpatched Drupal installations.
Overview
CVE-2026-132165 is a critical remote code execution (RCE) vulnerability in Drupal Core. It allows an unauthenticated attacker to exploit a “not failing securely” condition in the Drupal installer (install.php) to reinstall the site or execute arbitrary code. This vulnerability is actively exploited, posing a significant risk to unpatched Drupal installations.
Technical Analysis
- Vulnerability: Drupal Core contains a “not failing securely” vulnerability related to its installer component.
- Affected Component: The Drupal installer, specifically
install.php. - Attack Vector: An unauthenticated attacker can access
install.php. - Exploitation: Under specific, unspecified conditions, the attacker can leverage
install.phpto attempt to reinstall Drupal on the site. This process can be manipulated to achieve arbitrary code execution or take over an existing site. - Impact: Full site takeover, arbitrary code execution, and potential data compromise.
Detection
- Web Server Logs: Monitor web server access logs for unusual or repeated requests to
install.phpafter the initial site setup. Look for POST requests with suspicious parameters or high frequency access from a single source IP. - Process Monitoring: Detect unexpected child processes spawned by the web server process (e.g.,
apache,nginx,php-fpm,w3wp) such ascmd.exe,powershell.exe,sh,bash,python, or other scripting interpreters. This indicates successful remote code execution. - File System Monitoring: Look for unexpected file modifications or creations in the Drupal web root, especially in configuration or module directories, that occur outside of legitimate administrative actions.
Sigma Detection Rules
Drupal Core install.php Reinstallation Attempt
title: Drupal Core install.php Reinstallation Attempt
id: 2b8e01f2-c7d6-4a9b-8e1f-0c3d2a5b4e6f
status: experimental
description: Detects suspicious access patterns to install.php which could indicate an attempt to exploit CVE-2026-132165 for reinstallation or RCE.
logsource:
category: webserver
detection:
selection:
cs-uri-stem|contains: '/install.php'
condition: selection
level: high
Web Server Spawning Suspicious Shell Process (Drupal RCE)
title: Web Server Spawning Suspicious Shell Process (Drupal RCE)
id: 5f9c1d8e-7a3b-4c2d-9e0f-1a2b3c4d5e6f
status: experimental
description: Detects a web server process spawning common shell or scripting interpreter processes, indicative of successful RCE via vulnerabilities like CVE-2026-132165.
logsource:
product: windows
service: sysmon
detection:
selection_parent:
ParentImage|endswith:
- '\apache.exe'
- '\nginx.exe'
- '\w3wp.exe'
- '\php-cgi.exe'
- '\php-fpm.exe'
selection_child:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\bash.exe'
- '\sh.exe'
- '\python.exe'
- '\perl.exe'
condition: selection_parent and selection_child
level: critical
Mitigations
- Patching: Apply the latest security updates for Drupal Core immediately. Consult official Drupal security advisories for specific patch versions.
- Restrict Installer Access: After initial installation, ensure
install.phpis inaccessible to public users. This can be achieved by deleting the file (if safe for the specific Drupal version/setup) or configuring web server rules (e.g.,.htaccess, Nginxlocationblocks) to deny external access. - Principle of Least Privilege: Ensure the web server process runs with the minimum necessary permissions to limit the impact of successful exploitation.
- Web Application Firewall (WAF): Deploy and configure a WAF to detect and block suspicious requests targeting
install.phpor common RCE payloads.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-132165
- https://ltna.com.au/cyber
Indicators of Compromise
No public IOCs available at time of writing.
MITRE ATT&CK
Generated by
gemini-2.5-flash ·1,602 input / 1,307 output tokens ·
Reviewed and approved by a human analyst before publication