CVE-2026-104129: github.com/prest/prest · pREST _groupby function-expression SQL injection (incomplete fix of CVE-2025-58450)
Affects github.com/prest/prestSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.1 High : upgrade to 2.4.0 soon.
Data as of 20 Nov 2026, 15:55 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.1 |
|---|
- Patch
- Available – fixed in 2.4.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade github.com/prest/prest/v2 to 2.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/prest/prest | Affected
| Fixed in– |
| Gogithub.com/prest/prest/v2 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in pREST version 2.4.0 that applies the stricter sanitizeSelectField validation to the _groupby parameter, preventing nested subqueries, UNION statements, and unsafe PostgreSQL functions. Users should upgrade to version 2.4.0 or later. Alternatively, parameterizing or whitelisting group-by columns can mitigate the risk.
Description
CVE-2026-104129 is a SQL injection vulnerability in the _groupby function-expression of the pREST project. The vulnerability arises because the _groupby parameter is filtered by a weaker validation function (isSafeSQLExpression) compared to the stricter sanitizeSelectField used for _select, allowing nested subqueries and UNION SELECT statements to pass. This flaw permits attackers to inject arbitrary SQL expressions in the GROUP BY clause, potentially exposing sensitive data. The issue was introduced as an incomplete fix of CVE-2025-58450 and affects pREST versions up to 1.5.5 and before 2.4.0. A fix is available in version 2.4.0, which routes _groupby through the stricter validation gate.
References
- github.com/prest/prest/security/advisories/GHSA-v9v2-98xq-627c (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-104129 (opens in a new tab)
- github.com/prest/prest/pull/1014 (opens in a new tab)
- github.com/prest/prest/commit/084348fa82701b098492fc520557ff290b7691e2 (opens in a new tab)
- github.com/prest/prest/commit/73e4b2aea81e2dbd33942efcb1a313fe3b151a41 (opens in a new tab)
- github.com/prest/prest (opens in a new tab)
- github.com/prest/prest/releases/tag/v2.4.0 (opens in a new tab)