Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-57570 EUVD-2026-77709GHSA-42vx-43vc-x6pr

backpack/crud: HasMany/MorphMany relation fields allow cross-tenant record re-parenting (IDOR) via attachManyRelation

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by GitHub_M

Description

backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.15 and 7.0.47, HasMany and MorphMany handling through attachManyRelation during CRUD create and update operations accepts submitted child primary keys without consistently restricting updates to records belonging to the current parent or permitted by the developer-defined relation scope. An authenticated low-privilege administrator who can edit a parent form exposing an affected multiple-relation field can cause unrelated child records to be reassigned, detached, nulled, or deleted across ownership or tenant boundaries. Exploitation requires related records that should not be attachable or removable by that administrator and the absence of additional application-level authorization around submitted relation values. This issue is distinct from earlier direct main-entity CRUD scoping fixes because it affects secondary models modified by relationship-saving logic. This issue is fixed in versions 6.8.15 and 7.0.47.

Affected products

VendorProductAffectedFixed
Laravel-Backpack CRUD >= 6.0.0, < 6.8.15, >= 7.0.0, < 7.0.47 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist backpack/crud >= 7.0.0, < 7.0.47 7.0.47 GHSA-42vx-43vc-x6pr
Packagist backpack/crud >= 6.0.0, < 6.8.15 6.8.15 GHSA-42vx-43vc-x6pr

References