## Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values

- 種別: advisory
- 重大度: medium
- 関連技術: php, laravel
- CVE: CVE-2026-142637
- 公開日時: 2026-12-03T23:00:40.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-ch34-gjmh-c4hp)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-ch34-gjmh-c4hp

影響: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0
When Rule::exists() or Rule::unique() is scoped with the fluent where() method, the condition is serialized into the string rule format and parsed again. A scalar value of NULL, NOT_NULL, or one starting with ! could be evaluated as an IS NULL, IS NOT NULL, or not-equal predicate instead of a literal comparison. If an attacker can influence a scope value, such as a tenant key, and the application relies on the rule to verify ownership of a referenced record, the validation can accept records fr…