drupal/access_code - SA-CONTRIB-2025-028
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/access_code | < 2.0.4 | 2.0.4 |
| Drupal module | drupal/access_code | < 2.0.4 | 2.0.4 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/access_code- Disclosed
- 02.04.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-028 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/access_code
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 04.2025 09.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 1
- Unrated 1
Disclosures per year
- 2025: 2
- 2026: 0
-
drupal/access_code - SA-CONTRIB-2025-028 this entry
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.