Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| composer:laravel/framework | >= 13.0.0, < 13.24.0 | 13.24.0 |
| composer:laravel/framework | < 12.67.0 | 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. 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…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/04 03:19,GitHub Advisory Database 发布了“Laravel: SQL Injection in Laravel PostgreSQL Query Grammar”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:PHP、Laravel、PostgreSQL。CVE:CVE-2026-142650。