DRUPAL-CONTRIB-2026-361

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/entity_access_by_role_field/DRUPAL-CONTRIB-2026-361.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-361
Aliases
  • CVE-2026-142415
Published
2026-12-02T17:44:59Z
Modified
2026-12-02T19:15:07Z
Summary
[none]
Details

The Entity Access by Role Field module allows restricting access to entities based on the roles of the user, using a dedicated Entity Access by Role field.

The module doesn't sufficiently check authorization when the values of the role access field are changed. Every user who is allowed to edit an entity could remove or alter its role restrictions (or add restrictions that lock out other users), because changing the field values required no dedicated permission.

The field value vulnerability is mitigated by the fact that an attacker must have a role that allows editing the affected entities, for example the permission edit any article content.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/entity_access_by_role_field

Package

Name
drupal/entity_access_by_role_field
Purl
pkg:composer/drupal/entity_access_by_role_field?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.7
Database specific
Show details
{
    "constraint":  "<2.0.7"
}

Database specific

affected_versions
"<2.0.7"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/entity_access_by_role_field/DRUPAL-CONTRIB-2026-361.json"