CVE-2026-57570
## Vulnerability Details Affected area: HasMany / MorphMany relation handling during CRUD create and update operations CWE: CWE-862 — Missing Authorization Severity: Medium CVSS: 6.5 — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N ### Summary Backpack CRUD contained an authorization issue in the way certain HasMany and MorphMany relationship fields were processed during create and update operations. When an admin form allowed users to manage multiple related records, Backpack could update related model records based on submitted primary keys without sufficiently checking whether those records were eligible to be associated with the current parent model. This could allow an authenticated, low-privileged admin user to affect related records outside the intended authorization or tenancy boundary, if the affected CRUD form exposed this type of relationship field. ### Root Cause The vulnerable logic processed submitted relationship values and updated matching related records without consistently limiting those updates to records that already belonged to the current parent model, or to records allowed by the developer-defined relation scope. As a result, a user with permission to edit one parent record could potentially cause unrelated child records to be reassigned, detached, nulled, or deleted as a side effect of saving the form. This issue is separate from earlier fixes that scoped direct CRUD operations on the main entity. Those protections covered the model being directly edited, but they did not fully cover secondary models modified through relationship-saving logic. ### Impact An authenticated admin user with access to an affected CRUD operation could potentially cause unauthorized changes to related records. Possible impact includes: - Unauthorized reassignment of related records across users, parents, or tenants. - Unauthorized detachment or removal of related records. - Data integrity issues in multi-tenant or permission-sensitive applications.
Properties
- ghsa_id
- GHSA-42vx-43vc-x6pr
- severity
- medium
- summary
- Laravel Backpack CRUD: HasMany/MorphMany relation fields allow cross-tenant record re-parenting (IDOR) via attachManyRelation
- cvss_score
- 6.5
- cve_id
- CVE-2026-57570
- cvss_vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- is_ghsa_only
- false
- ghsa_published
- 2026-08-20T18:42:31Z
- source_url
- https://github.com/advisories/GHSA-42vx-43vc-x6pr
- ghsa_updated
- 2026-08-20T18:42:34Z
Related Entities (4)
HAS_WEAKNESS (1)
REPORTED_BY (1)
VULNERABLE_TO (1)
AFFECTS (1)
Explore deeper with Ninja Signal's threat intelligence graph