## Laravel: File validation bypass via empty input field colliding with an upload in Request::all()

- 種別: advisory
- 重大度: medium
- 関連技術: php, laravel
- CVE: CVE-2026-142641
- 公開日時: 2026-12-03T18:50:55.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-hxc4-wvjf-r59p)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-hxc4-wvjf-r59p

影響: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 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…