PT-2026-166365
CVE-2026-142650
·
Published
2026-12-02
·
Updated
2026-12-03
Description by
CVSS 3.1
5.9
MediumMetricsAV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Laravel versions prior to 13.24.0
Laravel versions prior to 12.67.0
Description
Laravel's PostgreSQL Query Grammar fails to escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs. This allows a user-influenced JSON path or identifier segment to break out of the single-quoted SQL string literal context used by PostgreSQL JSON operators, potentially leading to SQL structure injection and manipulation of WHERE conditions.
Recommendations
Update to version 13.24.0 or later.
Update to version 12.67.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