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

CVE-2026-72808: SiYuan: Missing publish-access filter on getFileAnnotation discloses private PDF annotations of forbidden/protected documents (publish mode)

September 3, 2026

The /api/asset/getFileAnnotation endpoint returns the content of .sya PDF-annotation files with no publish-access check. It is gated by CheckAuth only, so it is reachable by the publish RoleReader token and by the anonymous account when Publish.Auth.Enable is false. Its sibling, the /assets/* asset route does enforce publish access, including the publish password. An anonymous reader who knows an asset path can therefore read the private PDF annotations (highlights, notes) attached to assets in publish-forbidden, password-protected, or unpublished documents.

References

  • github.com/advisories/GHSA-v7ph-r5r6-4jcj
  • github.com/siyuan-note/siyuan/commit/509b35055940856ec1c89cb4888723c4660b776a
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-v7ph-r5r6-4jcj
  • nvd.nist.gov/vuln/detail/CVE-2026-72808
  • www.vulncheck.com/advisories/siyuan-before-information-disclosure-via-getfileannotation

Code Behaviors & Features

Detect and mitigate CVE-2026-72808 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-20260723031702-509b35055940

Fixed versions

  • 0.0.0-20260723031702-509b35055940

Solution

Upgrade to version 0.0.0-20260723031702-509b35055940 or above.

Impact 5.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:19:01 +0000.