cvelo
P3 · MediumCVSS 4.8EPSS 0.3%

Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values

  • CVE-2026-142637
  • GHSA-ch34-gjmh-c4hp
  • EUVD-2026-141966

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.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • laravel framework

    Affected versionsFixed in
    >= 13.0.0, < 13.43.0none stated
    < 12.73.0none stated
  • laravel/frameworkPackagist

    Affected versionsFixed in
    from 13.0.0 to before 13.43.013.43.0
    before 12.73.012.73.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.