Go
CVE-2026-116171
SiYuan 3.5.4 before 3.8.7 Sensitive Path Bypass via Windows Extended-Length Prefix
- Severity
- Medium 5.9
- Published
- 25 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.8.7
- Exploit chance
- 0.6% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)
- Attack
- Over the network · Only under certain conditions · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
github.com/siyuan-note/siyuan/kernelGo · osv:Go:github.com/siyuan-note/siyuan/kernel |
|
About github.com/siyuan-note/siyuan/kernel
Vulnerabilities in github.com/siyuan-note/siyuan/kernel
- In our list
- 10
- Published in the last 12 months
- 10
- Critical, last 12 months
- 1
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-134245SiYuan 3.8.0 before 3.8.10 Incorrect Authorization via /assets Cross-document Asset CollisionHigh 8.7 21 Nov 2026
- CVE-2026-134247SiYuan 3.8.0 before 3.8.10 Incorrect Authorization Exposes Asset Text via getAssetContentByPathHigh 8.7 21 Nov 2026
- CVE-2026-126265SiYuan 2.1.0 before 3.8.9 CAPTCHA Bypass via Stale Login CookieCritical 9.1 13 Nov 2026
- CVE-2026-126776SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetchMedium 6.0 11 Nov 2026
- CVE-2026-118680SiYuan 3.8.7 through 3.8.8 Path Traversal via GLOBALROOT AliasMedium 5.9 28 Oct 2026
- CVE-2026-60083SiYuan: MCP file tool's blocklist is incomplete relative to the HTTP file API it claims to align with, exposing publish-mode passwords and other sensitive workspace filesMedium 4.9 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116171