Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2021-43617: Laravel Framework allows malicious PHP file uploads
CVE-2021-43617 · published 4 years ago
Summary
A flaw in Laravel Framework allows attackers to upload and execute malicious PHP files on Debian-based systems, potentially leading to code execution. This could allow attackers to run unauthorized code on your server. You should update Laravel Framework to the latest version to fix this issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | laravel | framework | <= 8.70.2 |
Original advisory text
Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which...
Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which are handled as application/x-httpd-php on systems based on Debian. NOTE: this CVE Record is for Laravel Framework, and is unrelated to any reports concerning incorrectly written user applications for image upload.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43617
- https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961...
- https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961...
- https://hosein-vita.medium.com/laravel-8-x-image-upload-bypass-zero-day-852bd806...
- https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a6...
- https://salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083...
- https://github.com/advisories/GHSA-364w-9g92-3grq
Severity
9.8
Critical
Type
CWE-434Unrestricted File Upload
Timeline
Published14 Nov 2021
Updated28 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta