{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "3e33f431a05365d008742ff8001b92641086d5f8"
            },
            {
              "fixed": "72aa7e151062e218704d8660f407e6070040d8bc"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "d091054fca4761e109b477bdca364dc93c7fd6df"
            },
            {
              "fixed": "029e3a4ceb0c8b7e8394639b161e7d4ef906af54"
            },
            {
              "fixed": "ef1821b33245d58631784ac2093aed0c5bb91242"
            }
          ],
          "repo": "https://github.com/laravel/framework",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ch34-gjmh-c4hp"
  ],
  "database_specific": {
    "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"
  },
  "details": "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.",
  "id": "CVE-2026-142637",
  "modified": "2026-12-02T23:45:16.769634425Z",
  "published": "2026-12-02T22:42:47.618Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142637.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/pull/62425"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/pull/62426"
    },
    {
      "type": "WEB",
      "url": "https://github.com/laravel/framework/releases/tag/v12.73.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/laravel/framework/releases/tag/v13.43.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142637"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values"
}