CVE-2026-54178 Details
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_<attribute>[] 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.
A vulnerability in Backpack CRUD versions 5.0.0 prior to 6.0.0, 6.0.0 prior to 6.8.12, and 7.0.0 prior to 7.0.35 allows authenticated users with update access to delete arbitrary files from the storage disk. The issue arises in the 'HasUploadFields' trait, specifically in the 'uploadMultipleFilesToDisk' method, which improperly trusts file paths from the 'clear_<attribute>[]' request input. This lack of validation enables deletion of files not associated with the current model record, including attachments from other records, shared assets, or operational files on the same disk.
Users can update to Backpack CRUD versions 6.8.12 or 7.0.35, where this vulnerability has been fixed. Additionally, deployments still using the 'uploadMultipleFilesToDisk' mutator pattern from the v5.x documentation should migrate to the Uploader API, specifically 'MultipleFiles::class', which automatically applies the necessary safety checks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 14, 2026CISA-ADP
Assessed Sep 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Laravel-Backpack/CRUD/commit/0c7e095a869b8d1bd5668b1370a83b148e75bf4e | [email protected] | Source CodeVendor |
| https://github.com/Laravel-Backpack/CRUD/commit/baae0420b6ebefaf5fe4cd88c1fc358feb9c2816 | [email protected] | Source CodeVendor |
| https://github.com/Laravel-Backpack/CRUD/pull/5982 | [email protected] | Issue TrackingVendor |
| https://github.com/Laravel-Backpack/CRUD/pull/5983 | [email protected] | Issue TrackingVendor |
| https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.12 | [email protected] | Release NotesVendor |
| https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.35 | [email protected] | Release NotesVendor |
| https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8xjm-wqrp-2f25 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-285 | Improper Authorization | [email protected] |
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| backpack/crud | >= 5.0.0, < 6.0.0 (semver) >= 6.0.0, < 6.8.12 (semver) >= 7.0.0, < 7.0.35 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 16, 2026 | CVE Modified | CISA-ADP |
| Sep 14, 2026 | New CVE Received | [email protected] |
Volerion