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.
Published: 2026-09-14
Score: 6.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

In Laravel-Backpack:CRUD versions 6.0.0 through 6.8.14 and 7.0.38, the HasUploadFields upload helpers do not reject executable file types. An authenticated administrator can upload a file such as shell.php using an upload-enabled CRUD field that lacks MIME or type validation. When the public disk is exposed through php artisan storage:link, the file is stored with its attacker-supplied extension; the web server and PHP-FPM then interpret and execute the file, granting remote code execution. The legacy path preserves the extension, and the newer path derives an extension without blocking dangerous types. The issue is fixed in 6.8.14 and 7.0.38.

Affected Systems

The affected package is Laravel‑Backpack:CRUD. Vulnerable releases are 6.0.0 up to and including 6.8.14 and 7.0.38. All later releases contain the fix that rejects or blocks dangerous extensions. Any environment using one of those versions on a Laravel project is at risk.

Risk and Exploitability

The CVSS score of 6.6 indicates medium severity. The EPSS score of < 1% indicates a low exploitation probability, and the vulnerability is not listed in CISA KEV. An attacker must first authenticate as an administrator with CRUD access, then upload a file to a public disk linked via php artisan storage:link. After the file is stored with its original extension on the web‑accessible disk, the web server’s PHP interpreter executes it, yielding full remote code execution. The exploit requires no special network access beyond normal administrative operations and therefore is likely to be targeted once discovered.

Generated by OpenCVE AI on September 20, 2026 at 23:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Laravel‑Backpack:CRUD to version 6.8.14 or later, or to 7.0.38 or newer where the file‑type check is fixed.
  • Configure the public disk so it is not served by the web server, or remove php artisan storage:link to prevent web‑accessible storage.
  • Implement application‑level upload validation by enforcing mimes: and mimetypes: restrictions in CRUD fields to block .php and other executable extensions.

Generated by OpenCVE AI on September 20, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8q2w-pv9p-mjvc Laravel Backpack CRUD: HasUploadFields keeps the attacker-supplied file extension — public-disk uploads of `shell.php` reach the webserver
History

Wed, 16 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 15 Sep 2026 05:00:00 +0000

Type Values Removed Values Added
First Time appeared Laravel-backpack
Laravel-backpack crud
Vendors & Products Laravel-backpack
Laravel-backpack crud

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title backpack/crud: HasUploadFields keeps the attacker-supplied file extension — public-disk uploads of `shell.php` reach the webserver
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Laravel-backpack Crud
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-16T16:06:52.053Z

Reserved: 2026-06-11T21:46:52.381Z

Link: CVE-2026-54177

cve-icon Vulnrichment

Updated: 2026-09-16T16:06:45.003Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T18:17:52.757

Modified: 2026-09-30T17:51:56.193

Link: CVE-2026-54177

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T23:30:07Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type