2 min Security

Critical Drupal vulnerability allows attackers to take over sites via the installer

Critical Drupal vulnerability allows attackers to take over sites via the installer

Drupal is warning of a critical vulnerability that allows unauthenticated attackers to take over websites. An attacker can use the installer to reinstall Drupal. Administrators should update immediately, as Drupal says exploits could emerge within hours or days.

The vulnerability, known as CVE-2026-132165, is located in the CMS installer. In certain cases, an attacker can use it to reinstall Drupal. In such a situation, it is possible to take over the website and execute code. The attacker does not need to log in; even an anonymous user can exploit the vulnerability.

Multiple Drupal installations have been affected. “So don’t assume your site is safe,” the Drupal team wrote in the advance notice. More than a million websites run on the CMS.

The National Cyber Security Center (NCSC) has also issued a warning. It assesses the likelihood of exploitation as moderate, but the cyber agency warns that the potential damage is significant. Attackers could, for example, view, modify, or delete data, or post malicious content.

Update or protect the installer

The fix is included in Drupal 11.4.13, 11.3.22, and 10.6.22. Anyone still running Drupal 10.5.x or older should upgrade as soon as possible to eliminate this vulnerability. These versions are end-of-life and no longer receive security updates. For sites that cannot update immediately, Drupal has published instructions on how to secure the installer. Incidentally, there have been no reports of exploitation so far.

Previous critical vulnerabilities in Drupal were, however, actively exploited. In 2014, attacks targeting the SQL injection vulnerability known as Drupalgeddon (CVE-2014-3704) began within just a few hours of the patch’s release. In 2018, an unwelcome successor emerged in the form of Drupalgeddon 2 (CVE-2018-7600). This was a remote code execution vulnerability in Drupal 6, 7, and 8 that also allowed for complete takeover. Months later, more than 115,000 vulnerable Drupal sites were still online. Attackers installed cryptominers and backdoors, among other things.

In 2019, millions of Drupal websites were once again vulnerable, this time due to CVE-2019-6340. This vulnerability enabled RCE via web services such as REST and JSON:API. Much more recently, PHP2Shell, a vulnerability in PHP itself, affected Drupal sites as well as a massive portion of the public internet. According to Amazon, that vulnerability was already being exploited four days before it was disclosed.