CVE-2026-54066: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
SiYuan, an open-source personal knowledge management system, has a path traversal vulnerability (CVE-2026-54066) affecting versions prior to 3.7.0. The issue allows unauthenticated remote attackers to read arbitrary files within the WorkspaceDir via double URL encoding in the /assets/*path route when the system is in publish mode. Sensitive files such as configuration files containing authentication tokens and logs can be accessed. This vulnerability was fixed in version 3.7.0.
AI Analysis
Technical Summary
CVE-2026-54066 is a path traversal vulnerability in SiYuan note-taking software affecting versions before 3.7.0. Although a previous patch for CVE-2026-41894 sanitized the /export/ route, the same root cause remained in the /assets/*path route. An unauthenticated attacker can exploit this by double URL encoding '..' segments to read arbitrary files inside the WorkspaceDir, including sensitive configuration and database files. The vulnerability is resolved in SiYuan version 3.7.0.
Potential Impact
An unauthenticated remote attacker can read arbitrary files within the WorkspaceDir, including sensitive files such as conf/conf.json (containing AccessAuthCode SHA256 hash, API tokens, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log. This leads to disclosure of sensitive authentication and configuration data, potentially compromising the confidentiality of the system.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No official patch or temporary workaround is provided in the advisory; upgrading is the recommended action.
CVE-2026-54066: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
Description
SiYuan, an open-source personal knowledge management system, has a path traversal vulnerability (CVE-2026-54066) affecting versions prior to 3.7.0. The issue allows unauthenticated remote attackers to read arbitrary files within the WorkspaceDir via double URL encoding in the /assets/*path route when the system is in publish mode. Sensitive files such as configuration files containing authentication tokens and logs can be accessed. This vulnerability was fixed in version 3.7.0.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54066 is a path traversal vulnerability in SiYuan note-taking software affecting versions before 3.7.0. Although a previous patch for CVE-2026-41894 sanitized the /export/ route, the same root cause remained in the /assets/*path route. An unauthenticated attacker can exploit this by double URL encoding '..' segments to read arbitrary files inside the WorkspaceDir, including sensitive configuration and database files. The vulnerability is resolved in SiYuan version 3.7.0.
Potential Impact
An unauthenticated remote attacker can read arbitrary files within the WorkspaceDir, including sensitive files such as conf/conf.json (containing AccessAuthCode SHA256 hash, API tokens, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log. This leads to disclosure of sensitive authentication and configuration data, potentially compromising the confidentiality of the system.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No official patch or temporary workaround is provided in the advisory; upgrading is the recommended action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T18:24:35.097Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3c501d4853345fc1e45bce
Added to database: 06/24/2026, 21:46:05 UTC
Last enriched: 06/24/2026, 22:02:46 UTC
Last updated: 06/24/2026, 22:20:53 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.