CVE-2026-142650
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
- Severity
- 5.9MediumNetwork attack, high privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.69% in 30 daysPercentile54thEPSS, scored
- Listed fix
13.24.0for laravel/framework From GitHub Advisories and OSV1 more listed version
Overview
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.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:NExploit chance over time
Discussion
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
laravel/frameworkPackagist | 13.0.0 up to 13.24.0, plus listed versions v13.0.0v13.1.0v13.1.1v13.10.0v13.11.0 Show 25 more versionsShow lessv13.11.1v13.11.2v13.12.0v13.13.0v13.14.0v13.15.0v13.16.0v13.16.1v13.17.0v13.18.0v13.18.1v13.19.0v13.2.0v13.20.0v13.21.0v13.21.1v13.22.0v13.23.0v13.3.0v13.4.0v13.5.0v13.6.0v13.7.0v13.8.0v13.9.0 | 13.24.0 |
| before 12.67.0, plus listed versions 10.50.25.0.305.2.41v10.0.0v10.0.1 Show 45 more versionsShow lessv10.0.2v10.0.3v10.1.0v10.1.1v10.1.2v10.1.3v10.1.4v10.1.5v10.10.0v10.10.1v10.11.0v10.12.0v10.13.0v10.13.1v10.13.2v10.13.3v10.13.5v10.14.0v10.14.1v10.15.0v10.16.0v10.16.1v10.17.0v10.17.1v10.18.0v10.19.0v10.2.0v10.20.0v10.21.0v10.21.1v10.22.0v10.23.0v10.23.1v10.24.0v10.25.0v10.25.1v10.25.2v10.26.0v10.26.1v10.26.2v10.27.0v10.28.0v10.29.0v10.3.0v10.3.1 | 12.67.0 |
The JSON record also has 1,204 more versions.
Products 2
Sources
CVE List Score usedCVSS 3.15.9
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
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.
- Record
CVE-2026-142650- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-12-03
EUVDEUVD-2026-141977CVSS 3.15.9
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.
- Record
EUVD-2026-141977- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-12-03
GitHub AdvisoriesGHSA-hmj2-jgmw-v4m4CVSS 3.15.9
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
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
- Record
GHSA-hmj2-jgmw-v4m4- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-12-03
NVDCVSS 3.15.9
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.
- Record
CVE-2026-142650- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-12-03
OSVCVSS 3.15.9
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
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.
- Record
CVE-2026-142650- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-12-03
OSVGHSA-hmj2-jgmw-v4m4CVSS 3.15.9
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
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
- Record
GHSA-hmj2-jgmw-v4m4- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-89
- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Published date | EUVD | |
| Published date | EUVD | |
| Affected packages, references | OSV | |
| Affected packages, key facts, references | CVE List, GitHub Advisories, NVD | |
| Other IDs, references | OSV | |
| Other IDs, products, published date | EUVD, NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4
github.com/laravel/framework/pull/60923
github.com/laravel/framework/pull/61192
github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6
github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352
github.com/laravel/framework/releases/tag/v12.67.0
github.com/laravel/framework/releases/tag/v13.24.0
nvd.nist.gov/vuln/detail/CVE-2026-142650
github.com/advisories/GHSA-hmj2-jgmw-v4m4
github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142650.json
github.com/laravel/framework