CVE-2026-54177
backpack/crud: HasUploadFields keeps the attacker-supplied file extension — public-disk uploads of `shell.php` reach the webserver
Also known as GHSA-8q2w-pv9p-mjvc
Mitigation
- Upgrade backpack/crud to one of 6.8.14, 7.0.38 (or later in the same release line).
Who should check
- Projects that depend on Packagist package backpack/crud (>= 6.0.0, < 6.8.14)
- Anyone running Laravel-Backpack CRUD >= 6.0.0, < 6.8.14; >= 7.0.0, < 7.0.38
Vulnerability facts
- Affected
- backpack/crud >= 6.0.0, < 6.8.14
- Fixed in
- 6.8.14, 7.0.38
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.93% chance of exploitation in 30 days (percentile 59, 2026-11-26)
- CWE
- CWE-434
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist backpack/crud | >= 6.0.0, < 6.8.14 | 6.8.14, 7.0.38 | osv |
| Laravel-Backpack CRUD | >= 6.0.0, < 6.8.14; >= 7.0.0, < 7.0.38 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54177. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54177.md Affected: backpack/crud >= 6.0.0, < 6.8.14 Fixed in: 6.8.14, 7.0.38 Steps: 1. Search this machine and project for backpack/crud (Packagist), Laravel-Backpack CRUD: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-54177 being exploited?
There is no confirmed exploitation: CVE-2026-54177 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.93% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54177?
Medium: CVSS 6.6 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-54177?
backpack/crud >= 6.0.0, < 6.8.14.
Is there a fix for CVE-2026-54177?
Yes. Fixed in 6.8.14, 7.0.38. Upgrade backpack/crud to one of 6.8.14, 7.0.38 (or later in the same release line).
How do I check if I'm affected by CVE-2026-54177?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.