CVE-2026-142637
### 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.
Properties
- Severity
- medium
- Summary
- Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.00327
- Cvss severity
- MEDIUM
- Cvss score
- 4.8
- Retrieved at
- 2026-12-04T15:02:58+00:00
- Ghsa published
- 2026-12-03T23:00:40Z
- Source url
- https://github.com/advisories/GHSA-ch34-gjmh-c4hp
- Ghsa updated
- 2026-12-03T23:00:40Z
- Ghsa id
- GHSA-ch34-gjmh-c4hp
- Last source
- FIRST EPSS
- Score
- 4.8
- Cvss version
- 3.1
- Cve id
- CVE-2026-142637
- Cvss vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- First seen by Signal
- 2026-12-03T02:46:42+00:00
- Name
- CVE-2026-142637
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph