SiYuan: Incomplete deny-list path traversal (CVE-2026-130683)
SiYuan versions before 3.8.10 are vulnerable to path traversal via the /api/file/copyFile endpoint, allowing authenticated administrators to write files to arbitrary locations including shell-initialization paths.
CVE search metadata
CVE search record: CVE-2026-130683. Severity: high. CVSS: 8.2. KEV: no. Product: siyuan. Brief: SiYuan: Incomplete deny-list path traversal (CVE-2026-130683). Brief link: https://feed.craftedsignal.io/briefs/2026-11-siyuan-path-traversal-cve-2026-130683/
Triage facts
Revision 1- Applicability
- siyuan
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 18, 14:35 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- ALikely
Overview
SiYuan before 3.8.10 uses an incomplete deny-list in the IsSensitivePath function. This flaw fails to protect shell-initialization files such as .zshenv and .bash_profile, as well as the ~/.local directory.
Attack Chain
Authenticated administrators can invoke the /api/file/copyFile endpoint with an absolute destination path located outside the designated workspace. This allows the writing of files to restricted directories.
Impact
Successful exploitation allows the placement of payloads that execute as the user on the next shell or login session.
Recommendation
- Upgrade SiYuan to version 3.8.10 or later.
Threat Hunt
Identify successful /api/file/copyFile requests where the destination path parameter points to restricted shell configuration files such as .zshenv, .bash_profile, or any path under ~/.local.
Data: Web server access logs, Application audit logs
Mitigations
Upgrade to SiYuan version 3.8.10 or later