Skip to main content
All incident reports
Incident report

Drupal core critical flaw lets attackers abuse bundled installer for code execution

Drupal's security team has published a critical advisory for Drupal core: under specific conditions an attacker can use the bundled install.php file to try to reinstall the site, leading to site takeover or remote code execution. The team says upgrading alone is not enough and the installer should also be secured after installation.

· First published · Last updated

The short version

  • The flaw. Drupal core ships an install.php script used to install the software. The Drupal Security Team says an attacker can use that installer against a running site to attempt a reinstall, which can result in site takeover or remote code execution. The issue is advisory SA-CORE-2026-017, tracked as CVE-2026-132165, and needs no credentials.
  • Affected versions. Horizon3 lists Drupal core before 10.6.22, 11.0.0 through 11.3.21, and 11.4.0 through 11.4.12 as vulnerable. The fixes are Drupal 10.6.22, 11.3.22 and 11.4.13, released on 18 November.
  • Not yet exploited. Horizon3 notes that Drupal's advisory does not report exploitation in the wild, and no in-the-wild attacks were reported in public coverage on 19 November. Drupal had warned in advance that exploits might be developed within hours or days.
  • Workarounds and Steward. Admins who cannot update at once can block access to /core/install.php in the web server configuration or the web root .htaccess file, and ensure the web server cannot write to settings.php. Drupal says Steward customers are protected from known attack vectors but should still upgrade.
  • A second flaw. The same day, Drupal fixed CVE-2026-132166, a moderately critical gadget chain that an attacker with admin privileges can use to reach remote code execution if the application deserialises untrusted data because of another flaw.

Timeline

DateEvent
MayDrupal confirms that attackers are actively exploiting an SQL injection flaw, CVE-2026-9082, in its database abstraction API.
16 NovDrupal issues an advance warning of critical core vulnerabilities and urges sites to reserve time for updates.
18 NovDrupal publishes SA-CORE-2026-017, releases updated core versions and also fixes the gadget chain flaw CVE-2026-132166.
19 NovBleepingComputer reports the flaw's CVE identifier, the fixed versions and the workaround for sites that cannot update immediately.
19 NovHorizon3 publishes an analysis setting out the affected version ranges and noting that Drupal's advisory does not report in-the-wild exploitation.

How the installer is turned into an attack path

Drupal core ships an install.php script for installing the software. According to the Drupal Security Team, under specific conditions an attacker can invoke that installer against an already-installed site and drive a reinstallation, which can end in site takeover or remote code execution. No credentials are needed: BleepingComputer and Horizon3 both describe the flaw as exploitable by anonymous users, with no user interaction reported. Drupal rates it Critical at 18/25 on its own risk scale; NVD has not yet published a CVSS v3.1 score.

Some attack paths are closed if the web server cannot write to or change permissions on settings.php, the file that holds database credentials and site configuration. Horizon3 also reports Drupal's statement that only uncommon module configurations are exploitable. Internet exposure is not required: any attacker who can reach install.php, from an internal network or a staging environment, can make the attempt.

Versions, fixes and interim measures

Horizon3 lists Drupal core before 10.6.22, 11.0.0 through 11.3.21, and 11.4.0 through 11.4.12 as affected. The patched releases are Drupal 10.6.22, 11.3.22 and 11.4.13, published on 18 November. Drupal 8, Drupal 9, 10.5.x and below, and 11.2.x and below are end-of-life and receive no security coverage, so those sites have to move to a supported branch.

Drupal advises blocking access to /core/install.php in the web server configuration or in the .htaccess file in the site root, and keeping installer access restricted after upgrading. Horizon3 describes these steps as workarounds, not a fix; only the patched releases resolve the vulnerability. Drupal Steward customers, who use the paid web application firewall service, are protected from known attack vectors but should still upgrade in case more are found.

No source reports exploitation of CVE-2026-132165. In its 16 November advance warning, the Drupal Security Team urged sites to reserve time for core updates because exploits might be developed within hours or days.

A second fix and Drupal's recent record

Alongside the critical core issue, Drupal fixed CVE-2026-132166, a moderately critical gadget chain. BleepingComputer reports that an attacker with admin privileges can use it to gain remote code execution on a targeted site if the application deserialises untrusted data because of another security flaw.

Drupal has dealt with other serious issues this year. In May it confirmed that attackers were actively exploiting an SQL injection flaw, CVE-2026-9082, in its database abstraction API, and it has more recently warned that a critical access bypass in the Commerce Core module, CVE-2026-118539, is being abused in attacks.

BleepingComputer reports that CISA has flagged five Drupal vulnerabilities as exploited in the wild since November 2021, two of which have also been abused in ransomware attacks. None of the sources link those campaigns to the newly patched core flaw.

What is not known yet

  • Which module configurations Drupal means by the specific conditions under which the installer can be abused; the advisory does not name them.
  • Whether anyone has attempted the reinstall attack against a live site since 19 November, when no in-the-wild exploitation had been reported.
  • How many Drupal sites run a configuration that is exploitable, including internal and staging installs that are not reachable from the internet.
  • Whether NVD will publish a CVSS score for CVE-2026-132165, which it had not done at the time of Horizon3's analysis.
  • Whether the gadget chain flaw CVE-2026-132166 has been exploited.

What to do

If you run Drupal core

  1. Upgrade to Drupal 10.6.22, 11.3.22 or 11.4.13.
  2. Make sure the web server cannot write to or change permissions on settings.php.
  3. Keep access to the installer restricted after upgrading, as Drupal advises.

If you cannot upgrade yet or rely on Drupal Steward

  1. Block access to /core/install.php in the web server configuration or in the .htaccess file in the web root.
  2. Treat that block and any Steward coverage as temporary: both are workarounds, and only the patched release resolves the flaw.

If you run an unsupported branch or assume internal sites are safe

  1. Move Drupal 8, 9, 10.5.x and below, and 11.2.x and below to a supported branch; those branches receive no security coverage.
  2. Include internal-network and staging Drupal installs in the sweep, since Horizon3 notes that internet exposure is not required.

Update log

  • Added the affected version ranges, Drupal's 18/25 risk rating, the note that only uncommon module configurations are exploitable, and that no in-the-wild exploitation has been reported.
  • Added the CVE identifier CVE-2026-132165, the fixed Drupal core version 10.6.22, the /core/install.php workaround, the advance warning of 16 November and the second flaw fixed as CVE-2026-132166.
  • First published.

Sources

New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our Privacy Policy.

Want us to look at your domain?

Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required.