{"id":"CVE-2026-82650","published":"2026-08-30T14:33:32Z","modified":"2026-08-31T16:42:46Z","title":"SiYuan before v3.8.1 Path Traversal via /api/template/render","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan 3.8.0 contains a path traversal / sensitive file exposure vulnerability in the RenderTemplate function (kernel/model/template.go), reachable via the POST /api/template/render endpoint (kernel/api/template.go). The endpoint restricts the supplied path only to the workspace directory (util.IsAbsPathInWorkspace) but, unlike the file API's refuseToAccess() blocklist, applies no sensitive-path exclusion. This allows an authenticated attacker to read sensitive workspace files, including conf/conf.json, which contains the API token and cookie signing key. The issue is fixed in v3.8.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0035,"percentile":0.21068,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9jfx-rc58-h23j","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.1-path-traversal-via-api-template-render","tags":["third-party-advisory"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":4.21},{"name":"CVSS severity","points":3.08}]},"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:41:38.955061Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68236","exploited":false,"provenance":"source"}}