# CVE-2026-54179: backpack/crud: SingleBase64Image accepts any base64 payload behind a \`data:image\` prefix — SVG-with-script lands on the public disk

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.26% (percentile 11, 2026-11-28)
- **CWE:** CWE-79, CWE-434
- **Aliases:** GHSA-8hw4-7qjr-3wxg
- **Published:** 2026-08-20T18:38:43.000Z
- **Modified:** 2026-09-08T21:11:31.703Z

## 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

## 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

- Packagist `backpack/crud`: affected \>= 6.0.0, \< 6.8.14; fixed 6.8.14, 7.0.38 (osv)
- Laravel-Backpack CRUD: \>= 6.0.0, \< 6.8.14; \>= 7.0.0, \< 7.0.38 (cvelist)

## Mitigation

- Upgrade backpack/crud to one of 6.8.14, 7.0.38 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8hw4-7qjr-3wxg>
- patch: <https://github.com/Laravel-Backpack/CRUD/pull/5989>
- patch: <https://github.com/Laravel-Backpack/CRUD/commit/18b3dc1c607775617f563c41bd1ddb983f11d751>
- other: <https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14>
- other: <https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38>
- other: <https://github.com/Laravel-Backpack/CRUD>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54179>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8hw4-7qjr-3wxg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54179> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54179>
