GHSA-78fx-h6xr-vch4
Laravel has a File Validation Bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | laravel/framework | >= 12.0.0, < 12.1.1 | 12.1.1 |
| Packagist | laravel/framework | >= 11.0.0, < 11.44.1 | 11.44.1 |
| Packagist | laravel/framework | < 10.48.29 | 10.48.29 |
Details
As written in the advisory (Markdown source, shown as plain text).
When using wildcard validation to validate a given file or image field array (`files.*`), a user-crafted malicious request could potentially bypass the validation rules.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4
- https://nvd.nist.gov/vuln/detail/CVE-2025-27515
- https://github.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5
- https://github.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26b
- https://github.com/laravel/framework