Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. backpack/crud
  4. ›
  5. CVE-2026-54177

CVE-2026-54177: Laravel Backpack CRUD: HasUploadFields keeps the attacker-supplied file extension — public-disk uploads of `shell.php` reach the webserver

August 20, 2026

HasUploadFields (used via CrudTrait on Backpack-managed models) and the withFiles() uploader preserve the client-supplied file extension without validation. On installations using a public disk with php artisan storage:link, this allows an authenticated administrator to upload a file with a server-executable extension that the web server will pass to the PHP interpreter - if no MIME or other type of upload validation is present.

References

  • github.com/Laravel-Backpack/CRUD/pull/5993
  • github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14
  • github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38
  • github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8q2w-pv9p-mjvc
  • github.com/advisories/GHSA-8q2w-pv9p-mjvc
  • nvd.nist.gov/vuln/detail/CVE-2026-54177

Code Behaviors & Features

Detect and mitigate CVE-2026-54177 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.0 before 6.8.14, all versions starting from 7.0.0 before 7.0.38

Fixed versions

  • 6.8.14
  • 7.0.38

Solution

Upgrade to versions 6.8.14, 7.0.38 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/backpack/crud/CVE-2026-54177.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:16 +0000.