CVE Catalog

CVE-2026-142650

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.69%

54th percentile - higher than 54% of all known CVEs

Summary

In Laravel (versions prior to 13.24.0 and 12.67.0), the 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 SQL string literal context, leading to SQL structure injection and WHERE-condition manipulation. The issue is fixed in versions 13.24.0 and 12.67.0.

Risk Assessment

Laravel applications using PostgreSQL and passing user input into JSON paths in Query Builder may be vulnerable to SQL injection. This could lead to unauthorized data access or modification.

Recommendation

Update Laravel to version 13.24.0 or 12.67.0. Review applications for user input passed into JSON paths in Query Builder APIs and apply input validation where necessary.

Other vulnerabilities in Laravel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS