Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Backpack admin
-
DeliveryIdentify CRUD using uploadMultipleFilesToDisk mutator
-
ExploitEnumerate or guess target disk-relative file paths
-
ExecutionSubmit update request with crafted clear_attr[] payload
-
PersistServer calls Storage::disk()->delete() on arbitrary paths
-
ImpactTarget files permanently deleted from disk
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions to align. First, the attacker must hold an authenticated Backpack admin session at any privilege level (content editor or higher) - unauthenticated access is not sufficient. Second, the application must have at least one CRUD resource configured to use the |
| Impact | The CVSS 3.1 score of 8.1 (High) correctly reflects that this is network-accessible (AV:N), low-complexity (AC:L), requires only low-privilege authentication (PR:L), and carries high integrity and availability impact (I:H/A:H). Real-world risk is modulated by two key factors: first, exploitation requires an active Backpack admin account, limiting the attacker pool to insiders or compromised credentials; second, the attack surface is restricted to deployments that specifically use the |
| Exploit ScenarioDerived | A content editor with a low-privilege Backpack admin account navigates to any CRUD edit form that uses the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Arbitrary file deletion in Laravel Backpack CRUD (all 5.x, 6.x < 6.8.12, 7.x < 7.0.35) allows any authenticated low-privilege user - such as a content editor - to delete files outside the scope of the record they are editing by injecting arbitrary disk-relative paths into the clear_<attr>[] request parameter. The root cause is that HasUploadFields::uploadMultipleFilesToDisk passes attacker-supplied paths directly to Storage::disk()->delete() without intersecting them against the filenames actually stored in the database for that record. No confidentiality impact exists (files cannot be read), but an attacker can destroy any file reachable under the configured storage disk root, including other records' attachments and shared operational assets. No public exploit or KEV listing has been identified at time of analysis.
RemediationAI
For 6.x deployments, upgrade to Backpack CRUD 6.8.12 (https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.12); for 7.x, upgrade to 7.0.35 (https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.35), both of which intersect $files_to_clear against database-persisted filenames before calling Storage::disk()->delete(). For 5.x deployments, no vendor patch exists - these sites must migrate the affected CRUDs to use the Uploader API (MultipleFiles::class via config/backpack/crud.php), which implements the safe deletion logic automatically; this migration changes the mutator contract and should be tested against existing file references in the database. As an immediate compensating control prior to patching, restrict Backpack admin access to the minimum set of trusted accounts and audit the HasUploadFields-wired CRUDs to assess blast radius. Consider placing the storage disk outside the web root or on a read-only mount for records that do not require deletion, though this has trade-offs for legitimate file management workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Laravel Backpack CRUD is a PHP Composer package (backpack/crud) that provides admin panel CRUD scaffolding for Laravel applications. The vulnerability resides in src/app/Models/Traits/HasUploadFields.php, specifically the uploadMultipleFilesToDisk mutator method, which is mixed into all Backpack-managed models via CrudTrait. The method accepts clear_<attribute>[] values directly from the HTTP request and passes them to Storage::disk()->delete() without validating that each path is actually associated with the record being updated - a classic IDOR pattern (CWE-639) compounded by an authorization bypass (CWE-285). The NVD-assigned CWE-22 (Path Traversal) also applies: because the disk-relative path is fully attacker-controlled, an adversary can traverse to any location within the storage disk root. A safe intersection pattern already exists in src/app/Library/Uploaders/MultipleFiles.php, which cross-references the requested deletions against database-persisted filenames before calling delete() - the trait simply lacks this guard. Affected package coordinates: pkg:composer/backpack_crud for versions >= 5.0.0 < 6.0.0 (no fix), >= 6.0.0 < 6.8.12, and >= 7.0.0 < 7.0.35.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Network-delivered HTTP request requires only low-privilege authentication; no confidentiality impact since files are deleted not read; both integrity and availability are high due to arbitrary file destruction.
Primary rating from Vendor (https://github.com/Laravel-Backpack/CRUD).
CVSS VectorVendor: https://github.com/Laravel-Backpack/CRUD
DescriptionCVE.org
Summary
HasUploadFields::uploadMultipleFilesToDisk (in src/app/Models/Traits/HasUploadFields.php) reads file paths from the clear_<attribute>[] request input and deletes them from the configured storage disk without verifying that the paths belong to the current model record.
An authenticated user with Update access on any CRUD that wires uploadMultipleFilesToDisk as a model mutator (the pattern documented in the v5.x upload_multiple field guide) can supply arbitrary disk-relative paths in clear_<attr>[] to delete files that were never associated with the record they are editing.
The safe pattern already exists in the codebase: src/app/Library/Uploaders/MultipleFiles.php intersects the requested deletions against the files currently stored in the database column before calling Storage::disk()->delete(). The trait method lacks that intersection.
Affected code
src/app/Models/Traits/HasUploadFields.php-uploadMultipleFilesToDisk(primary sink)src/app/Models/Traits/CrudTrait.php- mixesHasUploadFieldsinto all Backpack-managed models
The vulnerability is present in all 5.x, 6.x < 6.8.12, and 7.x < 7.0.35 releases.
Impact
An attacker with low-privilege Backpack admin access (e.g. a content editor) can delete any file under the configured disk root: other records' attachments, shared assets, or files placed on the same disk for operational purposes. No confidentiality impact (files cannot be read, only deleted).
CWE-285 (Authorization Bypass) / CWE-639 (IDOR on file deletion) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H = 8.1 High
Fix
Intersect $files_to_clear against the filenames currently persisted on the model before calling delete(), mirroring the logic already present in MultipleFiles::uploadFiles. Fixed in 6.8.12 and 7.0.35.
Deployments still using the uploadMultipleFilesToDisk mutator pattern from the v5.x docs should migrate to the Uploader API (MultipleFiles::class via config/backpack/crud.php), which applies the safe intersection automatically.
Credits
Reported by Vishal Shukla (@shukla304).
Executive ViewAI
Laravel Backpack CRUD versions 5.x through 7.0.34 contain an arbitrary file deletion vulnerability (CVE-2026-54178, CVSS 8.1) exploitable by authenticated low-privilege users-such as content editors-to delete files beyond their assigned scope, threatening data integrity and operational continuity. No public exploit identified at time of analysis, but the absence of a vendor patch creates prolonged risk requiring immediate version upgrades across all affected systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Apply Web Application Firewall rules to block requests containing 'clear_' parameters to Backpack CRUD endpoints; (2) Enforce role-based access control restricting file management operations to administrators only; (3) Deploy file integrity monitoring to detect unauthorized file deletions in real time; (4) Implement storage disk quotas and access restrictions to limit the blast radius of potential deletions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-77708
GHSA-8xjm-wqrp-2f25
NVD
CVE.org
EPSS
Exploit-DB