{"id":"DRUPAL-CONTRIB-2026-361","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.\n\nThe 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.\n\nThe 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*.","aliases":["CVE-2026-142415"],"modified":"2026-12-02T19:15:07.242837278Z","published":"2026-12-02T17:44:59Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-361"}],"affected":[{"package":{"name":"drupal/entity_access_by_role_field","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/entity_access_by_role_field?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7"}],"database_specific":{"constraint":"\u003c2.0.7"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/entity_access_by_role_field/DRUPAL-CONTRIB-2026-361.json","affected_versions":"\u003c2.0.7"}}],"schema_version":"1.9.2","credits":[{"name":"Julian Pustkuchen (anybody)","contact":["https://www.drupal.org/u/anybody"]}]}