CVE Catalog

CVE-2026-142637

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

28th percentile - higher than 28% of all known CVEs

Summary

In Laravel before versions 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 string 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.

Risk Assessment

If an attacker can influence a scope value (such as a tenant key), validation can accept records from other scopes, and for unique the scope can be widened.

Recommendation

Upgrade Laravel to version 13.43.0 or 12.73.0 and use independent authorization checks or closure-based where() conditions.

Other vulnerabilities in Laravel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS