Skip to content
OpenAdvisories
Unscored CVE-2026-142415 DRUPAL-CONTRIB-2026-361

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

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by DRUPAL

Description

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*.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/entity_access_by_role_field < 2.0.7 2.0.7 DRUPAL-CONTRIB-2026-361

References