Skip to main content
VulnerabilityPublished

CVE-2026-142650: SQL Injection in Laravel PostgreSQL Query Grammar

Affects laravel/frameworkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142650· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 13.24.0 when convenient.

Data as of 3 Dec 2026, 19:16 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.9
Patch
Available – fixed in 13.24.0, 12.67.0
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade laravel/framework to 13.24.0; laravel/framework to 12.67.0.

Affected software

ProductAffectedFixed in
Packagistlaravel/frameworkAffected
  • >=13.0.0 <13.24.0
Fixed in
  • 13.24.0
Packagistlaravel/frameworkAffected
  • <12.67.0
Fixed in
  • 12.67.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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. ### Impact 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. ### Patches [#60923](https://github.com/laravel/framework/pull/60923) [#61192](https://github.com/laravel/framework/pull/61192)

References

Community reviews

Loading reviews…