Skip to content

fix(api): remove deleted fields from collection permissions - #429

Merged
sofiachakir merged 1 commit into
mainfrom
fix/GHSA-9x5g-62gj-wqf2
Oct 15, 2026
Merged

sofiachakir merged 1 commit into
mainfrom
fix/GHSA-9x5g-62gj-wqf2

Conversation

@sofiachakir

Copy link
Copy Markdown
Collaborator

Change description

Deleting a field kept its name in the fields list of the collection's permissions. A field later created with the
same name was therefore readable/writable by every role that had access to the deleted one.

FieldsService.deleteField now removes the field from every permission of its collection, inside the existing
transaction.

Type of change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)

Related issues

Fix GHSA-9x5g-62gj-wqf2 / CVE-2025-64746 (Dependabot #664, #614)

Checklists

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@sofiachakir sofiachakir self-assigned this Oct 15, 2026
@sofiachakir sofiachakir added security p2 Medium Priority labels Oct 15, 2026
@sofiachakir
sofiachakir merged commit 90fb2e7 into main Oct 15, 2026
6 checks passed
@sofiachakir
sofiachakir deleted the fix/GHSA-9x5g-62gj-wqf2 branch October 15, 2026 14:44
@github-actions github-actions Bot mentioned this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2 Medium Priority security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants