Medium

drupal/access_code - SA-CONTRIB-2025-108

  • Disclosed: 24.09.2025
  • Updated: 11.10.2026 12:18

This module enables users to sign in with an access code instead of entering user names and passwords. When users are allowed to pick their own access codes, they can guess other users' access codes based on the fact that access codes need to be unique and the system warns if the code of their choice is taken.

This vulnerability is mitigated by the fact that an attacker must have a role with the "change own access code" permission.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/access_code < 2.0.5 2.0.5
Drupal module drupal/access_code < 2.0.5 2.0.5

References

CVSS score 6.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-307
Platform
Composer, Drupal
Package
drupal/access_code
Disclosed
24.09.2025
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - GHSA-27mc-9399-r9mx - CC BY 4.0

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-108 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/access_code

All published vulnerabilities of this package (Composer package), 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

  1. 2025: 2
  2. 2026: 0
  1. drupal/access_code - SA-CONTRIB-2025-108 this entry
    Medium · 6.3 CVE-2025-10928 < 2.0.5 2.0.5
  2. Unrated CVE-2025-3129 < 2.0.4 2.0.4

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.