CVE-2026-142611: Laravel: Empty array key validation bypass

Published Dec 2, 2026
·
Updated

Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, 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 requiredif:users..role,admin are not resolved for it. Rules like Rule::forEach() or array:name,qty on items. are silently skipped for that element. This issue is fixed in versions 13.43.0 and 12.73.0.

Other sources

Laravel: Empty array key validation bypass

— Packagist

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 requiredif:users..role,admin are not resolved for it. Rules like Rule::forEach() or array:name,qty on items. are silently skipped for that element.

— GitHub

Affected Software

5 affected componentsFixes available
composer/laravel/framework<12.73.0, <13.43.0
composer/laravel/framework<12.73.0
12.73.0
composer/laravel/framework>=13.0.0<13.43.0
13.43.0
composer/laravel/framework<12.73.0
12.73.0
composer/laravel/framework>=13.0.0, <13.43.0
13.43.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/laravel/framework to a version that resolves this vulnerability.

    Fixed in 12.73.0
  2. Upgrade

    Upgrade composer/laravel/framework to a version that resolves this vulnerability.

    Fixed in 13.43.0
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.43.0
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.73.0

Event History

Dec 2, 2026
CVE Published
via MITRE·10:19 PM
Data Sourced
via MITRE·10:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:18 PM
DescriptionSeverityWeakness
Dec 3, 2026
Advisory Published
via GitHub·12:16 AM
Data Sourced
via GitHub·12:16 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·12:16 AM
Affected Software
Data Sourced
via Packagist·12:16 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using composer/laravel/framework before version 13.43.0 or 12.73.0 are affected if they validate array elements through wildcard rules such as items.* and accept attacker-controlled JSON object keys.

2

What does an attacker need to exploit the validation bypass?

The attacker needs the ability to submit validated input containing an array element with an empty-string key, for example an items object with a "" key. The affected validation must rely on wildcard rules or wildcard parameters for that element.

3

Which validation logic can be skipped?

Rules attached to items.* are not applied to the empty-key element. This can silently skip Rule::forEach(), array:name,qty checks, and resolution of wildcard parameters such as required_if:users.*.role,admin.

4

How can I determine whether my application is vulnerable?

Check whether the installed Laravel framework version is earlier than 13.43.0 or 12.73.0, and review validation paths that accept JSON objects or arrays with user-controlled keys. Test whether a payload containing an empty-string key bypasses rules assigned through a wildcard path such as items.*.

5

What should be done to remediate the issue?

Update Laravel to version 13.43.0 or 12.73.0. If an update cannot be applied immediately, restrict or reject empty-string keys in untrusted JSON input before it reaches Laravel wildcard validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203