GitHub Advisory Database
GHSA-78fx-h6xr-vch4
Laravel has a File Validation Bypass
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | laravel/framework | From 12.0.0 before 12.1.1 (fixed in 12.1.1) |
| Packagist | laravel/framework | From 11.0.0 before 11.44.1 (fixed in 11.44.1) |
| Packagist | laravel/framework | All versions before 10.48.29 (fixed in 10.48.29) |
References
- 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