Medium severity5.9NVD Advisory· Published Dec 3, 2026
CVE-2026-142650
CVE-2026-142650
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.
Patches
Vulnerability mechanics
References
7- github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6nvd
- github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352nvd
- github.com/laravel/framework/pull/60923nvd
- github.com/laravel/framework/pull/61192nvd
- github.com/laravel/framework/releases/tag/v12.67.0nvd
- github.com/laravel/framework/releases/tag/v13.24.0nvd
- github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4nvd
News mentions
0No linked articles in our index yet.