CVE-2026-142641

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.
Configurations

No configuration.

History

02 Dec 2026, 23:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-02 23:18

Updated : 2026-12-02 23:18


NVD link : CVE-2026-142641

Mitre link : CVE-2026-142641

CVE.ORG link : CVE-2026-142641


JSON object : View

Products Affected

No product.

CWE
CWE-235

Improper Handling of Extra Parameters