# CVE-2026-77367: Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.34%, higher than 84% of CVEs (2026-12-01)
- Published: 2026-11-19T16:30:57.487Z
- Modified: 2026-11-23T20:41:17.932Z
- Also known as: GHSA-hq2p-f2vj-v3cm, GO-2026-7012
- Weaknesses: CWE-20, CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- daptin daptin: < 0.12.30
- github.com/daptin/daptin (Go): before 0.12.30

## Every score

- GitHub_M: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- GitHub: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`

## References

- <https://github.com/daptin/daptin/security/advisories/GHSA-hq2p-f2vj-v3cm> (advisory, web)
- <https://github.com/daptin/daptin/commit/b0bcc1318832b9055781f032853ef9d2264652cf> (fix, web)
- <https://github.com/daptin/daptin/releases/tag/v0.12.30> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-77367> (advisory)
- <https://github.com/daptin/daptin> (package)

## Sources

- CVE List: [CVE-2026-77367](https://www.cve.org/CVERecord?id=CVE-2026-77367), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-hq2p-f2vj-v3cm](https://github.com/advisories/GHSA-hq2p-f2vj-v3cm), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-7012](https://pkg.go.dev/vuln/GO-2026-7012), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-77367](https://nvd.nist.gov/vuln/detail/CVE-2026-77367), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-77367 · Whole record: https://cve.day/CVE-2026-77367.json · Rebuilt by cve.day 2026-11-25T22:59:52.151Z
