CVE-2026-54179
backpack/crud: SingleBase64Image accepts any base64 payload behind a `data:image` prefix — SVG-with-script lands on the public disk
Also known as GHSA-8hw4-7qjr-3wxg
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
- 4.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-79, 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.37, the src/app/Library/Uploaders/SingleBase64Image.php methods SingleBase64Image::uploadFiles and SingleBase64Image::uploadRepeatableFiles, used by image fields through withFiles(), accept any data URI beginning with data:image without validating the declared MIME subtype or decoded bytes, while src/app/Library/Uploaders/Support/FileNameGenerator.php method FileNameGenerator::getExtensionFromFile applies mime_content_type() to the data URI instead of the decoded content. An authenticated administrator can therefore store arbitrary file content under an extensionless filename on the configured disk, which can cause stored cross-site scripting or other unintended behavior when the file is served and accessed. This issue is fixed in version 7.0.38 and 6.8.14.
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-54179. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54179.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-54179 being exploited?
There is no confirmed exploitation: CVE-2026-54179 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54179?
Medium: CVSS 4.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-54179?
backpack/crud >= 6.0.0, < 6.8.14.
Is there a fix for CVE-2026-54179?
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-54179?
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.