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

CVE-2026-54179: Laravel Backpack CRUD: SingleBase64Image accepts any base64 payload behind a `data:image` prefix — SVG-with-script lands on the public disk

August 20, 2026

SingleBase64Image::uploadFiles — the uploader bound to image-typed fields via withFiles() — only verifies that the submitted value starts with the string data:image. The MIME subtype and the base64-decoded bytes are never inspected or validated. A related bug in FileNameGenerator causes the stored file to receive an extensionless filename, because mime_content_type() returns false when given a data URI instead of a filesystem path.

The combination allows an authenticated admin to store a file of arbitrary type on the configured disk under a name without a recognizable extension.

References

  • 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-8hw4-7qjr-3wxg
  • github.com/advisories/GHSA-8hw4-7qjr-3wxg
  • nvd.nist.gov/vuln/detail/CVE-2026-54179

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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 4.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:31 +0000.