Security mailing lists by PureSourceCode

CVE-2026-142650

MEDIUM 5.9CVSS 3.1

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.

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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed 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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.