← 脆弱性・アップデート

警告脆弱性アドバイザリPHPLaravel

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

影響

パッケージ影響する版修正版
composer:laravel/framework>= 13.0.0, < 13.43.013.43.0
composer:laravel/framework< 12.73.012.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…

GitHub Advisory Databaseで読む

2026/12/04 03:50、GitHub Advisory Databaseが「Laravel: File validation bypass via empty input field colliding with an upload in Request::all()」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: PHP、Laravel。CVE: CVE-2026-142641。