{"vuln_id":"GHSA-hmj2-jgmw-v4m4","aliases":["GHSA-h2hg-mfj4-rg7q","GHSA-gvpq-g4gw-8p4x"],"description":"SQL Injection in Laravel PostgreSQL Query Grammar ","published_at":"2026-11-18T12:41:50Z","modified_at":"2026-11-18T12:41:50Z","first_seen_at":"2026-11-21T19:15:07.353331Z","severity":"medium","severity_source":"ghsa","cvss_score":5.9,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-hmj2-jgmw-v4m4"},"matched_alias":null,"items":[{"id":575,"source":{"id":"gh-laravel","name":"Laravel framework releases (GitHub laravel/framework)"},"title":"GHSA-hmj2-jgmw-v4m4: SQL Injection in Laravel PostgreSQL Query Grammar","summary":"SQL Injection in Laravel PostgreSQL Query Grammar \n\nLaravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs.\r\n\r\nA user-influenced JSON path / identifier segment can break out of the single-quoted SQL string literal context used by PostgreSQL JSON operators. \r\n\r\n### Impact\r\nThis can lead to SQL structure injection and WHERE-condition manipulation when an application passes user-influenced JSON path input into affected Query Builder APIs.\r\n\r\n### Patches\r\n[#60923](https://github.com/laravel/framework/pull/60923) \r\n[#61192](https://github.com/laravel/framework/pull/61192) \n\nAffected packages: composer:laravel/framework\nPatched: laravel/framework >=13.24.0, laravel/framework >=12.67.0","url":"https://github.com/laravel/framework/security/advisories/GHSA-hmj2-jgmw-v4m4","published_at":"2026-11-18T12:41:50Z","updated_at":"2026-11-18T12:41:50Z","fetched_at":"2026-11-21T19:15:07.232344Z","severity":"medium","cvss_score":5.9,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"laravel","product":"laravel/framework","vuln_id":"GHSA-hmj2-jgmw-v4m4","vuln_ids":["GHSA-GVPQ-G4GW-8P4X","GHSA-H2HG-MFJ4-RG7Q","GHSA-HMJ2-JGMW-V4M4"],"tags":["repo-advisory","composer","security","repo:laravel/framework"],"cluster_id":415,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/575","html":"https://vulnwatch.ve1ve2.com/item/575"}},{"id":12604,"source":{"id":"gh-laravel","name":"Laravel framework releases (GitHub laravel/framework)"},"title":"[SECURITY RELEASE] laravel/framework v12.67.0","summary":"Fixes advisories: GHSA-h2hg-mfj4-rg7q, GHSA-gvpq-g4gw-8p4x, GHSA-hmj2-jgmw-v4m4\n\n* [12.x] Stricten `upload` to be fetch only from request's query string for temporary upload urls by @crynobone in https://github.com/laravel/framework/pull/61145\n* [12.x] Improves `in` validation rule from getting bypass via loose comparison by @crynobone in https://github.com/laravel/framework/pull/61146\n* [12.x] Retry timed-out cloud agent long-polls by @kieranbrown in https://github.com/laravel/framework/pull/61178\n* [12.x] Escape single quotes in Postgres JSON path attributes by @crynobone in https://github.com/laravel/framework/pull/61192\n* [12.x] Promote nested data to top-level managed queue event by @timacdonald in https://github.com/laravel/framework/pull/61225\n* [12.x] Backport #60908: Avoid quadratic wildcard rule expansion by @OutlawPlz in https://github.com/laravel/framework/pull/61232","url":"https://github.com/laravel/framework/releases/tag/v12.67.0","published_at":"2026-08-18T13:39:12Z","updated_at":null,"fetched_at":"2026-11-22T14:05:36.930603Z","severity":"medium","cvss_score":5.9,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"laravel","product":"framework","vuln_id":"GHSA-h2hg-mfj4-rg7q","vuln_ids":["GHSA-GVPQ-G4GW-8P4X","GHSA-H2HG-MFJ4-RG7Q","GHSA-HMJ2-JGMW-V4M4"],"tags":["release","repo:laravel/framework","security"],"cluster_id":406,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12604","html":"https://vulnwatch.ve1ve2.com/item/12604"}}]}