CVE-2026-142637
Description
Laravel is a web application framework. Prior to 13.43.0 and 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 from other scopes. For unique, the scope can be widened. Applications that use independent authorization checks or closure-based where() conditions are not affected in the same way. This issue is fixed in versions 13.43.0 and 12.73.0.
Patches
Vulnerability mechanics
References
7- github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54nvd
- github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242nvd
- github.com/laravel/framework/pull/62425nvd
- github.com/laravel/framework/pull/62426nvd
- github.com/laravel/framework/releases/tag/v12.73.0nvd
- github.com/laravel/framework/releases/tag/v13.43.0nvd
- github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hpnvd
News mentions
0No linked articles in our index yet.