{"id":"CVE-2026-77367","summary":"Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint","details":"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.","aliases":["GHSA-hq2p-f2vj-v3cm"],"modified":"2026-11-19T18:00:13.320760952Z","published":"2026-11-19T16:30:57.487Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77367.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77367.json"},{"type":"FIX","url":"https://github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf"},{"type":"WEB","url":"https://github.com/daptin/daptin/releases/tag/v0.12.30"},{"type":"ADVISORY","url":"https://github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77367"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/daptin/daptin","events":[{"introduced":"0"},{"fixed":"90da45d14b2440365a2789247ab2ac0f4c1f3677"},{"fixed":"b0bcc1318832b9055781f032853ef9d2264652cf"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.12.30"}]},{"range":[{"fixed":"b0bcc1318832b9055781f032853ef9d2264652cf"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v0.12.30","range":[{"fixed":"90da45d14b2440365a2789247ab2ac0f4c1f3677"}]}]}}],"versions":["v0.12.29","v0.12.28","v0.12.27","v0.12.26","v0.12.25","v0.12.24","v0.12.23","v0.12.22","v0.12.21","v0.12.20","v0.12.19","v0.12.18","v0.12.17","v0.12.16","v0.12.15","v0.12.14","v0.12.13","v0.12.12","v0.12.11","v0.12.10","v0.12.9","v0.12.8","v0.12.7","v0.12.6","v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.11.8","v0.11.7","v0.12.0","v0.11.6","v0.11.5","v0.11.4","v0.11.3","v0.11.2","v0.11.1","v0.11.0","0.10.3","0.10.2","0.10.1","v0.10.0","v0.9.10","v0.9.9","v0.9.82","v0.9.81","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77367.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H"}]}