Daptin: unauthenticated SQL injection via sort param and YJS endpoint IDOR allow data theft (CVE-2026-77367, CVE-2026-77369)
Severity: critical · Patch status: patched · Since 2026-11-20 · CVE-2026-77367, CVE-2026-77369
Two critical advisories were published for Daptin, an open-source Go API server. CVE-2026-77367 (CVSS 9.4): the sort query parameter on every entity list endpoint (GET /api/<entity) is concatenated into raw SQL identifiers via goqu.I() without column validation, enabling unauthenticated denial of service and blind/error-based extraction of data from tables the requester cannot read. CVE-2026-77369 (CVSS 9.6): the generic YJS WebSocket endpoint /yjs/:documentName checks only that some session exists, with no per-row authorization, letting any authenticated user (including a fresh self-registered account) read and write any file.-typed column on any row of any table, including admin-only tables. Both affect versions up to (or =0.11.4 and <) 0.12.30 and are fixed in 0.12.30. Public PoCs exist; no in-the-wild exploitation reported.
What to do
- Upgrade Daptin to 0.12.30 immediately if you run any instance
- If upgrade is delayed, restrict network access to Daptin endpoints and block or validate the sort query parameter at a reverse proxy/WAF
- Force re-review of data in file.*-typed columns for signs of unauthorized reads or tampering via /yjs/
- Audit access logs for requests with malformed sort parameters or WebSocket upgrades to /yjs/:documentName
- Rotate or re-protect any sensitive data stored in Daptin file columns that may have been exposed
Fixed versions
Sources
All live incidents on Threat Watch