# GHSA-CQ3G-FJ94-C8P3: Laravel: Empty array key validation bypass

- Database: GitHub
- Severity: CVSS 5.4 (Medium)
- Published: 2026-12-03
- Modified: 2026-12-03

## Tracked as

- [CVE-2026-142611](https://cve.now/CVE-2026-142611.md): Laravel: Empty array key validation bypass

## Affected versions

- laravel/framework (Packagist): from 13.0.0, fixed in 13.43.0
- laravel/framework (Packagist): fixed in 12.73.0

## Description

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.

## References

- https://github.com/laravel/framework/security/advisories/GHSA-cq3g-fj94-c8p3
- https://github.com/laravel/framework/pull/62409
- https://github.com/laravel/framework/commit/ab7761b092f19127ab7c7ff8f68a08fc6651730a
- https://github.com/laravel/framework
- https://github.com/laravel/framework/releases/tag/v12.73.0
- https://github.com/laravel/framework/releases/tag/v13.43.0

Page: https://cve.now/GHSA-CQ3G-FJ94-C8P3

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
