drupal/disable_login - SA-CONTRIB-2025-124
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/disable_login | < 1.1.3 | 1.1.3 |
| Drupal module | drupal/disable_login | < 1.1.3 | 1.1.3 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/disable_login- Disclosed
- 03.12.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-124 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/disable_login
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 12.2025 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 3
Disclosures per year
- 2025: 1
- 2026: 2
-
drupal/disable_login - SA-CONTRIB-2025-124 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.