CVE-2026-142637 — Laravel/framework — CWE-943
### Impact 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. ### Patches A fix that makes the validator read conditions from the rule object so `where()` values are compared literally is proposed in laravel/framework pull requests 62425 (13.x) and 62426 (12.x). ### Workarounds Do not pass user-influenced values to the scalar `where()` form. Use a closure-based `where()` and perform independent ownership authorization of referenced records.
### Impact 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. ### Patches A fix that makes the validator read conditions from the rule object so `where()` values are compared literally is proposed in laravel/framework pull requests 62425 (13.x) and 62426 (12.x). ### Workarounds Do not pass user-influenced values to the scalar `where()` form. Use a closure-based `where()` and perform independent ownership authorization of referenced records.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-142637
CVSS 4.8/10 · MEDIUM · 02.12.2026
CWE: CWE-943
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Impact
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 tenan…
Affected: laravel/framework
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L).
🛡️ REMEDIATION
→ Apply vendor security update for laravel/framework.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query