CVE-2026-82651 PUBLISHED

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

Assigner: VulnCheck
Reserved: 30.08.2026 Published: 30.08.2026 Updated: 30.08.2026

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

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor siyuan-note
Product siyuan
Versions Default: unaffected
  • affected from 0 to 3.8.1 (excl.)
  • Version 3.8.1 is unaffected

Credits

  • alham-rizvi reporter

References

Problem Types

  • Exposure of Sensitive Information to an Unauthorized Actor CWE