{"id":"CVE-2026-82651","published":"2026-08-30T14:33:33Z","modified":"2026-08-31T18:52:24Z","title":"SiYuan before v3.8.1 Missing Authorization via /history and /repo/diff","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"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/.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.33596,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3cm4-ccvw-6xr6","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.1-missing-authorization-via-history-and-repo-diff","tags":["third-party-advisory"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":6.72},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.8.1"]}],"fixedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["3.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-31T16:23:16.757930Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260816034002-035bf9a8c311"],"patched":["0.0.0-20260816034002-035bf9a8c311"],"from":["GO-2026-6662"],"provenance":"source"}],"summary":{"text":"The SiYuan note-taking application, before v3.8.1, has a missing authorization flaw in its kernel server (kernel/server/serve.go), where the /history and /repo/diff endpoints do not apply the path guard that protects sensitive files. An attacker who holds administrator credentials on the network can use these endpoints to retrieve historical snapshots of protected files, such as the plaintext publish-mode passwords in data/.siyuan/publishAccess.json and files under data/templates/, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:43Z"},"euvd":{"id":"EUVD-2026-68237","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23645","parents":[{"from":"CVE-2026-23645","to":"CVE-2026-82651","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/server/serve.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/11115da3d0de950593ee4ce375cf7f9018484388","https://github.com/siyuan-note/siyuan/commit/035bf9a8c311c6f8468f2f1054b4d5e1711787e2"],"basis":"shared function","functions":["serveAssets"]}]}],"packageHistory":[{"cve":"CVE-2026-73609","published":"2026-08-13","fixed":"0.0.0-20260812083335-251596fc0de2","kev":false},{"cve":"CVE-2026-82233","published":"2026-08-28","fixed":"0.0.0-20260813142104-b26a4a307b8a","kev":false},{"cve":"CVE-2026-82234","published":"2026-08-28","fixed":"0.0.0-20260813142806-dd2778b70d02","kev":false,"link":{"from":"CVE-2026-82234","to":"CVE-2026-82651","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260813142806-dd2778b70d02","toFixed":"0.0.0-20260816034002-035bf9a8c311","daysApart":2}]}},{"cve":"CVE-2026-82651","published":"2026-08-30","fixed":"0.0.0-20260816034002-035bf9a8c311","kev":false},{"cve":"CVE-2026-85175","published":"2026-09-03","fixed":"0.0.0-20260819144130-256d73aa7f94","kev":false,"link":{"from":"CVE-2026-82651","to":"CVE-2026-85175","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260816034002-035bf9a8c311","toFixed":"0.0.0-20260819144130-256d73aa7f94","daysApart":4},{"kind":"same-code","provenance":"machine","files":["kernel/util/path_guard.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/035bf9a8c311c6f8468f2f1054b4d5e1711787e2","https://github.com/siyuan-note/siyuan/commit/256d73aa7f94aead7ba255b668e32c140af23137"],"basis":"shared file"}]}},{"cve":"CVE-2026-30869","published":"2026-03-09","fixed":"3.5.10","kev":false},{"cve":"CVE-2026-32110","published":"2026-03-11","fixed":"3.6.0","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}