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

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-04-22T17:38:02.000Z
- Modified: 2026-06-25T23:11:35.232Z
- Also known as: GHSA-rw2c-8rfq-gwfv, GO-2026-5640
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- daptin daptin: < 0.11.4
- github.com/daptin/daptin (Go): before 0.11.4

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 8.3 High `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> (advisory, web)
- <https://github.com/daptin/daptin/releases/tag/v0.11.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41422> (advisory)
- <https://github.com/daptin/daptin> (package)

## Sources

- CVE List: [CVE-2026-41422](https://www.cve.org/CVERecord?id=CVE-2026-41422), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-rw2c-8rfq-gwfv](https://github.com/advisories/GHSA-rw2c-8rfq-gwfv), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5640](https://pkg.go.dev/vuln/GO-2026-5640), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-41422](https://nvd.nist.gov/vuln/detail/CVE-2026-41422), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-41422 · Whole record: https://cve.day/CVE-2026-41422.json · Rebuilt by cve.day 2026-11-25T22:59:20.885Z
