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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-hmj2-jgmw-v4m4 | Laravel: SQL Injection in Laravel PostgreSQL Query Grammar |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 03 Dec 2026 17:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Laravel
Laravel framework |
|
| Vendors & Products |
Laravel
Laravel framework |
Wed, 02 Dec 2026 23:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Laravel: SQL Injection in Laravel PostgreSQL Query Grammar | |
| Weaknesses | CWE-89 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-12-03T15:10:25.094Z
Reserved: 2026-12-02T22:43:22.233Z
Link: CVE-2026-142650
No data.
Status : Received
Published: 2026-12-03T00:18:07.750
Modified: 2026-12-03T16:18:02.307
Link: CVE-2026-142650
No data.
OpenCVE Enrichment
Updated: 2026-12-03T17:15:03Z
Weaknesses
Github GHSA