{"id":"CVE-2026-54177","published":"2026-09-14T17:54:36Z","modified":"2026-09-16T16:06:52Z","title":"backpack/crud: HasUploadFields keeps the attacker-supplied file extension — public-disk uploads of `shell.php` reach…","vendor":"Laravel-Backpack","product":"CRUD","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0093,"percentile":0.58887,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8q2w-pv9p-mjvc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Laravel-Backpack/CRUD/pull/5993","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/pull/5994","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/commit/5c5de0af242619d0653c7c70c900cd15b1a197c5","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.78},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"laravel-backpack","affectedVersions":[{"vendor":"Laravel-Backpack","product":"CRUD","versions":[">= 6.0.0, < 6.8.14",">= 7.0.0, < 7.0.38"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-16T16:06:34.718018Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"backpack/crud","vulnerableRanges":[">=6.0.0, <6.8.14",">=7.0.0, <7.0.38"],"patched":["6.8.14","7.0.38"],"from":["GHSA-8q2w-pv9p-mjvc"],"provenance":"source"}],"summary":{"text":"The backpack/crud package (Laravel-Backpack's CRUD component) has a flaw in its HasUploadFields methods (uploadFileToDisk and uploadMultipleFilesToDisk, used via CrudTrait) and in the withFiles() path through FileNameGenerator, where server-executable file types are not rejected and the attacker-supplied extension is kept. An authenticated administrator can reach remote code execution by using an upload-enabled CRUD field without mimes or mimetypes validation, provided the public disk is web-accessible via storage:link and the web server and PHP-FPM configuration execute the stored extension.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:34Z"},"euvd":{"id":"EUVD-2026-77719","exploited":false,"provenance":"source"}}