CVE-2026-142417: Composer/drupal/id4me vulnerability
This module enables you to log into Drupal using an ID4me identity.
The module doesn't sufficiently distinguish external identity identifiers when the database uses case- or accent-insensitive comparisons. This may allow an attacker to log in as another Drupal user.
This vulnerability is mitigated by the fact that an attacker must control an accepted external identity whose issuer and subject compare equal to an existing account’s identifiers under the database collation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/id4meto a version that resolves this vulnerability.Fixed in 2.0.3
Event History
Frequently Asked Questions
What conditions must an attacker meet to impersonate another user?
The attacker must control an accepted external ID4me identity whose issuer and subject identifiers compare equal to an existing Drupal account’s identifiers under the database collation. The relevant risk arises when the database performs case-insensitive or accent-insensitive comparisons.
Which deployments are exposed?
Deployments using composer/drupal/id4me are affected when their database collation treats identifier differences in case or accents as equal. The provided information does not establish whether any particular database configuration is the default.
How can I assess whether existing accounts may be at risk?
Review the external identity issuer and subject identifiers associated with Drupal accounts, and determine whether the database collation would treat distinct values as equal because of case or accent differences. Also verify which external identities are accepted by the deployment.