Paper/Archive/CVE-2026-77367

CVE-2026-77367

daptin daptin — Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
daptin< 0.12.30–CNA

Scores by source

GitHub_M (CNA)9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

refgithub.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cmrefgithub.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cfrefgithub.com/daptin/daptin/releases/tag/v0.12.30

Related coverage