MediumGHSA-78fx-h6xr-vch4BIT-laravel-2025-27515CVE-2025-27515
Laravel has a File Validation Bypass
Published 5 Mar 2025 · Updated 10 Sept 2026
Affected packages
laravel/frameworkComposer
- Affected
- >=12.0.0 <12.1.1
- Fixed in
- 12.1.1
Update to the fixed version for your release line, for example:
composer require laravel/framework:^12.1.1laravel/frameworkComposer
- Affected
- >=11.0.0 <11.44.1
- Fixed in
- 11.44.1
Update to the fixed version for your release line, for example:
composer require laravel/framework:^11.44.1laravel/frameworkComposer
- Affected
- <10.48.29
- Fixed in
- 10.48.29
Update to the fixed version for your release line, for example:
composer require laravel/framework:^10.48.29Details
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.
Is GHSA-78fx-h6xr-vch4 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/framework, and gives you the command that fixes it.
References
- Linkgithub.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-27515
- Linkgithub.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5
- Linkgithub.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26b
- Packagegithub.com/laravel/framework
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.