—
DRUPAL-CONTRIB-2025-124
Details
This module enables you to disable the standard Drupal login form (`/user/login`) so site owners can prevent interactive logins via the UI.
The module does not sufficiently block authentication when the REST/HTTP login route is used. An attacker (or legitimate user) with valid credentials can authenticate using the REST login endpoint (`/user/login?_format=json`) or other HTTP-based authentication routes, effectively bypassing the module’s protection of the UI login page.
This vulnerability is mitigated by the fact that an attacker must already possess valid account credentials.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist:https://packages.drupal.org/8/drupal/disable_login
Introduced in:
0Fixed in: 1.1.3Upgrade drupal/disable_login to 1.1.3 or newer (ecosystem packagist:https://packages.drupal.org/8).