CVE-2026-142650
MEDIUM 5.9CVSS 3.1Laravel: 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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-89
- Also known as
- GHSA-hmj2-jgmw-v4m4
- Sources
- NVDJSONCVE ListJSONOSV GHSA-hmj2-jgmw-v4m4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | laravel | framework | = >= 13.0.0, < 13.24.0; = < 12.67.0 | |
| OSV | Packagist | laravel/framework | >= 13.0.0, < 13.24.0 | 13.24.0 |
| OSV | Packagist | laravel/framework | < 12.67.0 | 12.67.0 |
References
- https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/pull/60923 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/pull/61192 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/releases/tag/v12.67.0 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/releases/tag/v13.24.0 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4 · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-142650 · ADVISORY
- https://github.com/laravel/framework · PACKAGE
History
- 3 Dec 2026 21:56 UTC · NVD: status Received → Awaiting Analysis
- 3 Dec 2026 19:56 UTC · OSV: first stored (published 3 Dec 2026)
- 3 Dec 2026 17:56 UTC · NVD: updated (other details)
- 3 Dec 2026 15:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 00:30 UTC · NVD: first stored (published 3 Dec 2026)
- 2 Dec 2026 23:30 UTC · CVE List: first stored (published 2 Dec 2026)