# CVE-2021-43617: Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/Va…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 20.0%, higher than 97% of CVEs (2026-12-01)
- Published: 2021-11-14T15:32:39.000Z
- Modified: 2026-09-10T03:49:09.430Z
- Also known as: GHSA-364w-9g92-3grq
- Weaknesses: CWE-434
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- laravel/framework (Packagist): up to 8.70.2
- laravel framework: up to 8.70.2

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.php#L1331-L1333> (third-party-advisory, web)
- <https://salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083a667fd8> (patch, third-party-advisory, web)
- <https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43617> (advisory)
- <https://github.com/laravel/framework> (package)
- <https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.php#L1130-L1132> (web)
- <https://hosein-vita.medium.com/laravel-8-x-image-upload-bypass-zero-day-852bd806019b> (web)

## Sources

- CVE List: [CVE-2021-43617](https://www.cve.org/CVERecord?id=CVE-2021-43617), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-364w-9g92-3grq](https://github.com/advisories/GHSA-364w-9g92-3grq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-43617](https://nvd.nist.gov/vuln/detail/CVE-2021-43617), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43617 · Whole record: https://cve.day/CVE-2021-43617.json · Rebuilt by cve.day 2026-11-25T22:24:36.005Z
