CVE-2026-77369
### Summary 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. ### Details `InitializeYjsResources` (`server/endpoint_yjs.go`) registers two routes. The purpose-built, correctly-secured route, registered once per `file.*`-typed column on every table: ```go // server/endpoint_yjs.go:47-113 (abridged) path := fmt.Sprintf("/live/%v/:referenceId/%v/yjs", typename, columnInfo.ColumnName) ... return func(ginContext *gin.Context) { sessionUser := ... if sessionUser == nil { ginContext.AbortWithStatus(403); return } ... object, _, getErr := cruds[typename].GetSingleRowByReferenceIdWithTransaction(typename, parsedId, nil, tx) if getErr != nil { ginContext.AbortWithStatus(404); return } ... objectPermission := cruds[typename].GetRowPermission(object, tx2) if !objectPermission.CanUpdate(user.UserReferenceId, user.Groups, cruds[typename].AdministratorGroupId) { ginContext.AbortWithStatus(401) return } roomName := fmt.Sprintf("%v%v%v%v%v", typename, ".", referenceId, ".", columnInfo.ColumnName) ... yjsConnectionHandler(ginContext.Writer, ginContext.Request) } ``` This route correctly requires a session, loads the actual row, and checks `objectPermission.CanUpdate(...)` for the specific requesting user before allowing the WebSocket upgrade. A second, generic route is regis
Properties
- Summary
- Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint
- Severity
- critical
- Nvd fetched at
- 2026-11-22T12:30:49.958423+00:00
- Epss score
- 0.00397
- Cvss score
- 9.6
- Cvss severity
- CRITICAL
- Retrieved at
- 2026-11-22T12:32:28+00:00
- Ghsa published
- 2026-11-20T00:14:14Z
- Source url
- https://github.com/advisories/GHSA-wj7x-58c2-5793
- Ghsa updated
- 2026-11-20T00:14:15Z
- Ghsa id
- GHSA-wj7x-58c2-5793
- Last source
- FIRST EPSS
- Score
- 9.6
- Cvss version
- 3.1
- Cve id
- CVE-2026-77369
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- First seen by Signal
- 2026-11-19T19:29:21+00:00
- Name
- CVE-2026-77369
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Related Entities (5)
HAS_WEAKNESS (3)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph