CVE-2026-132165 - Drupal Core Remote Code Execution Vulnerability

CVE-2026-132165

Drupal Core - Site Takeover by Reinstalling a Live Site Through install.php

What is Drupal Core?

Drupal is an open-source content management system and web application framework written in PHP, used for everything from small community sites to government portals, university estates and large newsroom properties. "Drupal core" is the base distribution: the routing, entity, rendering, user and configuration systems that every Drupal site runs, before any contributed modules are added.

Part of that base distribution is install.php, the web-based installer. On a fresh download it is the entry point that collects database credentials, writes settings.php, creates the schema and establishes the first administrator account, user 1. That makes the installer a uniquely sensitive piece of code: it is the one component designed to run before authentication exists and to end by handing its caller full administrative control. Drupal's own documentation has long recommended securing the installer after installation, which tells you the project understood the exposure well before this CVE.

Overview

CVE-2026-132165 is the case where that installer can be reached on a site that is already installed. Drupal's advisory states it plainly and narrowly: Drupal core ships with an install.php file for installing Drupal core, and under specific conditions an attacker can use the installer to attempt to reinstall Drupal. The advisory does not enumerate those conditions, which is a deliberate choice while sites are still patching. A successful reinstall means the attacker chooses the database the site points at and creates user 1, which is site takeover, and from an administrative position in Drupal, code execution follows as a matter of routine.

Drupal published SA-CORE-2026-017 on 2026-11-18 with fixes in three branches, and at the time rated it 18/25 with E:Proof, meaning a proof of concept was known but no exploitation had been seen. That changed within days. The advisory now carries an update stating that the Security Team received a report the flaw was exploited on live sites as early as 2026-11-19 19:00 UTC, and the risk score was raised to 20/25 with E:Exploit. CISA added it to the KEV catalog on 2026-11-24.

NVD has not yet published a record for this CVE, so no CVSS score or vector exists and this page shows the severity as unscored. Drupal's own rating is the figure to work from: Highly critical, 20/25, AC:Complex/A:None/CI:All/II:All/E:Exploit/TD:Uncommon. In Drupal's scale that reads as no authentication required, total confidentiality and integrity impact, confirmed exploitation, but complex access conditions and an uncommon target distribution, the latter two reflecting that not every Drupal site meets the preconditions.

Affected Versions

Product Vulnerable Fixed
Drupal core 11.4.x 11.4.0 through 11.4.12 11.4.13
Drupal core 11.3.x 11.3.0 through 11.3.21 11.3.22
Drupal core 11.0.x to 11.2.x 11.0.0 and later in these branches End of life, no security coverage; move to a supported branch
Drupal core 10.6.x Before 10.6.22 10.6.22
Drupal core 10.5.x and earlier All versions End of life, no security coverage
Drupal 8 and Drupal 9 All versions End of life (PSA-2021-06-29, PSA-2023-11-01)

The advisory's machine-readable range is <10.6.22 || >=11.0.0 <11.3.22 || >=11.4.0 <11.4.13. Sites on 11.2.x or lower, or on 10.5.x or lower, get no fix at all and must upgrade branch, not just version.

Technical Details

The weakness is a failure to fail securely: code intended to run only in a pre-installation state can be invoked against a site that is already installed, and the resulting flow does not refuse. Drupal has not published the specific check that can be bypassed or the conditions needed to reach it, and no CWE has been assigned, so the mechanism below the advisory's description should be treated as not publicly established.

What the advisory does disclose about the attack surface is useful on its own. No authentication is required, so the attacker is anonymous. Access complexity is rated Complex and target distribution Uncommon, which together mean this is not a flaw every Drupal site is vulnerable to in its default state, and it is not a single unconditional request. Crucially, the advisory notes that some but explicitly not all exploit paths are mitigated if the web server cannot write to or change permissions on settings.php, which tells you file-system hardening narrows the problem without closing it, and that at least one path does not depend on rewriting the settings file at all.

Horizon3.ai's analysis adds that internet exposure is not strictly required for an attacker who can already reach the installer path, though that is their inference rather than Drupal's wording.

Discovery

