CVE-2026-57570: Laravel Backpack CRUD authorization bypass in HasMany/MorphMany relations

CVE-2026-57570 · Severity: medium · CVSS 6.5 · Published 2026-09-14

Laravel Backpack CRUD is a package that provides an admin interface builder for managing database records. The vulnerability allows an authenticated admin user with edit permissions to an admin form to reassign, detach, or delete related database records outside their intended authorization boundary—such as records belonging to other users or tenants—by manipulating relationship fields during form submission. This could lead to unauthorized data modification and cross-tenant data leakage in multi-tenant applications.

Technologies: backpack/crud (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2026-57570 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-57570 being exploited in the wild.
How severe is CVE-2026-57570?
Medium severity, with a CVSS score of 6.5, published 14 September 2026.
Which products and versions are affected?
backpack/crud (Packagist) ECOSYSTEM:introduced=7.0.0,fixed=7.0.47.
Is there a fix for CVE-2026-57570?
Yes. backpack/crud (Packagist): upgrade to 7.0.47 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-57570 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-57570?
Check whether you run backpack/crud (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • backpack/crud (Packagist): upgrade to 7.0.47 or later
    composer require backpack/crud:^7.0.47

Technical details

The vulnerability is a missing authorization check (CWE-862) in the attachManyRelation logic when processing HasMany and MorphMany relationship fields. During form submission, Backpack updates related model records based on submitted primary keys without consistently filtering those updates through the relation's query scope, ownership rules, or developer-defined constraints. An authenticated admin user with edit access to a CRUD form can craft a request to attach or detach child records that should not be modifiable by that user—for example, records owned by another user or tenant. The vulnerability requires an authenticated admin account and edit access to an affected form; no user interaction is needed once the attacker has access. Patches are available in versions 6.8.15 and 7.0.47, which scope relationship operations to only affect records valid for the current parent model and relation context.

Affected products

  • Laravel Backpack CRUD 6.0.0 to 6.8.14, 7.0.0 to 7.0.46

Identifiers

  • CVE-2026-57570
  • GHSA-42vx-43vc-x6pr

Timeline

  • 2026-06-30: disclosed: Initial disclosure to GitHub Advisory Database
  • 2026-08-20: advisory: Published to GitHub Advisory Database
  • 2026-08-20: patched: Patched in versions 6.8.15 and 7.0.47

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.