CVE-2026-77367 Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| daptin(Go) | < 0.12.30; <= 0.12.29 | 0.12.30 | Fixed |
| daptin | = < 0.12.30 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| daptin | = < 0.12.30 | No fix listed |
| daptin(Go) | <= 0.12.29 | No fix listed |
| daptin(Go) | < 0.12.30 | 0.12.30 |
References
- https://github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm vendor-advisory
- https://github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf patch
- https://github.com/daptin/daptin/releases/tag/v0.12.30
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-130383 third-party-advisory