Skip to main content

Backpack CRUD EUVDEUVD-2026-77719

| CVE-2026-54177 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-20 https://github.com/Laravel-Backpack/CRUD GHSA-8q2w-pv9p-mjvc
6.6
CVSS 3.1 · Vendor: https://github.com/Laravel-Backpack/CRUD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials
  2. Delivery
    Authenticate to Backpack CRUD panel
  3. Exploit
    Locate upload-enabled form with no MIME validation
  4. Execution
    Upload PHP webshell with .php extension
  5. Persist
    Request uploaded file via public storage URL
  6. Impact
    Achieve arbitrary server-side code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all five of the following conditions to hold simultaneously: (1) the attacker possesses authenticated administrator credentials to a Backpack CRUD panel - unauthenticated or standard-user access is insufficient (CVSS PR:H); (2) at least one upload field in that panel lacks an explicit mimes: or mimetypes: Laravel validation rule in its form request or field definition; (3) the Laravel application is configured to use the public disk for file storage; (4) php artisan storage:link has been executed, creating a symlink that exposes storage/app/public under the web root at /storage; and (5) the web server stack (Apache or nginx with PHP-FPM) is configured to execute PHP files served from that storage path. CVSS AC:H reflects that these multiple non-default-configuration conditions must coincide. The withFiles() path resolves extension from MIME type rather than client filename, making the precise extension source vary by code path, but neither path blocked dangerous types before patching. Post-patch, both paths throw InvalidArgumentException on denylist matches, preventing upload completion entirely.

Impact

The vendor-assigned CVSS 3.1 score is 6.6 (Medium) with vector AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H. The triple-High CIA impact reflects the real-world consequence of successful exploitation - full server-side RCE - but the PR:H and AC:H metrics substantially constrain the attack surface. PR:H requires the attacker to already hold authenticated administrator credentials, restricting viable threat actors to insiders, operators of compromised admin accounts, or those who have achieved privilege escalation through a separate vulnerability. AC:H reflects the multiple deployment-specific conditions that must coincide: the public disk, an active storage:link, absence of MIME validation on an upload field, and a PHP-FPM stack that executes PHP in the storage path. EPSS data was not provided in the input. No CISA KEV listing and no public exploit code have been identified at time of analysis, indicating this is a theoretical-but-plausible risk rather than an opportunistically weaponized one. Real-world priority is moderate: organizations running Backpack-based admin panels in default quickstart configurations should patch promptly, but the admin-credential prerequisite and multi-condition attack surface limit broad automated exploitation.

Exploit ScenarioDerived

An attacker who holds or has obtained administrator credentials to a Backpack CRUD panel navigates to an upload-enabled resource form on an application using the public disk with storage:link active and no mimes: validation on the field. The attacker submits a file named shell.php containing a PHP web shell; because the pre-patch code writes getClientOriginalExtension() verbatim, the file is stored as shell.php in the web-accessible storage path. The attacker then issues an HTTP request directly to the uploaded file's public URL, triggering PHP-FPM to execute the shell and granting arbitrary server-side code execution. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Remote code execution in Laravel Backpack CRUD's upload handling allows authenticated administrators to place PHP webshells in web-accessible storage by exploiting the lack of file extension validation inside HasUploadFields and FileNameGenerator. Affected are installations on the 6.x series before 6.8.14 and the 7.x series before 7.0.38 where the public disk with storage:link is in use and no explicit mimes: or mimetypes: Laravel validation rule guards upload fields - conditions common in quickstart-following deployments. No public exploit code has been identified and no CISA KEV listing is present at time of analysis; vendor-confirmed patches are available in releases 6.8.14 and 7.0.38.

RemediationAI

