Drupal Core Remote Code Execution Vulnerability
TL;DR 📌
- Drupal Core contains a not failing securely vulnerability that could allow an unauthenticated attacker to take over an existing site or execute arbitrary code via the Drupal installer. Under specific conditions, the attacker can use install.php to attempt to reinstall Drupal on the site.
- Listed in CISA KEV (2026-11-24) — this is being exploited in the wild.
- Check the advisory for fixed releases — remediation detail is in the vendor link below.
- CVEs: CVE-2026-132165.
What it is
CVE-2026-132165 is a “not failing securely” flaw in Drupal Core’s installer. The installer script, install.php, is normally only meant to run when a site has no existing configuration. Under specific conditions, that check doesn’t hold, and an unauthenticated attacker can invoke install.php against a site that is already installed and running.
Because the installer is designed to set up a fresh site — including writing configuration and creating an initial administrative account — reaching it on a live site gives an attacker a path to take it over outright. The summary describes this as reinstalling Drupal on the site, which implies the attacker can effectively reset or overwrite the existing installation state and, from there, execute arbitrary code.
The access path is unauthenticated and network-facing: no credentials or prior session are needed, and the entry point is a standard file shipped with Drupal Core rather than a contributed module or custom code. The advisory does not specify what the “specific conditions” are, so sites should not assume they are protected simply because install.php isn’t linked from the front end.
This CVE is listed in CISA’s Known Exploited Vulnerabilities catalogue, added on 2026-11-24, so it is known to be exploited.
What to do
- Treat this as urgent: unauthenticated RCE on Drupal Core, in KEV, with no fixed version yet named in the advisory.
- Consult the Drupal Security Advisory for CVE-2026-132165 directly to get the affected core version range and the patched release — the data available here doesn’t include fixed versions, so don’t guess at a safe branch.
- As an immediate mitigation, block or restrict access to install.php at the web server or edge (firewall rule, reverse proxy rule, or .htaccess/nginx location block) on any site that is already installed and should never need to run the installer again.
- Check webserver and application logs for requests to install.php outside of expected provisioning windows, as a basic indicator of attempted exploitation.
- Once Drupal publishes a fixed release, patch promptly and treat any site that shows install.php access attempts as potentially compromised — don’t assume a clean patch retroactively fixes an already-exploited instance.
- If you manage multiple Drupal sites, prioritise patching or mitigating public-facing instances first, since the access path requires no authentication.
For leadership 🧭
Executive summary. An unauthenticated attacker can trigger Drupal’s install.php on a site that is already running, potentially overwriting its configuration and creating a new admin account to take full control. This is already being exploited and has no patched version identified yet, so mitigation needs to happen now rather than waiting for a fix.
Why it matters:
- The flaw sits in Drupal Core’s own install.php, not a contributed module, so it affects any standard Drupal deployment rather than a niche add-on.
- No authentication or session is required — the attacker only needs network access to the site to attempt reinstallation.
- A successful reinstall can overwrite configuration and create a fresh admin account, handing the attacker full control and a path to arbitrary code execution.
- It is listed in CISA’s KEV catalogue, meaning this is a known, active exploitation path rather than a theoretical weakness.
Now / Next / Later:
- Now: Block or restrict access to install.php at the web server or edge (firewall, reverse proxy, or .htaccess/nginx rule) on every Drupal site that is already installed and shouldn’t need to run the installer again.
- Next: Check the Drupal Security Advisory for CVE-2026-132165 to identify the affected core version range and the patched release once published, and schedule patching for public-facing sites first.
- Later: Build a standing rule into deployment practice that install.php (and similar one-time setup endpoints) are blocked at the edge by default on all live sites, and review logs periodically for unexpected access attempts to provisioning scripts.