- Severity: MEDIUM
- CVE: CVE-2026-142611
- Ecosystems: composer, composer
- Packages: laravel/framework, laravel/framework
When validated input contains an array element whose key is an empty string, such as `{“items”: {“”: {“name”: “…”}}}` in a JSON request, the rules attached to `items.*` are never applied to that element. `ValidationRuleParser` already matches empty segments with `[^\.]*`, but `ValidationData::extractValuesForWildcards()` and `Validator::getExplicitKeys()` still use `[^\.]+`, so the element is never gathered and wildcard parameters such as `required_if:users.*.role,admin` are not resolved for it. Rules like `Rule::forEach()` or `array:name,qty` on `items.*` are silently skipped for that element.
Source: GitHub Security Advisories · 2026-12-03