← 漏洞与更新

中危漏洞公告PHPLaravelPostgreSQL

Laravel: SQL Injection in Laravel PostgreSQL Query Grammar

受影响

软件包受影响版本修复版本
composer:laravel/framework>= 13.0.0, < 13.24.013.24.0
composer:laravel/framework< 12.67.012.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. 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/la…

在 GitHub Advisory Database 阅读

2026/12/04 03:19,GitHub Advisory Database 发布了“Laravel: SQL Injection in Laravel PostgreSQL Query Grammar”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:PHP、Laravel、PostgreSQL。CVE:CVE-2026-142650。