{"id":"CVE-2026-41422","published":"2026-05-07T13:56:18Z","modified":"2026-05-07T14:57:04Z","title":"Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API","vendor":"daptin","product":"daptin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00345,"percentile":0.28767,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/daptin/daptin/security/advisories/GHSA-rw2c-8rfq-gwfv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/daptin/daptin/releases/tag/v0.11.4","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.75},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"daptin","affectedVersions":[{"vendor":"daptin","product":"daptin","versions":["< 0.11.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-07T14:55:58.874491Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/daptin/daptin","vulnerableRanges":["<0.11.4"],"patched":["0.11.4"],"from":["GHSA-rw2c-8rfq-gwfv","GO-2026-5640"],"provenance":"source"}],"summary":{"text":"The flaw is an SQL injection in the Daptin headless CMS (product daptin) within its aggregate API: the /aggregate/:typename endpoint passes the column and group query parameters unvalidated into goqu.L(), a raw SQL literal builder, bypassing parameterization. An attacker with network access and any valid authenticated session, requiring no user interaction and no special configuration, can inject arbitrary SQL expressions, and this is fixed in version 0.11.4 and later.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:39Z"},"euvd":{"id":"EUVD-2026-28378","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41422","published":"2026-05-07","fixed":"0.11.4","kev":false},{"cve":"CVE-2026-44349","published":"2026-05-07","fixed":"0.11.5","kev":false,"link":{"from":"CVE-2026-41422","to":"CVE-2026-44349","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/daptin/daptin","fromFixed":"0.11.4","toFixed":"0.11.5","daysApart":0}]}},{"cve":"CVE-2026-77367","published":"2026-11-19","fixed":"0.12.30","kev":false},{"cve":"CVE-2026-77369","published":"2026-11-19","fixed":"0.12.30","kev":false}],"package":"Go:github.com/daptin/daptin"}}