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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-116171— SiYuan 3.5.4 before 3.8.7 Sensitive Path Bypass via Windows Extended-Length Prefix

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.

在 Windows 系统上,SiYuan 3.5.4 至 3.8.7(不含 3.8.7)版本存在敏感路径拒绝列表绕过漏洞。该漏洞源于 函数未能正确处理 Windows 扩展长度路径前缀( ):该前缀在 处理后得以保留,且无法匹配任何被禁止的前缀规则。已认证的 API 调用者可在 接口的 参数前添加此前缀,从而将工作区配置文件(包括 API 令牌和 TLS 私钥)复制到面向未认证客户端提供的静态资源中。

CVSS 7.5 · High

Affected Version Matrix 2

VendorProduct Version RangeStatus
siyuan-note siyuan 3.5.4< 3.8.7 affected
3.8.7 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-116171

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 3.5.4 before 3.8.7 Sensitive Path Bypass via Windows Extended-Length Prefix
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan 3.5.4 before 3.8.7 on Windows contains a sensitive-path denylist bypass in IsSensitivePath because the Windows extended-length prefix (\\?\) survives filepath.Clean and matches no forbidden prefix. Authenticated API callers can prepend the prefix to localPath in /api/import/importStdMd to copy workspace conf files, including the API token and TLS private keys, into assets served to unauthenticated clients.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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 3.5.4 ~ 3.8.7 -

II. Public POCs for CVE-2026-116171

# 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-116171

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-116171 (2)

Same Patch Batch · siyuan-note · 2026-10-25 · 6 CVEs total

CVE-2026-116167 6.8 MEDIUM SiYuan 2.9.0 before 3.8.7 XSS via check-auth to Parameter
CVE-2026-116166 6.8 MEDIUM SiYuan 3.6.0 before 3.8.7 Cleartext Transmission via Unenforced networkServeTLS Setting
CVE-2026-116168 6.2 MEDIUM SiYuan before v3.8.7 Path Traversal Local File Read via MCP Asset Tool
CVE-2026-116169 5.4 MEDIUM SiYuan 2.10.0 before 3.8.7 Stored XSS via KaTeX \href in Math Blocks
CVE-2026-116170 4.9 MEDIUM SiYuan before v3.8.7 SQL Injection via History Search op and query

IV. Related Vulnerabilities