Vulnerability GHSA-hmj2-jgmw-v4m4

Medium Risk
MEDIUM RISK
CVSS Score: 5.9
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
20 hours ago
December 03, 2026 at 06:19 PM UTC
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
4.0.0-BETA2 - 12.66.0 and 13.0.0 - 13.23.0
4.0.0-BETA2 - 12.66.0 and 13.0.0 - 13.23.0

Summary

Laravel: SQL Injection in Laravel PostgreSQL Query Grammar

Details

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 #61192

Impacted packages

Timeline

Published
20 hours ago
December 03, 2026 at 06:19 PM UTC
Fixed (13.24.0)
4 months ago
August 04, 2026 at 03:54 PM UTC
Fixed (12.67.0)
3 months ago
August 18, 2026 at 01:37 PM UTC
Last Modified
20 hours ago
December 03, 2026 at 06:30 PM UTC