# CVE-2025-13986: DRUPAL-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.

Source: https://junglewise.ai/threats/cve-2025-13986-drupal-contrib-2025-124-this-module-enables-you-to-disable-the  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-03  
License: CC BY 4.0 with a link back

CVE-2025-13986 · Severity: info · Published 2025-12-03

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.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Disable Login](https://junglewise.ai/threats/technologies/drupal-disable-login). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is CVE-2025-13986 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-13986 being exploited in the wild.

**How severe is CVE-2025-13986?** Informational severity, published 3 December 2025.

**Which products and versions are affected?** Packagist:Https://Packages.Drupal.Org/8 Drupal/Disable Login ECOSYSTEM:introduced=0,fixed=1.1.3.

**Is there a fix for CVE-2025-13986?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Disable Login: upgrade to 1.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-13986?** Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Disable Login at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Disable Login: upgrade to 1.1.3 or later

## Affected products

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Disable Login ECOSYSTEM:introduced=0,fixed=1.1.3

## Identifiers

- CVE-2025-13986
- DRUPAL-CONTRIB-2025-124

## Related threats

- [Drupal Disable Login Page cache invalidation bypass](https://junglewise.ai/threats/cve-2026-16647-drupal-disable-login-page-cache-invalidation-bypass)
- [Drupal Disable Login Page brute force attack on secret key](https://junglewise.ai/threats/cve-2026-18260-drupal-disable-login-page-brute-force-attack-on-secret-key)
