CVE-2026-22789: Laravel Unvalidated File Key Mismatch

A request parameter ($FILE_KEY) is used for file upload extraction but was not found within the `$REQ->validate(...)` rules explicitly checked within this scope. This parameter mismatch entirely bypasses file validation restrictions, potentially allowing attackers to upload malicious scripts and achieve Remote Code Execution.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-22789-laravel-unvalidated-file-key-mismatch --engine opengrep

Description

A request parameter ($FILE_KEY) is used for file upload extraction but was not found within the `$REQ->validate(...)` rules explicitly checked within this scope. This parameter mismatch entirely bypasses file validation restrictions, potentially allowing attackers to upload malicious scripts and achieve Remote Code Execution.