CVE-2026-77367 daptin · daptin
AI summary
Daptin before 0.12.30 lets unvalidated sort values on the GET /api/{entity} list endpoint inject SQL, allowing an unauthenticated remote attacker to extract unauthorized table data or repeatedly trigger query failures. Critical (CVSS 9.4); upgrade to 0.12.30.
Official 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.
- Published
- 2026-11-19 17:18 UTC
- Modified
- 2026-11-19 21:18 UTC
- CVSS
- 9.4 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H - EPSS
- 0.68% (percentile 48)
- ENISA EUVD
- EUVD-2026-130383
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
- CWE
- CWE-20
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- low
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf - github.com
https://github.com/daptin/daptin/releases/tag/v0.12.30 - github.com
https://github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm