Skip to main content

Backpack CRUD CVE-2026-54178

| EUVDEUVD-2026-77708 HIGH
Path Traversal (CWE-22)
2026-08-20 https://github.com/Laravel-Backpack/CRUD GHSA-8xjm-wqrp-2f25
8.1
CVSS 3.1 · Vendor: https://github.com/Laravel-Backpack/CRUD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege Backpack admin
  2. Delivery
    Identify CRUD using uploadMultipleFilesToDisk mutator
  3. Exploit
    Enumerate or guess target disk-relative file paths
  4. Execution
    Submit update request with crafted clear_attr[] payload
  5. Persist
    Server calls Storage::disk()->delete() on arbitrary paths
  6. Impact
    Target 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 uploadMultipleFilesToDisk mutator pattern from the v5.x documentation (i.e., the model calls $this->uploadMultipleFilesToDisk(...) in a mutator); deployments using only the newer MultipleFiles Uploader API via config/backpack/crud.php are not affected. Third, the attacker must know or be able to guess valid disk-relative paths of files to target - there is no path discovery mechanism in the vulnerability itself, so some reconnaissance or insider knowledge is required. Limiting factors: the attack is entirely an integrity/availability issue (no file read, no confidentiality breach), the attacker pool is restricted to users with a valid Backpack admin credential, and the impact is bounded by the storage disk root.

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 uploadMultipleFilesToDisk mutator pattern documented in the v5.x field guide - sites that have already migrated to the newer MultipleFiles Uploader API are not affected. No CISA KEV listing and no public proof-of-concept code have been identified, and the EPSS signal is not available in the provided data. Despite the absence of confirmed active exploitation, the low attack complexity and the severity of the availability and integrity impacts mean that any team running the vulnerable mutator pattern should treat patching as urgent - the deletion of shared operational files or bulk record attachments could have significant operational consequences. The 5.x branch receives no fix and requires architectural migration.

Exploit ScenarioDerived

A content editor with a low-privilege Backpack admin account navigates to any CRUD edit form that uses the uploadMultipleFilesToDisk mutator and submits a standard update request, adding crafted clear_<attr>[] parameters containing paths to arbitrary files on the storage disk - such as another record's invoice PDFs or a shared logo asset. The uploadMultipleFilesToDisk method passes these paths directly to Storage::disk()->delete(), removing the targeted files without any ownership check. No public proof-of-concept has been identified, but the attack requires no special tooling beyond a browser or curl and knowledge of target file paths.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CRUD 5.0.0, < 6.0.0
CRUD 6.0.0, < 6.8.12
CRUD 7.0.0, < 7.0.35

Affected Packages

composer backpack/crud fix: 6.8.12, 7.0.35
euvd crud_5_0_0 fix: 6.0.0
euvd crud_6_0_0 fix: 6.8.12
euvd crud_7_0_0 fix: 7.0.35

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

Vendor (https://github.com/Laravel-Backpack/CRUD) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/Laravel-Backpack/CRUD).

CVSS VectorVendor: https://github.com/Laravel-Backpack/CRUD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

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 - mixes HasUploadFields into 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular Laravel admin panel scaffolding package, widely used in PHP web applications
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy