Unrestricted file upload in Laravel-Backpack CRUD
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution, Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434 and CWE-79.
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.37, the src/app/Library/Uploaders/SingleBase64Image.php methods SingleBase64Image::uploadFiles and SingleBase64Image::uploadRepeatableFiles, used by image fields through withFiles(), accept any data URI beginning with data:image without validating the declared MIME subtype or decoded bytes, while src/app/Library/Uploaders/Support/FileNameGenerator.php method FileNameGenerator::getExtensionFromFile applies mime_content_type() to the data URI instead of the decoded content. An authenticated administrator can therefore store arbitrary file content under an extensionless filename on the configured disk, which can cause stored cross-site scripting or other unintended behavior when the file is served and accessed. This issue is fixed in version 7.0.38 and 6.8.14.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
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-8hw4-7qjr-3wxg |
| — | backpack/crud (Packagist) | 7.0.0 to before 7.0.38 | 7.0.38 | Patch available | GHSA-8hw4-7qjr-3wxg |
- 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-8hw4-7qjr-3wxg
- backpack/crud (Packagist) Vendor— Affected 7.0.0 to before 7.0.38 Fixed in 7.0.38 Patch available GHSA-8hw4-7qjr-3wxg
Remediation
- Fix · CNA CRUD (Laravel-Backpack) Fixed in 6.8.14, 7.0.38
- Fix · GHSA-8hw4-7qjr-3wxg backpack/crud (Packagist) Fixed in 6.8.14 Advisory →
- Fix · GHSA-8hw4-7qjr-3wxg backpack/crud (Packagist) Fixed in 7.0.38 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54179
- 2026-10-03 Alias added: GHSA-8hw4-7qjr-3wxg
References
Other 6
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8hw4-7qjr-3wxg
- https://github.com/Laravel-Backpack/CRUD/pull/5989
- https://github.com/Laravel-Backpack/CRUD/commit/18b3dc1c607775617f563c41bd1ddb983f11d751
- 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-39081 Unrestricted file upload in Laravel-Backpack CRUD CVSS 3.1MEDIUM 6.6
- TI-2026-39080 backpack/crud: MyAccountController allows changing the login email without a current-password check CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-54179 · CVE Program
- CVE-2026-54179 · NVD
- FIRST EPSS
- GHSA-8hw4-7qjr-3wxg · 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