CVE-2026-82650 SiYuan before v3.8.1 Path Traversal via /api/template/render

Medium 5.9 Published Updated

An authenticated attacker can read sensitive workspace files, including API tokens, via a path traversal vulnerability in the template rendering endpoint.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-82650?

CVE-2026-82650 is a medium-severity path traversal vulnerability in siyuan-note siyuan, published on 30 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-668

Which versions are affected by CVE-2026-82650?

How do I fix CVE-2026-82650?

No fix has been published for CVE-2026-82650 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-82650 being exploited?

There is no known exploitation of CVE-2026-82650 in the wild and no public exploit code.

Sources

Also known as GHSA-9jfx-rc58-h23j, GHSA-j5w2-98qv-mp97.

Is CVE-2026-82650 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free