Skip to content
OpenAdvisories
High · 8.3 CVE-2026-41422 EUVD-2026-28378GHSA-rw2c-8rfq-gwfvGO-2026-5640

Daptin vulnerable to SQL injection via unvalidated goqu.L() calls in aggregate API

Published May 7, 2026 · Updated May 7, 2026 · 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.

Affected products

VendorProductAffectedFixed
daptin daptin < 0.11.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/daptin/daptin < 0.11.4 0.11.4 GHSA-rw2c-8rfq-gwfv

Advisories 1

References