VYPR
Medium severity5.3NVD Advisory· Published Dec 2, 2026

CVE-2026-142641

CVE-2026-142641

Description

Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, In Laravel 13.x, Request::all() let a text input with the same name as an uploaded file take precedence over the file. If an attacker submitted an empty value alongside the file, request validation (including FormRequest validation) saw the empty value instead of the upload. Rules such as nullable, image, mimes and max were then skipped. Applications that validate an optional upload this way and then read it with $request->file() or $request->hasFile() could therefore store files that bypassed type and size validation. This issue is fixed in versions 13.43.0 and 12.73.0.

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.