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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-08-30T14:33:33.112Z
- Modified: 2026-10-07T17:55:31.429Z
- Also known as: GHSA-3cm4-ccvw-6xr6, GO-2026-6662
- Weaknesses: CWE-200, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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/.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.8.1 (not affected: 3.8.1)
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260816034002-035bf9a8c311

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3cm4-ccvw-6xr6> (advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/siyuan-before-3.8.1-missing-authorization-via-history-and-repo-diff> (third-party-advisory)
- <https://github.com/siyuan-note/siyuan/commit/035bf9a8c311c6f8468f2f1054b4d5e1711787e2> (web)
- <https://github.com/siyuan-note/siyuan> (package)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.8.1> (web)

## Sources

- CVE List: [CVE-2026-82651](https://www.cve.org/CVERecord?id=CVE-2026-82651), CVE Terms of Use, modified 2026-08-31
- GitHub Advisory Database: [GHSA-3cm4-ccvw-6xr6](https://github.com/advisories/GHSA-3cm4-ccvw-6xr6), CC-BY-4.0, modified 2026-10-07
- Go Vulnerability Database: [GO-2026-6662](https://pkg.go.dev/vuln/GO-2026-6662), CC-BY-4.0, modified 2026-10-07
- NVD: [CVE-2026-82651](https://nvd.nist.gov/vuln/detail/CVE-2026-82651), Public domain, modified 2026-08-31

---

Page: https://cve.day/CVE-2026-82651 · Whole record: https://cve.day/CVE-2026-82651.json · Rebuilt by cve.day 2026-11-25T22:59:35.770Z
