drupal/domain_login_restrict - SA-CONTRIB-2026-249
This module enables you to restrict user logins on a multi-domain site built with the Domain module, so that users can only log in on the domains assigned to them.
The module doesn't sufficiently enforce these restrictions when a user logs in by a method other than the standard login form.
This vulnerability is mitigated by the fact that an attacker must have a valid user account on the site, and the "Enable restriction" setting must be enabled on the Domain settings page. Users with the "Login to any domain" permission are not affected by the restriction.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/domain_login_restrict | < 1.5.0 | 1.5.0 |
| Drupal module | drupal/domain_login_restrict | < 1.5.0 | 1.5.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/domain_login_restrict- Disclosed
- 21.10.2026
- Updated
- 22.10.2026 18:07
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-249 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/domain_login_restrict
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
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.