本文へ移動
English version →
中 5.4

Laravel: Empty array key validation bypass

CVE-2026-142611 SecPulse初出

影響パッケージ

パッケージ影響を受ける版 → 修正版
laravelframework —
composerlaravel/framework
12.73.0 未満→ 12.73.0
Packagistlaravel/framework
12.73.0 未満→ 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.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく