PatchClock

PHP security digest · 23 Sep 2026

This module enables sites to block access for the administrative user account (user 1) or users with the administrator role. The module does not sufficiently e...

Unrated CVE-2026-96387

Package
drupal/stop_admin
Fixed in
1.6.0
Published
Wed 23 Sep 2026, 18:11 LisbonUpdated Mon 26 Oct 2026, 02:25 Lisbon

In plain words

A blocked administrative user may still be able to sign in through certain alternative authentication methods because the module does not enforce its restrictions across all supported methods. An attacker must have valid credentials for a user with the administrator role and use a less commonly used authentication mechanism.

Am I affected?

Look for drupal/stop_admin and its version in composer.lock. The advisory lists 1.6.0 as fixed but gives no affected version range. Check whether the module blocks user 1 or users with the administrator role, and whether your site supports alternative authentication methods. The advisory does not identify which methods are affected.

What to do

Check which version you have, then update to a fixed release for your branch (1.6.0):

composer show drupal/stop_admin | grep versions
composer update drupal/stop_admin

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

If you cannot update yet

The vulnerability is mitigated by the requirement for valid credentials for a user with the administrator role and use of a less commonly used authentication mechanism.

The advisory's description

This module enables sites to block access for the administrative user account (user 1) or users with the administrator role.

The module does not sufficiently enforce these access restrictions across all supported authentication mechanisms. As a result, a blocked administrative user may still be able to authenticate through certain alternative authentication methods.

This vulnerability is mitigated by the fact that an attacker must possess valid credentials for a user with the administrator role, and must authenticate using a less commonly used authentication mechanism.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description is OSV's record of the advisory. "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.