CVE-2026-142415
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*.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/entity_access_by_role_field | <2.0.7 | 2.0.7 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.