Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-82651

SiYuan before v3.8.1 Missing Authorization via /history and /repo/diff

Description

SiYuan before v3.8.1 does not apply the IsForbiddenAbsPath guard (introduced in GHSA-c8r8-95hg-mp34) to the /history/*path and /repo/diff/*path endpoints in kernel/server/serve.go. These routes require admin authentication but construct file paths independently, so an authenticated administrator can retrieve historical snapshots of sensitive files that the guard is meant to block, including data/.siyuan/publishAccess.json (plaintext publish-mode passwords) and files under data/templates/.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

siyuan-note siyuan

Default version status: unaffected

  • 0 to < 3.8.1affected
  • 3.8.1unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernel

References