cve.bz

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

5.4 medium

Medium (5.4) in laravel framework.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CWE
CWE-186 Overly Restrictive Regular Expression
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-142611 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142611?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142611?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142611 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
laravel framework>= 13.0.0, < 13.43.0
laravel framework< 12.73.0

References

Check your stackJSON