CVE-2026-77152: Field Collection for Drupal 7 access bypass via missing parent entity access check
Improper Authorization vulnerability in Drupal Field Collection for Drupal 7 allows a user with the "edit field collections" permission to bypass access control on the parent (host) entity.
The access check for field collection items (fieldcollectionitemaccess()) granted edit and delete access to any user holding the "edit field collections" permission without verifying the user's access to the host entity. As a result, a user with "edit field collections" but without edit/update access to the host entity (for example a node they cannot edit) could edit or delete field collection items attached to that entity, bypassing the intended entity/node access restrictions. The fix requires access to the parent entity in addition to the field collection permission.
This issue affects Field Collection for Drupal 7: version 7.x-1.0 up to and including 7.x-1.2.
Affected Software
Event History
Frequently Asked Questions
Which users could exploit this issue?
A user must have the "edit field collections" permission but lack edit or update access to the parent host entity. Such a user could modify or delete field collection items attached to an entity they are not otherwise allowed to edit.
Are installations affected by default?
Exploitation depends on the site's permission assignments and entity access rules. The vulnerable access check applies when a user has "edit field collections" permission, while access to the parent entity is restricted.
What access is required to exploit the vulnerability?
The attacker needs an authenticated account with the "edit field collections" permission. No user interaction is required, but the attacker must target field collection items attached to a host entity they cannot edit.
How can administrators determine whether they are affected?
Check whether the site uses Field Collection for Drupal 7 version 7.x-1.0 through 7.x-1.2, and review accounts or roles granted "edit field collections." The risky condition exists when those users do not also have access to edit the relevant parent entities.
What is the effective remediation?
The fix requires verifying access to the parent entity in addition to the field collection permission. Until that is applied, restrict the "edit field collections" permission to users who are authorized to edit the associated host entities.