CVE-2026-142415: Composer/drupal/entity_access_by_role_field vulnerability

Published Dec 2, 2026
·
Updated

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 Software

1 affected componentFixes available
composer/drupal/entity_access_by_role_field<2.0.7
2.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/entity_access_by_role_field to a version that resolves this vulnerability.

    Fixed in 2.0.7

Event History

Dec 2, 2026
Advisory Published
via OSV·05:44 PM
Data Sourced
via OSV·05:44 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203