Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-74904

CVE-2026-74904: SiYuan: 17 block metadata/content endpoints in kernel/api/block.go have zero publish-access filtering, reachable by anonymous publish-mode readers

October 2, 2026

17 handlers in kernel/api/block.go, all gated only by model.CheckAuth with no admin-role requirement, return block content-derived text, structural metadata, or existence information for any block ID supplied, with no access check anywhere in the handler or, for the ones checked in detail, the model functions they call. This is CWE-862 (Missing Authorization), the same class as the companion advisories from this review round, found in a different file via a systematic bulk check rather than manual inspection of each function individually.

References

  • github.com/advisories/GHSA-4vpg-gwqq-w44c
  • github.com/siyuan-note/siyuan/commit/bd067a4fe9b208c0858d8d9dc6220dc8affc403e
  • github.com/siyuan-note/siyuan/releases/tag/v3.8.0
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-4vpg-gwqq-w44c
  • nvd.nist.gov/vuln/detail/CVE-2026-74904
  • www.vulncheck.com/advisories/siyuan-before-missing-authorization-via-block-api

Code Behaviors & Features

Detect and mitigate CVE-2026-74904 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260804015139-bd067a4fe9b2

Fixed versions

  • 0.0.0-20260804015139-bd067a4fe9b2

Solution

Upgrade to version 0.0.0-20260804015139-bd067a4fe9b2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-204: Observable Response Discrepancy
  • CWE-862: Missing Authorization

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-74904.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:23:49 +0000.