{"id":"CVE-2026-41422","summary":"Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API","details":"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.","aliases":["GHSA-rw2c-8rfq-gwfv","GO-2026-5640"],"modified":"2026-07-15T01:48:57.449958989Z","published":"2026-05-07T13:56:18.648Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41422.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-89"]},"references":[{"type":"WEB","url":"https://github.com/daptin/daptin/releases/tag/v0.11.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41422.json"},{"type":"ADVISORY","url":"https://github.com/daptin/daptin/security/advisories/GHSA-rw2c-8rfq-gwfv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41422"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/daptin/daptin","events":[{"introduced":"0"},{"fixed":"7212c3ac6a1de8c13473d583d670fe02b969a426"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.11.4"}]}}],"versions":["v0.11.3","v0.11.2","v0.11.1","v0.11.0","0.10.3","0.10.2","0.10.1","v0.10.0","v0.9.10","v0.9.9","v0.9.82","v0.9.81","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41422.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"}]}