CVE-2026-82651

Medium

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

SeverityMedium
CVSS4.9
Exploit probability—
ProductGithub.com/siyuan-note/siyuan/kernel
PublishedAug 30, 2026
First seenAug 30, 2026

How to fix

Update
  • github.com/siyuan-note/siyuan/kernel0.0.0-20260816034002-035bf9a8c311 or later

Affected products

ProductAffected versionsFixed in
github.com/siyuan-note/siyuan/kernelGov < 0.0.0-20260816034002-035bf9a8c3110.0.0-20260816034002-035bf9a8c311

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.