CVE Catalog

CVE-2026-54178

HighCVSS 8.1
Published: Translated: NVD NIST

Summary

In backpack/crud before 6.8.12 and 7.0.35, HasUploadFields::uploadMultipleFilesToDisk 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 can delete another record's attachment, a shared asset, or another operational file on the configured disk.

Risk Assessment

Can lead to unauthorized deletion of other records' files or shared assets, causing data loss or service disruption. The flaw does not permit reading the deleted files.

Recommendation

Update backpack/crud to version 6.8.12 or 7.0.35 (or later). Ensure requested deletions are intersected with the record's persisted file list.

Other vulnerabilities in backpack/crud

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS