Skip to main content
← All vulnerabilities
CVE-2026-57570GHSA-42VX-43VC-X6PR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.8.15, 7.0.47
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Laravel-Backpack CRUD

    From 6.0.0 · fixed in 6.8.15; From 7.0.0 · fixed in 7.0.47

  • backpack/crudPackagist

    From 7.0.0 · fixed in 7.0.47

  • backpack/crudPackagist

    From 6.0.0 · fixed in 6.8.15

References 7

GitHub · Laravel-Backpack/CRUD