# CVE-2026-142650: Laravel: SQL Injection in Laravel PostgreSQL Query Grammar

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-03
- Record: https://cvemate.com/vulnerability/CVE-2026-142650 · JSON: https://cvemate.com/vulnerability/CVE-2026-142650/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.689%, percentile 54.176%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- laravel framework: ≥ 13.0.0, \< 13.24.0 \| \< 12.67.0

## References

- <https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4>
- <https://github.com/laravel/framework/pull/60923>
- <https://github.com/laravel/framework/pull/61192>
- <https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6>
- <https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352>
- <https://github.com/laravel/framework/releases/tag/v12.67.0>
- <https://github.com/laravel/framework/releases/tag/v13.24.0>

---

Data as of 2026-12-05T09:09:02.717Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
