critical9.8
CVE-2025-27515
Laravel has a File Validation Bypass
Impact
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 | Fixed in |
|---|---|---|---|
| composer | laravel/framework | >= 12.0.0, < 12.1.1 | 12.1.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Laravel | Framework | before 11.44.1 from 12.0.0 before 12.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5
- https://github.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4
- https://github.com/advisories/GHSA-78fx-h6xr-vch4
- https://nvd.nist.gov/vuln/detail/CVE-2025-27515
- https://github.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26b