CVE-2025-10928: Drupal/access code Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-27mc-9399-r9mx
CVSS 6.3
CWE-307
Published
Advisory Summary

CVE-2025-10928 is a MODERATE (CVSS 6.3) remote code execution vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Drupal/access code libraries in the Packagist ecosystem. The issue involves drupal access code allows brute force attempts. Remediation is available by upgrading affected packages to version 2.0.5.

CVE-2025-10928 at a Glance

CVE Identifier CVE-2025-10928
GHSA Identifier GHSA-27mc-9399-r9mx
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Drupal/access code
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-10928

To remediate this vulnerability, upgrade all affected Drupal/access code dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

drupal/access_code fixed: 2.0.5
Upgrade drupal/access_code to 2.0.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for drupal/access_code

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-10928, inspect your project dependencies for Drupal/access code:

inspect dependencies for drupal/access_code

Analyze the terminal output to locate any version of Drupal/access code in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Drupal/access code, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Improper Restriction of Excessive Authentication Attempts vulnerability in Drupal Access code allows Brute Force. This issue affects Access code: from 0.0.0 before 2.0.5.

CVE-2025-10928 Affected Drupal/access code Versions

1 component(s)
Fixed Versions:
2.0.5
Product / Package Ecosystem Affected Versions Fixed Version
drupal/access_code
Packagist
< 2.0.5
2.0.5

References

Frequently Asked Questions

What is CVE-2025-10928?
CVE-2025-10928 is a security vulnerability in Drupal/access code involving Drupal Access code allows Brute Force Attempts under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Drupal/access code versions are affected?
Affected versions include releases prior to 2.0.5 across affected packages: drupal/access_code.
What version fixes CVE-2025-10928?
Upgrading to 2.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is drupal/access_code affected?
Yes, drupal/access_code is affected in releases prior to 2.0.5. Upgrade your dependency to 2.0.5 or later.
What is the CVSS score of CVE-2025-10928?
CVE-2025-10928 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2025-10928?
CVE-2025-10928 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check Packagist dependencies for CVE-2025-10928?
Run the dependency tree command: 'inspect dependencies for drupal/access_code'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-27mc-9399-r9mx",
  "modified" : "2025-10-30T17:05:06Z",
  "published" : "2025-10-30T00:31:03Z",
  "aliases" : [ "CVE-2025-10928" ],
  "summary" : "Drupal Access code allows Brute Force Attempts",
  "details" : "Improper Restriction of Excessive Authentication Attempts vulnerability in Drupal Access code allows Brute Force. This issue affects Access code: from 0.0.0 before 2.0.5.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "drupal/access_code"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10928"
  }, {
    "type" : "WEB",
    "url" : "https://www.drupal.org/sa-contrib-2025-108"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-307" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-30T17:05:05Z",
    "nvd_published_at" : "2025-10-30T00:15:34Z"
  }
}