CVE-2026-142641
### Impact 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. ### Patches Empty input values (`null`, empty string or empty array) no longer shadow a colliding uploaded file in `Request::all()`. This is fixed in laravel/framework 13.x by https://github.com/laravel/framework/pull/62521 and released in v13.43.0.
Properties
- Severity
- medium
- Summary
- Laravel: File validation bypass via empty input field colliding with an upload in Request::all()
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.00427
- Cvss severity
- MEDIUM
- Cvss score
- 5.3
- Retrieved at
- 2026-12-04T15:02:58+00:00
- Ghsa published
- 2026-12-03T18:50:55Z
- Source url
- https://github.com/advisories/GHSA-hxc4-wvjf-r59p
- Ghsa updated
- 2026-12-03T18:50:59Z
- Ghsa id
- GHSA-hxc4-wvjf-r59p
- Last source
- FIRST EPSS
- Score
- 5.3
- Cvss version
- 3.1
- Cve id
- CVE-2026-142641
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- First seen by Signal
- 2026-12-03T02:46:42+00:00
- Name
- CVE-2026-142641
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph