Drupal security updates, in plain English · Module

Domain Login Restrict

253 sites report using it · on drupal.org · 1 security update explained here

This module enables you to restrict user logins on a multi domain site so that users can only log in on the domains assigned to them.

Below is every security update for Domain Login Restrict that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Domain Login Restrict

Moderately critical · 253 sites report using it · SA-CONTRIB-2026-249 · on drupal.org · Week of 21 October 2026

The module does not sufficiently enforce login restrictions when a user logs in by a method other than the standard login form. An ordinary account on the site could view restricted information and alter or add new data.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youAn attacker must have a valid user account on the site, the enable restriction setting must be enabled on the Domain settings page, and the user must not have the access right to log in to any domain.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Domain Login Restrict to 8.x-1.5.

For developers: what the fix changed

The fix updates the domain_login_restrict_user_login function in domain_login_restrict.module to enforce login restrictions on all paths. It achieves this by checking the domain access of the user, invalidating the session, and throwing an access denied exception if the login is not permitted.

Also in this release The release also updates the README file with new PHP and Drupal version requirements and documentation on which logins are checked.

8.x-1.4 to 8.x-1.5 1 commit, 2 files.

  • README.md +18 −2
  • domain_login_restrict.module +107 −80 fix

Full diff, 8.x-1.4 to 8.x-1.5

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK membership bodies, charities and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.