Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M

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

High 8.1

In plain English

A high-severity path traversal in CRUD from Laravel-Backpack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.6%top 53.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistbackpack/crudno fix listedGHSA-8xjm-wqrp-2f25
Packagistbackpack/crud6.8.12GHSA-8xjm-wqrp-2f25
Packagistbackpack/crud7.0.35GHSA-8xjm-wqrp-2f25

Affected products (as reported)

VendorProductVersions
Laravel-Backpack CRUD >= 5.0.0, < 6.0.0>= 6.0.0, < 6.8.12>= 7.0.0, < 7.0.35

Weakness: CWE-22, CWE-285, CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

References