Vulnerability · Published Aug 30, 2026 · Assigned by VulnCheck

CVE-2026-82651SiYuan before v3.8.1 Missing Authorization via /history and /repo/diff

Medium 4.9

In plain English

A medium-severity information exposure in siyuan from siyuan-note. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.5%top 58.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/siyuan-note/siyuan/kernel0.0.0-20260816034002-035bf9a8c311GHSA-3cm4-ccvw-6xr6
Gogithub.com/siyuan-note/siyuan/kernel0.0.0-20260816034002-035bf9a8c311GO-2026-6662

Affected products (as reported)

VendorProductVersions
siyuan-note siyuan 0 – before 3.8.1

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

References