Skip to content
DayZeroHub
Critical CVSS 9.6GHSA-wj7x-58c2-5793CVE-2026-77369

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

daptin daptin

Summary

Daptin exposes a generic WebSocket endpoint for collaborative editing (YJS) that performs no per-resource permission check, so any authenticated user could read and modify the content of file.* columns on any row. The source rates it critical (CVSS 3.1: 9.6) and fixes it in version 0.12.30.

What happened

Daptin registers the GET /yjs/:documentName endpoint for real-time collaborative document editing (YJS/CRDT). Unlike the purpose-built per-column route, this generic endpoint only verifies that some user session exists and does not check read or update permissions on the referenced row. The document store parses the document name using the format type.referenceId.column and fetches the real content of that column with no authorization of its own. According to the description, any authenticated user, including a newly self-registered account with no privileges, can read the content of file.* columns on any row of any table, including tables that are admin-only by default. Because YJS sync is bidirectional, they could also write to that content. The associated weaknesses are CWE-639, CWE-862 and CWE-863. Identifiers: CVE-2026-77369 and GHSA-wj7x-58c2-5793.

Why it matters

The source assigns critical severity and a CVSS 3.1 score of 9.6 (vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N), with high impact on confidentiality and integrity. A low-privilege authenticated account is enough to reach content that row-level or table-level permissions are meant to protect. CISA's KEV catalog does not list this vulnerability as exploited, and the source provides no evidence of active exploitation.

Affected products and versions

github.com/daptin/daptin (Go ecosystem), versions >= 0.11.4, < 0.12.30. The fixed version stated is 0.12.30.

ProductVersionsFixed in
github.com/daptin/daptin>= 0.11.4, < 0.12.300.12.30
daptin daptin>= 0.11.4, < 0.12.30—

Action recommended by the source

The source states the vulnerability is fixed in Daptin version 0.12.30, so the vendor recommends updating to that version or later. The source does not state any alternative mitigations. More details are in advisory GHSA-wj7x-58c2-5793, the v0.12.30 release and the fix commit published in the project's repository.

Fixed in: 0.12.30

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-639, CWE-862, CWE-863

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources