CVE-2026-142650: SQL Injection in Laravel PostgreSQL Query Grammar
Affects laravel/frameworkSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 13.24.0 when convenient.
Data as of 3 Dec 2026, 19:16 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 13.24.0, 12.67.0
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade laravel/framework to 13.24.0; laravel/framework to 12.67.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistlaravel/framework | Affected
| Fixed in
|
| Packagistlaravel/framework | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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. ### Impact 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. ### Patches [#60923](https://github.com/laravel/framework/pull/60923) [#61192](https://github.com/laravel/framework/pull/61192)
References
- github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142650 (opens in a new tab)
- github.com/laravel/framework/pull/60923 (opens in a new tab)
- github.com/laravel/framework/pull/61192 (opens in a new tab)
- github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6 (opens in a new tab)
- github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352 (opens in a new tab)
- github.com/laravel/framework (opens in a new tab)
- github.com/laravel/framework/releases/tag/v12.67.0 (opens in a new tab)
- github.com/laravel/framework/releases/tag/v13.24.0 (opens in a new tab)