All vulnerabilities

Packagist · Servers and applications

CVE-2026-142611

Laravel: Empty array key validation bypass

Severity
Medium 5.4
Published
23 Nov 2026
Last changed
3 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
12.73.0, 13.43.0
Weakness
CWE-186
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Also known as
GHSA-cq3g-fj94-c8p3
Sources
CVE Program, OSV.dev and GitHub, Project advisories (GitHub)

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.

From laravel/framework's security advisory.

Affected software

SoftwareAffected versions
LaravelServers and applications · cna:laravel|framework
  • Every version before 12.73.0
  • From 13.0.0 before 13.43.0
LaravelServers and applications · github:laravel/framework
  • Every version before 13.43.0
  • Every version before 12.73.0
LaravelPackagist · osv:Packagist:laravel/framework
  • Every version before 12.73.0
  • From 13.0.0 before 13.43.0

About Laravel

open source web application framework, written in PHP

From Wikidata, CC0 1.0.
Developers who used it in the past year
8.9%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
28,544,906Packagist, 29 Nov 2026
Total downloads (Packagist)
637,079,484Packagist, 29 Nov 2026
GitHub stars
35,235GitHub, 29 Nov 2026
Forks
12,190GitHub, 29 Nov 2026
Latest release
v13.44.1GitHub, 29 Nov 2026
Released
24 Nov 2026GitHub
Developer
Taylor OtwellWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
9 Jun 2011Wikidata
First published on GitHub
10 Jan 2013GitHub

Release lines

ReleaseLatestSecurity fixes
1313.44.1Until 17 Mar 2028
1212.74.0Until 24 Feb 2027
1111.57.2Ended 12 Mar 2026
1010.50.5Ended 4 Feb 2025
99.52.24Ended 6 Feb 2024
88.83.29Ended 24 Jan 2023

From endoflife.date.

References