Laravel: Nested sometimes validation rules skipped when value is __missing__
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 |
| composer:laravel/framework | < 12.72.0 | 12.72.0 |
When an attribute is nested or uses a wildcard (for example profile.age or items..quantity) and is validated with the sometimes rule, submitting the literal string __missing__ as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by validated(). Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without sometimes ar…
Read on GitHub Advisory Database
On 12/04/2026, 03:53 AM, GitHub Advisory Database published " Laravel: Nested sometimes validation rules skipped when value is __missing__" (type: Advisory). Severity is "Medium" (medium). Related technologies: PHP, Laravel. CVE: CVE-2026-142624.