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.
Published: 2026-12-02
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hxc4-wvjf-r59p Laravel: File validation bypass via empty input field colliding with an upload in Request::all()
History

Thu, 03 Dec 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Laravel
Laravel framework
Vendors & Products Laravel
Laravel framework

Wed, 02 Dec 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title Laravel: File validation bypass via empty input field colliding with an upload in Request::all()
Weaknesses CWE-235
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Laravel Framework
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-03T18:43:37.376Z

Reserved: 2026-12-02T22:31:29.396Z

Link: CVE-2026-142641

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T23:18:42.793

Modified: 2026-12-03T19:17:28.620

Link: CVE-2026-142641

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-03T19:30:21Z

Weaknesses