← 漏洞与更新

中危漏洞公告PHPLaravel

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

受影响

软件包受影响版本修复版本
composer:laravel/framework>= 13.0.0, < 13.43.013.43.0
composer:laravel/framework< 12.73.012.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…

在 GitHub Advisory Database 阅读

2026/12/04 08:00,GitHub Advisory Database 发布了“Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:PHP、Laravel。CVE:CVE-2026-142637。