{"id":"ghsa-ghsa-v9v2-98xq-627c","seq":8782332,"kind":"advisory","title":"pREST _groupby function-expression SQL injection (incomplete fix of CVE-2025-58450)","url":"https://github.com/advisories/GHSA-v9v2-98xq-627c","permalink":"https://vulnpulse.app/items/ghsa-ghsa-v9v2-98xq-627c","summary":"影響: go:github.com/prest/prest <= 1.5.5, go:github.com/prest/prest/v2 <= 2.3.0 → 2.4.0\nWhat the fix did and the gap ---------------------------- The v2.3.0 fix (commit e88dabb) routed the _select field through a strict new gate, sanitizeSelectField (postgres.go:947/1003/2097). The sibling _groupby path was left on the far weaker isSafeSQLExpression. adapters/postgres/postgres.go, GroupByClause (line 1946): a _groupby field that contains balanced parens takes the raw-SQL-expression branch (around lines 1999-2006), gated only by isSafeSQLExpression (line 2001, defined at 2043). Tha…","severity":"high","cvss":null,"techs":["go","github","postgresql"],"cves":["CVE-2026-104129","CVE-2025-58450"],"tags":["GHSA-v9v2-98xq-627c","github.com/prest/prest","github.com/prest/prest/v2"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-20T14:41:42.000Z","fetched_at":"2026-11-20T20:55:51.672Z"}