GHSA-78fx-h6xr-vch4medium6.9
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
laravel/framework Packagist
| Affected range | Recorded fix |
|---|---|
| From 12.0.0 before 12.1.1Ecosystem versions | 12.1.1 |
| From 11.0.0 before 11.44.1Ecosystem versions | 11.44.1 |
| Earlier releases before 10.48.29Ecosystem versions | 10.48.29 |
Version evidence: OSV · GHSA-78fx-h6xr-vch4
View original version evidence (1104 explicit versions)
Original source description
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
- Security advisory github.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-27515
- Patch github.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5
- Patch github.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26b
- Source reference github.com/laravel/framework