---
id: "CVE-2026-77152"
kind: "vulnerability"
aliases: ["CVE-2026-77152"]
title: "Drupal Field Collection: users can edit items on nodes they cannot access"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["drupal", "drupal-7", "field-collection", "package", "self-hosted"]
not_affected_if: ["field-collection-not-installed", "no-untrusted-editors", "version-1.3-or-later"]
published_at: "2026-10-31T00:16:51+00:00"
first_seen_at: "2026-10-31T00:32:44+00:00"
updated_at: "2026-10-31T00:33:33+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77152", "first_seen_at": "2026-10-31T00:32:44+00:00"}]
---

# Drupal Field Collection: users can edit items on nodes they cannot access

Field Collection for Drupal 7 grants edit and delete rights on field collection items to anyone with the 'edit field collections' permission, without checking access to the parent entity. An authenticated user with that permission can change or delete data attached to content they are not allowed to edit.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Field Collection module version in the Drupal 7 site's module list or `drush pm-list` output
- Confirm whether the 'edit field collections' permission is granted to any role that is not fully trusted

## Timeline

- 2026-10-31T00:32:44+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-77152

## From the sources

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 (field_collection_item_access()) 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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
