Drupal Fail2Install: how to protect a site and check for signs of attack

Drupal Fail2Install: how to protect a site and check for signs of attack

The critical vulnerability CVE-2026-132165, called Fail2Install, has already been used against active Drupal sites since at least November 19, 2026, at 19:00 UTC. An unauthenticated attacker can abuse the installer to take control of the site or execute code on the server under certain conditions.

The problem lies in the installer that comes with Drupal core, not in a feature that requires an account: people administering sites with a vulnerable version must act even if they have seen no signs of intrusion. The Drupal security team confirmed the exploitation, and CISA added the flaw to its catalog of actively exploited vulnerabilities.

How to tell if your site is exposed

Start by identifying the version of Drupal core the site is running. The first patched versions are Drupal 11.4.13, 11.3.22, and 10.6.22; later supported versions also include the fix. If the site is on an older, unsupported branch, looking for a patch for that branch is not enough: you need to migrate to a supported branch.

BranchFirst patched version
Drupal 11.4.x11.4.13
Drupal 11.3.x11.3.22
Drupal 10.6.x10.6.22

SecurityWeek reports that Drupal released the fix on November 18, before the earliest confirmed date for the attacks. The flaw affects the installer distributed with Drupal core: under specific conditions, it may allow an anonymous person to attempt to reinstall Drupal and end up executing code or controlling the site. You do not need to log in to try this attack path.

The permissions configured for settings.php can reduce some attack vectors, but not all of them. Therefore, the fact that the web server cannot modify this file does not prove that the site is protected and does not replace updating or blocking the installer.

What to do, step by step

  1. Confirm the installed version. Check your deployment inventory or the Drupal core information available in your usual administration tools. Compare the exact version with the table: if it is earlier than the first patched version for its branch, treat the site as vulnerable. Also check whether the branch still receives security updates; older unsupported branches will not receive a fix for this flaw.

  2. Update to a patched version. Upgrade the site to Drupal 11.4.13, 11.3.22, or 10.6.22, depending on the compatible branch it uses, or to a later supported version. If you are on an unsupported branch, plan to move to one that is supported. After updating, confirm that the deployment was applied to the live site and not just to a test environment.

  3. Block the installer if the patch is delayed. The path to restrict is /core/install.php. Find it in the web server configuration or in the site's root .htaccess file and deny public access. The specific rule depends on how the server is configured, so do not copy a directive intended for a different environment. Check from outside the network that the installer no longer loads, and keep the restriction in place after updating.

  4. Check for suspicious activity. Preserve and review the web server and application logs for the period before the patch. Look for unexpected requests to the installer path, administration accounts you do not recognize, and changes to settings.php or other site files. A request to /core/install.php alone does not confirm that someone took control; cross-check it against account and file changes.

  5. Respond to signs of intrusion. If you find an unknown account or unauthorized changes, start your organization's incident response process. Updating closes the known vulnerability, but it does not automatically remove an account created by an attacker or undo changes made before the patch. Do not assume the site is clean just because it now shows a patched version.

  6. Review additional protections. If you use the Drupal Steward web application firewall service, its clients are protected against known attack vectors. Even so, administrators should update to the latest available version in case other vectors emerge. Also keep access to the installer restricted after applying the patch.

Mistakes to avoid

Do not wait for a visible symptom before fixing the site. Exploitation has been confirmed on active sites and can be carried out without authentication; not detecting any changes does not mean a vulnerable version is safe.

Also, do not rely solely on settings.php permissions. Drupal notes that preventing the web server from writing to that file or changing its permissions mitigates some paths, but not all of them. Leaving the installer exposed while relying on this setting leaves the problem unresolved.

Finally, do not confuse the deadline imposed on U.S. federal agencies with a waiting period for everyone else. CISA added the flaw to its KEV catalog on November 24 and set November 27 as the deadline for those agencies; the recommendation to update also applies to other organizations. The next practical step is to verify the active version and block access to the installer if the patch has not yet been deployed.

از

Sources: TecnoAndroid, SecurityWeek, BleepingComputer, Cyber Security News