CVE-2026-142650 — laravel framework
One of 3 laravel framework vulnerabilities published together by NVD: our article covers all of them.
PHPWebDatabasesVulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.9
An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, an administrator account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| laravel framework | >= 13.0.0, < 13.24.0, < 12.67.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2…
- github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42…
- github.com/laravel/framework/pull/60923
- github.com/laravel/framework/pull/61192
- github.com/laravel/framework/releases/tag/v12.67.0
- github.com/laravel/framework/releases/tag/v13.24.0
Affected
- laravel framework
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142650?
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. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-142650?
CVE-2026-142650 has a CVSS 3.1 base score of 5.9 (medium), from the CNA (github.com). An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142650 being exploited?
Not as far as is known: CVE-2026-142650 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-142650?
laravel framework >= 13.0.0, < 13.24.0, < 12.67.0.
How do I fix CVE-2026-142650?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.