{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.0.0"
                  },
                  {
                    "fixed": "13.24.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "12.67.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "d74baa412fc57ccbd19cfb64ecd33f38c42ee352"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v12.67.0",
                "range": [
                  {
                    "fixed": "fe2cdaba052cbb9f350761ccefc7ac221cbdf0b5"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v13.24.0",
                "range": [
                  {
                    "fixed": "6d481710375d2aa67656922ef760cdd2b18bcfe0"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "3e33f431a05365d008742ff8001b92641086d5f8"
            },
            {
              "fixed": "6d481710375d2aa67656922ef760cdd2b18bcfe0"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "fe2cdaba052cbb9f350761ccefc7ac221cbdf0b5"
            },
            {
              "fixed": "344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6"
            },
            {
              "fixed": "d74baa412fc57ccbd19cfb64ecd33f38c42ee352"
            }
          ],
          "repo": "https://github.com/laravel/framework",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hmj2-jgmw-v4m4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142650.json"
  },
  "details": "Laravel is a web application framework. Prior to 13.24.0 and 12.67.0, Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs. A user-influenced JSON path / identifier segment can break out of the single-quoted SQL string literal context used by PostgreSQL JSON operators. This can lead to SQL structure injection and WHERE-condition manipulation when an application passes user-influenced JSON path input into affected Query Builder APIs. This issue is fixed in versions 13.24.0 and 12.67.0.",
  "id": "CVE-2026-142650",
  "modified": "2026-12-03T00:46:07.972600002Z",
  "published": "2026-12-02T23:07:45.052Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142650.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/pull/60923"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/pull/61192"
    },
    {
      "type": "WEB",
      "url": "https://github.com/laravel/framework/releases/tag/v12.67.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/laravel/framework/releases/tag/v13.24.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142650"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Laravel: SQL Injection in Laravel PostgreSQL Query Grammar"
}