ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2025-028

Details

This module enables users to log in using a short access code instead of providing a username/password combination.

The module doesn't sufficiently protect against brute force attacks to guess a user's access code.

This vulnerability is mitigated by the fact that access code based logins are off by default and only enabled for accounts that enable it. Sites could mitigate the issue without updating by:

  • disabling the access code login method for critical accounts
  • monitor and prevent brute force attacks in other ways (for example, with a Web Application Firewall)

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/access_code
All versions before 2.0.4 (fixed in 2.0.4)

References