Vulnerabilities · 2021 · Laravel
CVE-2021-43617
Laravel Framework vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Framework. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Laravel Framework runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-c · Patch
- salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083a667fd8 · Patch
- github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-43617
- cve.org/CVERecord?id=CVE-2021-43617
More vulnerabilities in Laravel products
CVE-2025-54068CVE-2025-27515CVE-2024-55661CVE-2024-52301CVE-2024-47823CVE-2024-22859CVE-2024-21504CVE-2024-13919All 25
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.