NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
MEDIUM severity

Laravel: Empty array key validation bypassGHSA-cq3g-fj94-c8p3

MEDIUMFix: laravel/framework#62409

GHSA-cq3g-fj94-c8p3 is a medium-severity (CVSS 5.4) CWE-186 vulnerability in laravel/framework. A fix is available for laravel/framework — see the affected versions and patch details below.

Also known asCVE-2026-142611
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Dec 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
🐘laravel/framework🐘laravel/framework

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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 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. This issue is fixed in versions 13.43.0 and 12.73.0.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistlaravel/framework≥ 13.0.0&&< 13.43.013.43.0composer require laravel/framework:^13.43.0
🐘Packagistlaravel/frameworkall versions12.73.0composer require laravel/framework:^12.73.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update laravel/framework to 13.43.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cq3g-fj94-c8p3 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

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 eleme
O3 Security · Impact-Aware SCA

Is GHSA-cq3g-fj94-c8p3 in your dependencies?

Find it across Packagist, including transitive dependencies.