CVE-2026-116171 Details
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.
A vulnerability exists in SiYuan versions 3.5.4 prior to 3.8.7 on Windows, allowing authenticated API callers to bypass the sensitive-path denylist. The issue arises because the Windows extended-length prefix (\?) survives filepath cleaning and does not match any forbidden prefixes. This bypass enables the copying of workspace configuration files, including the API token and TLS private keys, into assets that are accessible to unauthenticated clients.
Users can update to SiYuan version 3.8.7 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 25, 2026CISA-ADP
Assessed Oct 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gmc-424x-xgpm | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/siyuan-3.5.4-before-3.8.7-sensitive-path-bypass-via-windows-extended-length-prefix | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SiYuan | >= 3.5.4, <= 3.8.6 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Modified | [email protected] |
| Oct 26, 2026 | CVE Modified | CISA-ADP |
| Oct 25, 2026 | CVE Modified | [email protected] |
| Oct 25, 2026 | New CVE Received | [email protected] |
Volerion