Skip to main content
VulnerabilityPublished

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

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-104129· High 8.1

Not known to be exploited · CVSS 8.1 High : upgrade to 2.4.0 soon.

Data as of 20 Nov 2026, 15:55 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.18.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Gogithub.com/prest/prestAffected
  • <=1.5.5
Fixed in–
Gogithub.com/prest/prest/v2Affected
  • <2.4.0
Fixed in
  • 2.4.0

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

Community reviews

Loading reviews…