What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: siyuan-note siyuan 3.8.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-116171 or the next vulnerability affects your stack