All vulnerabilities

Go

CVE-2026-77369

Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint

Severity
Critical 9.6
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.12.30
Exploit chance
0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Also known as
GHSA-wj7x-58c2-5793
Sources
OSV.dev and GitHub

Description

Daptin registers a generic WebSocket endpoint, GET /yjs/:documentName, for real-time collaborative document editing (YJS/CRDT). Unlike its purpose-built sibling route, this generic endpoint performs no per-resource authorization check - it only verifies that some user session exists. Because the document store parses :documentName as typename.referenceId.columnName and fetches that row's real column content unconditionally, any authenticated user (including a brand-new, zero-privilege, self-registered account) can read - and, since YJS sync is bidirectional, also write - the content of any file.*-typed column on any row of any table, including tables that are admin-only by default.

InitializeYjsResources (server/endpoint_yjs.go) registers two routes.

The purpose-built, correctly-secured route, registered once per file.*-typed column on every table:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/daptin/daptinGo · osv:Go:github.com/daptin/daptin
  • From 0.11.4 before 0.12.30

About github.com/daptin/daptin

References