Vulnerability · Published May 7, 2026 · Assigned by GitHub_M
CVE-2026-41422Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API
High 8.3
In plain English
A high-severity SQL injection in daptin from daptin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Daptin is a GraphQL/JSON-API headless CMS. Prior to version 0.11.4, the /aggregate/:typename endpoint accepted column and group query parameters that were passed verbatim to goqu.L() — a raw SQL literal expression builder — without any validation. This bypassed all parameterization and allowed authenticated users with any valid session to inject arbitrary SQL expressions. This issue has been patched in version 0.11.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/daptin/daptin | 0.11.4 | GHSA-rw2c-8rfq-gwfv |
| Go | github.com/daptin/daptin | 0.11.4 | GO-2026-5640 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
References
- https://github.com/daptin/daptin/security/advisories/GHSA-rw2c-8rfq-gwfv x_refsource_CONFIRM
- https://github.com/daptin/daptin/releases/tag/v0.11.4 x_refsource_MISC