Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAuthenticate to Backpack CRUD panel
-
ExploitLocate upload-enabled form with no MIME validation
-
ExecutionUpload PHP webshell with .php extension
-
PersistRequest uploaded file via public storage URL
-
ImpactAchieve 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 |
| 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (https://github.com/Laravel-Backpack/CRUD).
CVSS VectorVendor: https://github.com/Laravel-Backpack/CRUD
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
publicdisk in use (standard pattern for web-visible uploads) php artisan storage:linkin 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-77719
GHSA-8q2w-pv9p-mjvc
NVD
CVE.org
EPSS
Exploit-DB