SA-CONTRIB-2026-384: Critical severity composer/drupal/login_history vulnerability
This module records user logins and provides a report of each user's login history. The module doesn't sufficiently check user access to the login history report, resulting in information disclosure of some sensitive information. This vulnerability is mitigated by the fact that an attacker must have a role with the permission View own login history.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/login_historyto a version that resolves this vulnerability.Fixed in 2.0.1
Event History
Frequently Asked Questions
What level of access does an attacker need?
An attacker must have an account assigned a role with the "View own login history" permission.
Who should be considered exposed?
Users who hold the "View own login history" permission may be able to access sensitive information through the login history report because access checks are insufficient.
How can administrators identify potentially affected accounts?
Review roles and user accounts that have the "View own login history" permission, as this permission is required to exploit the issue.