Go
CVE-2026-77367
Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint
- Severity
- Critical 9.4
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.12.30
- Exploit chance
- 0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change some data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H- Also known as
- GHSA-hq2p-f2vj-v3cm
- Sources
- OSV.dev and GitHub
Description
An unauthenticated attacker can inject arbitrary SQL through the sort query parameter accepted by Daptin's generic entity list endpoint (GET /api/), which every table in a Daptin instance exposes. The parameter is concatenated into raw SQL identifiers with no validation that the referenced column exists, unlike a sibling code path in the same file that received exactly this validation as the fix for a previously published advisory (GHSA-rw2c-8rfq-gwfv). Impact ranges from unauthenticated denial of service (a single crafted request 500s the query) to blind/error-based extraction of data from tables the requester has no permission to read.
PaginatedFindAllWithoutFilters in server/resource/resource_findallpaginated.go reads the sort query parameter directly from the request with no validation:
Each entry is then concatenated with the table name and passed to goqu.I() (goqu's raw SQL identifier constructor) in two separate places, with no check that the referenced column exists on the…
Affected software
| Software | Affected versions |
|---|---|
github.com/daptin/daptinGo · osv:Go:github.com/daptin/daptin |
|
About github.com/daptin/daptin
Vulnerabilities in github.com/daptin/daptin
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 2
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-135435Daptin before 0.13.61 Incorrect Authorization via CardDAV PUT Contact UpdateMedium 5.3 23 Nov 2026
- CVE-2026-77369Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpointCritical 9.6 20 Nov 2026
- CVE-2026-62160Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddlewareHigh 29 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-77367
- GitHub Advisory Database https://github.com/advisories/GHSA-hq2p-f2vj-v3cm