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

Advisory record · `GHSA-8q2w-pv9p-mjvc`

- **Identifiers:** `GHSA-8q2w-pv9p-mjvc` · `CVE-2026-54177` · `PKSA-4pjj-nc36-rj91`
- **State:** Confirmed
- **Severity:** CVSS 6.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-434](https://cwe.mitre.org/data/definitions/434.html)
- **Tags:** [Unrestricted file upload](https://agentprime.io/advisories/tag/file-upload.md)
- **Published:** 20 Aug 2026
- **Updated:** 20 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 20 Aug 2026, 18:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `backpack/crud` (Packagist): affected `>=6.0.0, <6.8.14 || >=7.0.0, <7.0.38`; fixed in `6.8.14`, `7.0.38`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Backpack CRUD (backpack/crud) versions >=6.0.0 before 6.8.14 and >=7.0.0 before 7.0.38 keep the client-supplied file extension on uploads handled by HasUploadFields and withFiles(), without blocking server-executable types. An authenticated administrator with access to an upload-enabled CRUD panel could upload a server-executable file to a publicly served disk and potentially run code on the server, provided the upload field has no mimes or mimetypes validation. Upgrade to 6.8.14 or 7.0.38, and add explicit mimes or mimetypes validation to upload fields.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0093, the 60th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:24 UTC: First seen by agentprime
- 31 Oct 2026, 14:24 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8q2w-pv9p-mjvc)

## Sources

- [GitHub Advisory Database: GHSA-8q2w-pv9p-mjvc](https://github.com/advisories/GHSA-8q2w-pv9p-mjvc)
- [OSV: GHSA-8q2w-pv9p-mjvc](https://osv.dev/vulnerability/GHSA-8q2w-pv9p-mjvc)
- <https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8q2w-pv9p-mjvc>
- <https://github.com/Laravel-Backpack/CRUD/pull/5993>
- <https://github.com/Laravel-Backpack/CRUD>
- <https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14>
- <https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8q2w-pv9p-mjvc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8q2w-pv9p-mjvc/>. Everything for agents: <https://agentprime.io/llms.txt>.
