Skip to main content
VulnerabilityPublished

CVE-2026-142641: Laravel · File validation bypass via empty input field colliding with an upload in Request::all()

Affects laravel/frameworkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142641· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistlaravel/frameworkAffected
  • >=13.0.0 <13.43.0
Fixed in
  • 13.43.0
Packagistlaravel/frameworkAffected
  • <12.73.0
Fixed in
  • 12.73.0

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

Community reviews

Loading reviews…