MediumGHSA-cq3g-fj94-c8p3CVE-2026-142611

Laravel: Empty array key validation bypass

Published 3 Dec 2026 · Updated 3 Dec 2026

Affected packages

Affected
>=13.0.0 <13.43.0
Fixed in
13.43.0
Update to the fixed version for your release line, for example:composer require laravel/framework:^13.43.0
Affected
<12.73.0
Fixed in
12.73.0
Update to the fixed version for your release line, for example:composer require laravel/framework:^12.73.0

We confirm your address first. See our privacy policy.

Which laravel/framework does your project really install?

Drop your composer.lock hereWe find the exact laravel/framework version you install, even when another package pulls it in, and tell you if it’s affected and what to run. Free, no sign-up.

Works for private projects: the file is read in memory to run the scan and then dropped. Also reads composer.json.

Public repo?

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

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.

Is GHSA-cq3g-fj94-c8p3 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/framework, and gives you the command that fixes it.

More advisories for laravel/framework

  • HighCVE-2026-142612Laravel: Denial of service via crafted JSON request body · 3 Dec 2026
  • LowCVE-2026-128083Laravel: Task Output Injection - Concurrency Process · 13 Nov 2026
  • CriticalCVE-2026-114509Laravel TokenGuard authentication bypass through non-string API credentials · 23 Oct 2026
  • MediumCVE-2026-114508Laravel relationship inclusion can trigger unauthorized data destruction · 23 Oct 2026
  • LowCVE-2026-102279Laravel: XSS in Debug Page Information · 29 Sept 2026
  • MediumGHSA-crmm-hgp2-wgrpLaravel Framework: Temporary Signed URL Path Confusion · 17 Jun 2026
All 31 advisories for laravel/framework

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.