home / blog
2026-11-23 · high
CVE-2026-104129: SQL Injection Vulnerability in pREST
CVE-2026-104129: Critical SQL injection in pREST via _groupby parameter, versions < 2.4.0.

CVE-2026-104129 is a SQL injection vulnerability in pREST, an API that delivers an application on top of a Postgres database. The flaw is in the _groupby parameter, processed by the GroupByClause function in adapters/postgres/postgres.go. The implementation uses a less restrictive isSafeSQLExpression check compared to the one used for _select, allowing arbitrary SQL expressions in the GROUP BY clause.
Severity is rated CVSS 8.1 (High) and confirmed as high by NVD. The vulnerability was published on 11/19/2026 and there are already public repositories claiming to contain exploits. Impact includes data extraction via UNION injection and denial of service through delay-producing functions.
For defense, immediately apply the update to version 2.4.0 or later. For systems that cannot be updated, implement strict validation on _groupby parameters that reject any input not explicitly allowed. Monitor access to pREST APIs and limit access only to strictly necessary functions.
At a glance
- What
- The SQL injection vulnerability in the _groupby parameter of pREST allows an attacker to execute arbitrary SQL code, data extraction, and DoS.
- Severity
- CVSS 8.1 (High)
- Affected versions
- pREST versions prior to 2.4.0
- Fix
- Update to version 2.4.0 or later
- Status
- Published in NVD on 11/19/2026
- Action
- Apply patch immediately, implement additional controls on _groupby parameters
Sources: NVD, CVE-2026-104129