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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-943"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142637.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "13.0.0"
},
{
"fixed": "13.43.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "12.73.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "029e3a4ceb0c8b7e8394639b161e7d4ef906af54"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ef1821b33245d58631784ac2093aed0c5bb91242"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v12.73.0",
"range": [
{
"fixed": "d091054fca4761e109b477bdca364dc93c7fd6df"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v13.43.0",
"range": [
{
"fixed": "72aa7e151062e218704d8660f407e6070040d8bc"
}
],
"source": "REFERENCES_TAG"
}
]
}