ADVISORIES

Vulnerability

CVE-2026-82651

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/.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity Go 2

Advisories

  • GHSA-3cm4-ccvw-6xr6

    SiYuan: /history/*path and /repo/diff/*path potentially exposing historical snapshots of data/.siyuan/publishAccess.json and data/templates/*

    Moderate CVE-2026-82651 Go Updated 7 October 2026
  • GO-2026-6662

    SiYuan: /history/*path and /repo/diff/*path potentially exposing historical snapshots of data/.siyuan/publishAccess.json and data/templates/* in github.com/siyuan-note/siyuan/kernel

    CVE-2026-82651 Go Updated 7 October 2026

References