The advisory credits discovery to Anthropic's OSS Scanner, under the internal identifier ANT-2026-GMRPK0BU, making this an automated-analysis find rather than a manual audit or an incident response discovery. It was reported by Lee Rowlands (larowlan) of the Drupal Security Team along with Pamela Barone (pameeela), Scott Euser (scott_euser), Stephan Zeidler (szeidler) and Tyler Nighswander (tylerni7-ant).

The fix was developed by a large group of Drupal Security Team members: Alex Pott, Benji Fisher, catch, cilefen, David Strauss, Lee Rowlands, Dave Long (longwave), Drew Webber (mcdruid), Jess (xjm), and provisional members Mingsong and Vijay Mani. Thirteen people coordinated the release, led by Alex Pott and Benji Fisher. The size of that roster is a reasonable proxy for how seriously the project took the finding.

Exploitation Context

Exploitation is confirmed by the vendor. The Drupal Security Team's update records a report of live-site exploitation from as early as 2026-11-19 19:00 UTC, which is roughly a day and a half after the patch shipped, a typical interval for n-day exploitation of a high-value CMS where the fix itself narrows down the bug for anyone diffing it.

Drupal has not identified affected organizations or said how many sites were compromised, and no threat actor has been attributed. No ransomware use is recorded and no chaining with other CVEs has been reported. A proof of concept was known to the Security Team before disclosure, reflected in the original E:Proof rating, but no public PoC has been attributed to a named publisher. No Shadowserver, Censys or other exposure counts specific to this flaw have been published, which is unsurprising given that vulnerability depends on site conditions rather than on a network-visible version string. Some hosting providers acted independently: Level27, for example, restricted access to /core/install.php and /install.php across its customer estate.

Remediation

  1. Update Drupal core now: 11.4.13 for the 11.4.x branch, 11.3.22 for 11.3.x, or 10.6.22 for 10.6.x. This is the fix; everything below is a holding action.
  2. If you run 11.2.x or earlier, or 10.5.x or earlier, or Drupal 8 or 9, there is no patch for your branch. Upgrade to a supported branch, treating the site as exposed until you do.
  3. If you cannot update immediately, follow Drupal's documented instructions for securing the installer and verify that requests to the installer return HTTP 403 or 404. Block public access to install.php and core/install.php in the web server configuration (Apache or Nginx), in the site root .htaccess, or by removing the installer file outright.
  4. Ensure the web server user cannot write to settings.php or change its permissions. Drupal is explicit that this mitigates some but not all exploit paths, so do it in addition to patching, never instead of it.
  5. Confirm your installer restrictions do not break legitimate operations, in particular database updates via update.php and any deployment tooling that touches the site install state.
  6. Review web server access logs for requests to install.php or core/install.php on installed sites, with particular attention to anything from 2026-11-19 19:00 UTC onward. Drupal has published no indicators of compromise, so this timing-based log review is the practical starting point.
  7. If a reinstall attempt appears to have succeeded, treat the site as fully compromised: verify the contents of settings.php and the database connection it names, audit the user table for unexpected accounts and especially for changes to user 1, check for unexpected files in the webroot, and rotate database credentials, the site hash salt and any API keys the site holds.
  8. Sites behind Drupal Steward are reported by the project to be protected from known attack vectors, but the project still directs them to upgrade.
  9. Federal civilian agencies were required to remediate by 2026-11-27 under CISA BOD 26-04.

Key Details

PropertyValue
CVE ID CVE-2026-132165
Vendor / Product Drupal - Core
CVSS 3.1 ScorePending
SeverityUNKNOWN
CISA KEV Added2026-11-24
CISA KEV Deadline2026-11-27
Known Ransomware Use No

Required Action

CISA BOD 26-04 Deadline: 2026-11-27. Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA's BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA's "Forensics Triage Requirements" (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Timeline

DateEvent
2026-11-18Drupal publishes SA-CORE-2026-017 and releases Drupal 10.6.22, 11.3.22 and 11.4.13
2026-11-19Earliest exploitation on live sites later reported to the Drupal Security Team, from 19:00 UTC
2026-11-23Advisory updated to confirm live-site exploitation; Drupal raises its risk score from 18/25 with E:Proof to 20/25 with E:Exploit
2026-11-24Added to CISA Known Exploited Vulnerabilities catalog
2026-11-27CISA BOD 26-04 remediation deadline