CVE-2026-82650
published medium CVSS 4.0 · 5.9SiYuan before v3.8.1 Path Traversal via /api/template/render
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan0 to < 3.8.1 (affected · semver) · 3.8.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| siyuan-note | siyuan | 0 to < 3.8.1 (affected · semver)3.8.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-668 Exposure of Resource to Wrong Sphere
References
2- GitHub Security Advisory (GHSA-9jfx-rc58-h23j) https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9jfx-rc58-h23j
- VulnCheck Advisory: SiYuan before v3.8.1 Path Traversal via /api/template/render https://www.vulncheck.com/advisories/siyuan-before-3.8.1-path-traversal-via-api-template-render
Provider assertions
2VulnCheck · cna
SiYuan before v3.8.1 Path Traversal via /api/template/render
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b74609b8ba57539e1a776cd9c3f09e1796fa2400f4e01ad4a8fecdc025b8fd1
- Ingested
- 23 Sep 2026, 09:35:28 UTC
- Source record
- Official CVE record