# CVE-2026-82650

## Summary

- **CVE ID:** CVE-2026-82650
- **Severity:** MEDIUM
- **CVSS Score:** 5.9 (CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N)
- **CWE:** CWE-668
- **Published:** Aug 30, 2026
- **Last Modified:** Aug 31, 2026

## Description

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.

## Affected Products

- siyuan-note — siyuan (0)
- siyuan-note — siyuan (3.8.1)

## References

- [CNA](https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9jfx-rc58-h23j)
- [CNA](https://www.vulncheck.com/advisories/siyuan-before-3.8.1-path-traversal-via-api-template-render)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.22%
- **EPSS Percentile:** 12.4

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-11._