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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-26)
- **CWE:** CWE-22, CWE-285, CWE-639
- **Aliases:** GHSA-8xjm-wqrp-2f25
- **Published:** 2026-08-20T18:38:39.000Z
- **Modified:** 2026-09-30T17:51:56.193Z

## Who should check

- Projects that depend on Packagist package backpack/crud (\>= 5.0.0)
- Anyone running Laravel-Backpack CRUD \>= 5.0.0, \< 6.0.0; \>= 6.0.0, \< 6.8.12; \>= 7.0.0, \< 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.

## Affected and fixed versions

- Packagist `backpack/crud`: affected \>= 5.0.0; fixed 6.8.12, 7.0.35 (osv)
- Laravel-Backpack CRUD: \>= 5.0.0, \< 6.0.0; \>= 6.0.0, \< 6.8.12; \>= 7.0.0, \< 7.0.35 (cvelist)

## Mitigation

- Upgrade backpack/crud to one of 6.8.12, 7.0.35 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54178. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54178.md
Affected: backpack/crud >= 5.0.0
Fixed in: 6.8.12, 7.0.35

Steps:
1. Search this machine and project for backpack/crud (Packagist), Laravel-Backpack CRUD: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54178 being exploited?

There is no confirmed exploitation: CVE-2026-54178 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54178?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-54178?

backpack/crud \>= 5.0.0.

### Is there a fix for CVE-2026-54178?

Yes. Fixed in 6.8.12, 7.0.35. Upgrade backpack/crud to one of 6.8.12, 7.0.35 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-54178?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54178>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8xjm-wqrp-2f25> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54178> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54178>
