{"api_version":"1","generated_at":"2026-12-03T02:30:17+00:00","cve":"CVE-2026-142650","urls":{"html":"https://cve.report/CVE-2026-142650","api":"https://cve.report/api/cve/CVE-2026-142650.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142650","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142650"},"summary":{"title":"Laravel: SQL Injection in Laravel PostgreSQL Query Grammar","description":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-12-03 00:18:07","updated_at":"2026-12-03 00:18:07"},"problem_types":["CWE-89","CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/laravel/framework/releases/tag/v12.67.0","name":"https://github.com/laravel/framework/releases/tag/v12.67.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/releases/tag/v13.24.0","name":"https://github.com/laravel/framework/releases/tag/v13.24.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352","name":"https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4","name":"https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/pull/60923","name":"https://github.com/laravel/framework/pull/60923","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6","name":"https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/pull/61192","name":"https://github.com/laravel/framework/pull/61192","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142650","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142650","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"laravel","product":"framework","version":"affected >= 13.0.0, < 13.24.0","platforms":[]},{"source":"CNA","vendor":"laravel","product":"framework","version":"affected < 12.67.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"framework","vendor":"laravel","versions":[{"status":"affected","version":">= 13.0.0, < 13.24.0"},{"status":"affected","version":"< 12.67.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T23:07:45.052Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4"},{"name":"https://github.com/laravel/framework/pull/60923","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/pull/60923"},{"name":"https://github.com/laravel/framework/pull/61192","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/pull/61192"},{"name":"https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/commit/344fcc35a76eb294aeb67ac4b1b9c5b25d2a38f6"},{"name":"https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/commit/d74baa412fc57ccbd19cfb64ecd33f38c42ee352"},{"name":"https://github.com/laravel/framework/releases/tag/v12.67.0","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v12.67.0"},{"name":"https://github.com/laravel/framework/releases/tag/v13.24.0","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v13.24.0"}],"source":{"advisory":"GHSA-hmj2-jgmw-v4m4","discovery":"UNKNOWN"},"title":"Laravel: SQL Injection in Laravel PostgreSQL Query Grammar"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-142650","datePublished":"2026-12-02T23:07:45.052Z","dateReserved":"2026-12-02T22:43:22.233Z","dateUpdated":"2026-12-02T23:07:45.052Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 00:18:07","lastModifiedDate":"2026-12-03 00:18:07","problem_types":["CWE-89","CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":0.7,"impactScore":5.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142650","Ordinal":"1","Title":"Laravel: SQL Injection in Laravel PostgreSQL Query Grammar","CVE":"CVE-2026-142650","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142650","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Laravel: SQL Injection in Laravel PostgreSQL Query Grammar"}]}}}