CVE-2026-54178
Description
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. Prior to 6.8.12 and 7.0.35, HasUploadFields::uploadMultipleFilesToDisk in src/app/Models/Traits/HasUploadFields.php trusts disk-relative paths from clear_[] and passes them to Storage::disk()->delete without confirming that the paths are persisted on the current model record. An authenticated user with Update access to a CRUD using this mutator through src/app/Models/Traits/CrudTrait.php can delete another record's attachment, a shared asset, or another operational file on the configured disk by submitting its path. The newer MultipleFiles uploader is not affected because it intersects requested deletions with the record's persisted file list. This flaw does not permit reading the deleted files. The 5.x line remains affected through its final releases. This issue is fixed in versions 6.8.12 and 7.0.35.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
backpack/crudPackagist | >= 5.0.0 | — |
backpack/crudPackagist | >= 6.0.0, < 6.8.12 | 6.8.12 |
backpack/crudPackagist | >= 7.0.0, < 7.0.35 | 7.0.35 |
Affected products
1- Range: <6.8.12, <7.0.35, 5.x
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-8xjm-wqrp-2f25ghsaADVISORY
- github.com/Laravel-Backpack/CRUD/releases/tag/6.8.12nvdWEB
- github.com/Laravel-Backpack/CRUD/releases/tag/7.0.35nvdWEB
- github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8xjm-wqrp-2f25nvdWEB
- github.com/Laravel-Backpack/CRUD/commit/0c7e095a869b8d1bd5668b1370a83b148e75bf4envd
- github.com/Laravel-Backpack/CRUD/commit/baae0420b6ebefaf5fe4cd88c1fc358feb9c2816nvd
- github.com/Laravel-Backpack/CRUD/pull/5982nvd
- github.com/Laravel-Backpack/CRUD/pull/5983nvd
News mentions
0No linked articles in our index yet.