CVE-2026-77367
Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint
- CVSS
- 9.4
- EPSS
- 2.34% (p84)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- daptin daptin
- Aliases
- GHSA-hq2p-f2vj-v3cm, EUVD-2026-130383
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
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.
Fixed in
0.12.30
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Go | github.com/daptin/daptin | <= 0.12.29 | 0.12.30 |
| Go | github.com/daptin/daptin | >=0, <0.12.30 | 0.12.30 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- ENISA EUVD · first seen 14d ago · ENISA
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm x_refsource_CONFIRM
- https://github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf x_refsource_MISC
- https://github.com/daptin/daptin/releases/tag/v0.12.30 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77367.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-77367 advisory
- https://github.com/advisories/GHSA-hq2p-f2vj-v3cm other
- https://github.com/daptin/daptin package