Unrestricted file upload in Laravel-Backpack CRUD
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434.
Summary
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.14 and 7.0.38, HasUploadFields methods uploadFileToDisk and uploadMultipleFilesToDisk, used through CrudTrait, and the withFiles() path through FileNameGenerator do not internally reject server-executable file types. An authenticated administrator can achieve remote code execution by using an upload-enabled CRUD field without mimes: and mimetypes: validation when the public disk is web-accessible through php artisan storage:link and the web-server and PHP-FPM configuration executes the stored extension. The legacy path preserves an accepted extension and the newer path derives an extension without blocking dangerous types. The package-level restriction is defense in depth and does not replace application-level upload validation. This issue is fixed in versions 6.8.14 and 7.0.38.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Laravel-Backpack | CRUD | 6.0.0 to before 6.8.14; 7.0.0 to before 7.0.38 | 6.8.14, 7.0.38 | Patch available | CNA |
| — | backpack/crud (Packagist) | 6.0.0 to before 6.8.14 | 6.8.14 | Patch available | GHSA-8q2w-pv9p-mjvc |
| — | backpack/crud (Packagist) | 7.0.0 to before 7.0.38 | 7.0.38 | Patch available | GHSA-8q2w-pv9p-mjvc |
- CRUD VendorLaravel-Backpack Affected 6.0.0 to before 6.8.14; 7.0.0 to before 7.0.38 Fixed in 6.8.14, 7.0.38 Patch available CNA
- backpack/crud (Packagist) Vendor— Affected 6.0.0 to before 6.8.14 Fixed in 6.8.14 Patch available GHSA-8q2w-pv9p-mjvc
- backpack/crud (Packagist) Vendor— Affected 7.0.0 to before 7.0.38 Fixed in 7.0.38 Patch available GHSA-8q2w-pv9p-mjvc
Remediation
- Fix · CNA CRUD (Laravel-Backpack) Fixed in 6.8.14, 7.0.38
- Fix · GHSA-8q2w-pv9p-mjvc backpack/crud (Packagist) Fixed in 6.8.14 Advisory →
- Fix · GHSA-8q2w-pv9p-mjvc backpack/crud (Packagist) Fixed in 7.0.38 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54177
- 2026-10-03 Alias added: GHSA-8q2w-pv9p-mjvc
References
Other 8
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8q2w-pv9p-mjvc
- https://github.com/Laravel-Backpack/CRUD/pull/5993
- https://github.com/Laravel-Backpack/CRUD/pull/5994
- https://github.com/Laravel-Backpack/CRUD/commit/5c5de0af242619d0653c7c70c900cd15b1a197c5
- https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969
- https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38
- https://github.com/Laravel-Backpack/CRUD
More Laravel-Backpack vulnerabilities
- TI-2026-39086 backpack/crud: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth) CVSS 3.1HIGH 8.1
- TI-2026-39082 Path traversal in Laravel-Backpack CRUD CVSS 3.1HIGH 8.1
- TI-2026-39084 backpack/crud: CRUD panel query scopes are not enforced on Update, Delete, and Reorder (cross-tenant IDOR) CVSS 3.1HIGH 7.6
- TI-2026-39079 backpack/crud: Unverified password change in MyAccountController via mass assignment CVSS 3.1HIGH 7.6
- TI-2026-39080 backpack/crud: MyAccountController allows changing the login email without a current-password check CVSS 3.1MEDIUM 6.5
- TI-2026-41421 backpack/crud: HasMany/MorphMany relation fields allow cross-tenant record re-parenting (IDOR) via attachManyRelation CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-54177 · CVE Program
- CVE-2026-54177 · NVD
- FIRST EPSS
- GHSA-8q2w-pv9p-mjvc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences