PT-2026-166357
CVE-2026-142641
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Laravel versions prior to 13.43.0
Laravel versions prior to 12.73.0
Description
In Laravel 13.x, the
Request::all() method allows a text input with the same name as an uploaded file to take precedence over the file. If an attacker submits an empty value alongside the file, request validation (including FormRequest validation) processes the empty value instead of the upload. Consequently, validation rules such as nullable, image, mimes, and max are skipped. Applications that validate optional uploads in this manner and subsequently read them using $request->file() or $request->hasFile() may store files that bypass type and size validation.Recommendations
Update to version 13.43.0 or later.
Update to version 12.73.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