Vulnerability GHSA-cq3g-fj94-c8p3

Medium Risk
MEDIUM RISK
CVSS Score: 5.4
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
13 hours ago
December 03, 2026 at 12:16 AM UTC
Laravel: Empty array key validation bypass
4.0.0-BETA2 - 12.72.0 and 13.0.0 - 13.42.0
4.0.0-BETA2 - 12.72.0 and 13.0.0 - 13.42.0

Summary

Laravel: Empty array key validation bypass

Details

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.

Impacted packages

Timeline

Published
13 hours ago
December 03, 2026 at 12:16 AM UTC
Fixed (12.73.0)
15 days ago
November 17, 2026 at 02:54 PM UTC
Fixed (13.43.0)
15 days ago
November 17, 2026 at 02:58 PM UTC
Last Modified
12 hours ago
December 03, 2026 at 12:30 AM UTC