Drupal’s security team has patched a critical remote code execution flaw that could let attackers take over vulnerable sites, and it is warning administrators that exploit code may surface quickly.
The issue is tracked as CVE-2026-132165 and was dubbed Fail2Install. According to the advisory, anonymous users may be able to abuse the installer to reinstall Drupal core under specific conditions, which can lead to a site takeover or remote code execution.
The flaw was discovered by Anthropic’s OSS Scanner, according to the report. The security team said that some exploit paths are mitigated if the web server cannot write to or change permissions on settings.php.
Drupal recommended that site owners upgrade to Drupal 10.6.22, 11.3.22, or 11.4.13. Those who cannot update immediately were told to block access to /core/install.php in the web server configuration or the site’s .htaccess file.
On the same day, Drupal also addressed a moderately critical gadget chain flaw, CVE-2026-132166, which could allow remote code execution on a targeted site if an attacker already has admin privileges and another security flaw causes the application to deserialize untrusted data.
The team said in a Monday advance warning that vulnerabilities rated critical could see exploits developed “within hours or days.” It also noted that at least one of the issues can be exploited by anonymous users.