CVE-2026-142641: Laravel · File validation bypass via empty input field colliding with an upload in Request::all()
Affects laravel/frameworkSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 13.43.0 when convenient.
Data as of 3 Dec 2026, 19:16 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 13.43.0, 12.73.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade laravel/framework to 13.43.0; laravel/framework to 12.73.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistlaravel/framework | Affected
| Fixed in
|
| Packagistlaravel/framework | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
### 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.
References
- github.com/laravel/framework/security/advisories/GHSA-hxc4-wvjf-r59p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142641 (opens in a new tab)
- github.com/laravel/framework/pull/62504 (opens in a new tab)
- github.com/laravel/framework/pull/62521 (opens in a new tab)
- github.com/laravel/framework/commit/24f23f0ed72c31404f4f09cd5e36cb503012c8f2 (opens in a new tab)
- github.com/laravel/framework/commit/4fbcd3b124f525906391f8a1b8ae51822f6913be (opens in a new tab)
- github.com/laravel/framework (opens in a new tab)
- github.com/laravel/framework/releases/tag/v12.73.0 (opens in a new tab)
- github.com/laravel/framework/releases/tag/v13.43.0 (opens in a new tab)