Upgrade backpack/crud to version 6.8.14 (6.x series) or 7.0.38 (7.x series) via composer update backpack/crud; exact release tags are confirmed at https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14 and https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38, and the underlying fix is in PR #5993 (https://github.com/Laravel-Backpack/CRUD/pull/5993). The patch adds a denylist of server-executable extensions (php, php3 through php8, phtml, phar, phps, shtml, pl, py, rb, jsp, cgi, asp, aspx, sh, bash, bat, cmd, exe, htaccess) to both HasUploadFields and FileNameGenerator; image-typed fields additionally enforce an allowlist. The vendor explicitly notes this is defense-in-depth, not a substitute for application-level validation - developers should add explicit mimes: or mimetypes: rules to every upload field definition or form request regardless of patch status. For unpatched systems as a compensating control, configure the web server to disable PHP execution inside the storage/uploads directory (e.g., php_flag engine off in Apache .htaccess or fastcgi_pass exclusion in nginx for that path); this has no application-level side effects but requires web server configuration access and does not address the underlying extension-preservation logic.

Affected VersionsENISA

CRUD 6.0.0, < 6.8.14
CRUD 7.0.0, < 7.0.38

Affected Packages

composer backpack/crud fix: 6.8.14, 7.0.38
euvd crud_6_0_0 fix: 6.8.14
euvd crud_7_0_0 fix: 7.0.38

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-434 (Unrestricted Upload of File with Dangerous Type) in two distinct code paths of the backpack/crud Composer package for Laravel. The legacy path, via the HasUploadFields trait's uploadFileToDisk and uploadMultipleFilesToDisk methods, hashes only the filename stem while writing getClientOriginalExtension() verbatim to disk - no allowlist, blocklist, or MIME check is applied within the trait. The newer withFiles() path via FileNameGenerator resolves the extension from the file's MIME type rather than the client-supplied filename, but similarly does not block server-executable types prior to patching. The attack is made exploitable by the standard Laravel public disk pattern: when php artisan storage:link creates a symlink from public/storage into storage/app/public, uploaded files become web-accessible, and a PHP-FPM stack configured to execute .php files in that path will interpret a maliciously named upload. CPE pkg:composer/backpack_crud covers both the 6.x and 7.x series.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/Laravel-Backpack/CRUD) PRIMARY 6.6 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

Upload delivered over HTTP (AV:N); multiple non-default deployment conditions required (AC:H); explicit admin authentication prerequisite (PR:H); full RCE yields C:H/I:H/A:H with no scope change.

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/Laravel-Backpack/CRUD).

CVSS VectorVendor: https://github.com/Laravel-Backpack/CRUD

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

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.

Details

The uploadFileToDisk and uploadMultipleFilesToDisk methods hash the filename stem but write the client-supplied extension to disk verbatim - no allowlist, blocklist, or MIME check is applied inside the trait itself.

The newer withFiles() path (via FileNameGenerator) resolves the extension from the file's MIME type rather than the client filename, but also does not block server-executable types.

Applications that follow the Backpack quickstart without adding explicit mimes: or mimetypes: validation rules in their form requests are affected.

Impact

An authenticated administrator with access to an upload-enabled CRUD panel, on a site using the public disk with web-accessible storage and no MIME type validation, can upload a server-executable file and achieve remote code execution.

Conditions required for exploitation:

  • Authenticated admin access to a Backpack CRUD panel
  • An upload field with no mimes: / mimetypes: validation rule
  • The public disk in use (standard pattern for web-visible uploads)
  • php artisan storage:link in place
  • A web server + PHP-FPM stack (default on most hosts)

Fix

A denylist for server-executable extensions has been added to both HasUploadFields and FileNameGenerator. Image-typed fields now additionally enforce an allowlist. This is defence-in-depth - it does not replace application-level validation.

Recommended developer action

Review all upload fields and add explicit mimes: or mimetypes: validation in your form requests or field definitions. Refer to the Backpack field documentation for examples.

---

Reported by Vishal Shukla (@shukla304) via sechub.dev.

Threat Intelligence Overview

EPSS Score
0.7%
Top 49% exploitable
Prevalence
Medium
popular Laravel admin scaffolding package, not universally deployed
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy