Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
siyuan-note siyuan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SiYuan 3.8.0 存在一个路径遍历/敏感文件暴露漏洞,位于 函数( ),可通过 接口( )触发。该接口仅限制所传路径必须在工作区目录内( ),但与文件 API 的 黑名单不同,它没有对敏感路径进行排除。这使得经过身份验证的攻击者能够读取工作区内的敏感文件,包括包含 API 令牌和 Cookie 签名密钥的 。该问题已在 v3.8.1 中修复。

CVSS 4.4 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82650

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SiYuan before v3.8.1 Path Traversal via /api/template/render
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
将资源暴露给错误范围
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan 0 ~ 3.8.1 -

II. Public POCs for CVE-2026-82650

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-82650

登录查看更多情报信息。

Vendor Advisories for CVE-2026-82650 (2)

Same Patch Batch · siyuan-note · 2026-08-30 · 6 CVEs total

CVE-2026-82654 8.9 HIGH SiYuan before v3.8.1 Stored XSS via block name
CVE-2026-82653 8.9 HIGH SiYuan before v3.8.1 Stored XSS via confirmDialog
CVE-2026-82649 7.0 HIGH SiYuan before 3.8.1 Local Privilege Escalation via Uncontrolled Search Path
CVE-2026-82652 5.3 MEDIUM SiYuan before v3.8.1 Information Disclosure via Publish Access
CVE-2026-82651 4.9 MEDIUM SiYuan before v3.8.1 Missing Authorization via /history and /repo/diff

IV. Related Vulnerabilities

V. Comments for CVE-2026-82650

No comments yet


Leave a comment