Skip to content
OpenAdvisories
Medium · 4.9 CVE-2026-82651 EUVD-2026-68237GHSA-3cm4-ccvw-6xr6GHSA-j8f5-rf5j-w7pmGO-2026-6662

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

Published Aug 30, 2026 · Updated Aug 31, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
siyuan-note siyuan < 3.8.1 3.8.1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260816034002-035bf9a8c311 0.0.0-20260816034002-035bf9a8c311 GHSA-3cm4-ccvw-6xr6

References