Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint
- CVE-2026-77367
- GHSA-hq2p-f2vj-v3cm
- GO-2026-7012
- EUVD-2026-130383
Description
Daptin is a GraphQL/JSON-API headless CMS. Prior to 0.12.30, the generic GET /api/{entity} list endpoint accepts attacker-controlled sort values in PaginatedFindAllWithoutFilters in server/resource/resource_findallpaginated.go without validating the requested column against the table schema. The code uses those values for SELECT and ORDER BY identifier construction, so an embedded identifier quote can terminate the quoted identifier and make the remainder parse as SQL, allowing an unauthenticated attacker to extract unauthorized table data through blind or error-based behavior or repeatedly trigger query failures. This issue is fixed in version 0.12.30.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
daptin
Affected versions Fixed in < 0.12.30 none stated github.com/daptin/daptinGo
Affected versions Fixed in up to 0.12.29 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.