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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142650.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "13.0.0"
},
{
"fixed": "13.24.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "12.67.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d74baa412fc57ccbd19cfb64ecd33f38c42ee352"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v12.67.0",
"range": [
{
"fixed": "fe2cdaba052cbb9f350761ccefc7ac221cbdf0b5"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v13.24.0",
"range": [
{
"fixed": "6d481710375d2aa67656922ef760cdd2b18bcfe0"
}
],
"source": "REFERENCES_TAG"
}
]
}