VDB
Sign up
MEDIUM

GHSA-78fx-h6xr-vch4

Laravel has a File Validation Bypass

Quick fix

GHSA-78fx-h6xr-vch4 — laravel/framework: upgrade to the fixed version with the command below.

composer require laravel/framework:^12.1.1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/laravel/framework
Introduced in: 12.0.0Fixed in: 12.1.1
Fixcomposer require laravel/framework:^12.1.1
Packagist/laravel/framework
Introduced in: 11.0.0Fixed in: 11.44.1
Fixcomposer require laravel/framework:^11.44.1
Packagist/laravel/framework
Introduced in: 0Fixed in: 10.48.29
Fixcomposer require laravel/framework:^10.48.29

References