CVE-2026-54066: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the patch for CVE-2026-41894 ("Path Traversal via Double URL Encoding") sanitized the /export/ route but the identical root cause remains in the /assets/*path route. In publish mode (anonymous read-only HTTP endpoint, default port 6808), an unauthenticated remote attacker can read arbitrary files inside WorkspaceDir — including conf/conf.json (which contains the AccessAuthCode SHA256 hash, API token, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log — by double-URL-encoding .. segments. This vulnerability is fixed in 3.7.0.
AI Analysis
Technical Summary
CVE-2026-54066 is a path traversal vulnerability in SiYuan versions before 3.7.0. It occurs due to improper limitation of pathname to a restricted directory (CWE-22), allowing unauthenticated remote attackers to bypass access controls via double URL encoding on the /assets/*path route when the application is in publish mode. This enables reading of arbitrary files within the WorkspaceDir, including sensitive configuration, database, and log files. The issue was resolved in SiYuan version 3.7.0.
Potential Impact
An attacker without authentication can exploit this vulnerability to read arbitrary files within the WorkspaceDir, potentially exposing sensitive information such as configuration details, database contents, and logs. This can lead to information disclosure but does not affect integrity or availability according to the CVSS vector.
Mitigation Recommendations
Upgrade SiYuan to version 3.7.0 or later, where this vulnerability has been fixed. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor stating the fix in version 3.7.0.
CVE-2026-54066: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the patch for CVE-2026-41894 ("Path Traversal via Double URL Encoding") sanitized the /export/ route but the identical root cause remains in the /assets/*path route. In publish mode (anonymous read-only HTTP endpoint, default port 6808), an unauthenticated remote attacker can read arbitrary files inside WorkspaceDir — including conf/conf.json (which contains the AccessAuthCode SHA256 hash, API token, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log — by double-URL-encoding .. segments. This vulnerability is fixed in 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 versions before 3.7.0. It occurs due to improper limitation of pathname to a restricted directory (CWE-22), allowing unauthenticated remote attackers to bypass access controls via double URL encoding on the /assets/*path route when the application is in publish mode. This enables reading of arbitrary files within the WorkspaceDir, including sensitive configuration, database, and log files. The issue was resolved in SiYuan version 3.7.0.
Potential Impact
An attacker without authentication can exploit this vulnerability to read arbitrary files within the WorkspaceDir, potentially exposing sensitive information such as configuration details, database contents, and logs. This can lead to information disclosure but does not affect integrity or availability according to the CVSS vector.
Mitigation Recommendations
Upgrade SiYuan to version 3.7.0 or later, where this vulnerability has been fixed. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor stating the fix in version 3.7.0.
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: 07/11/2026, 09:51:18 UTC
Last updated: 08/08/2026, 15:25:21 UTC
Views: 75
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.