# CVE-2026-54178: backpack/crud: Arbitrary file deletion via attacker-controlled clear_<attr>[] in HasUploadFields::uploadMultipleFilesToDisk

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 41% of CVEs (2026-11-30)
- Published: 2026-08-20T18:38:39.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-8xjm-wqrp-2f25
- Weaknesses: CWE-22, CWE-285, CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Laravel-Backpack CRUD: >= 5.0.0, < 6.0.0; >= 6.0.0, < 6.8.12; >= 7.0.0, < 7.0.35
- backpack/crud (Packagist): from 5.0.0; from 6.0.0 before 6.8.12; from 7.0.0 before 7.0.35

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8xjm-wqrp-2f25> (web)
- <https://github.com/Laravel-Backpack/CRUD/pull/5982>
- <https://github.com/Laravel-Backpack/CRUD/pull/5983>
- <https://github.com/Laravel-Backpack/CRUD/commit/0c7e095a869b8d1bd5668b1370a83b148e75bf4e>
- <https://github.com/Laravel-Backpack/CRUD/commit/baae0420b6ebefaf5fe4cd88c1fc358feb9c2816>
- <https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.12> (web)
- <https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.35> (web)
- <https://github.com/Laravel-Backpack/CRUD> (package)

## Sources

- CVE List: [CVE-2026-54178](https://www.cve.org/CVERecord?id=CVE-2026-54178), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-8xjm-wqrp-2f25](https://github.com/advisories/GHSA-8xjm-wqrp-2f25), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54178](https://nvd.nist.gov/vuln/detail/CVE-2026-54178), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54178 · Whole record: https://cve.day/CVE-2026-54178.json · Rebuilt by cve.day 2026-11-25T22:59:38.328Z
