CVE-2026-41894: 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.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding (%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database (siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5.
AI Analysis
Technical Summary
SiYuan versions before 3.6.5 contain a path traversal vulnerability (CWE-22) due to improper limitation of pathname to restricted directories. The root cause is a redundant url.PathUnescape() call in the serveExport() function, which was not addressed by the previous fix for CVE-2026-30869 that only implemented a denylist check. An authenticated attacker can exploit this by using double URL encoding (%252e%252e) to bypass restrictions and access arbitrary files within the workspace, including critical files such as the SQLite database and kernel logs. The vulnerability is resolved in SiYuan version 3.6.5.
Potential Impact
An authenticated attacker can read arbitrary files within the SiYuan workspace, including sensitive data like the full SQLite database (siyuan.db), kernel logs, and all user documents. This can lead to unauthorized disclosure of confidential information. The vulnerability has a CVSS 4.0 score of 7.1, indicating high severity with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.6.5. Users should upgrade to version 3.6.5 or later to remediate this issue. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor's versioning information.
CVE-2026-41894: 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.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding (%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database (siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5.
CVSS v4.0
Score 7.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SiYuan versions before 3.6.5 contain a path traversal vulnerability (CWE-22) due to improper limitation of pathname to restricted directories. The root cause is a redundant url.PathUnescape() call in the serveExport() function, which was not addressed by the previous fix for CVE-2026-30869 that only implemented a denylist check. An authenticated attacker can exploit this by using double URL encoding (%252e%252e) to bypass restrictions and access arbitrary files within the workspace, including critical files such as the SQLite database and kernel logs. The vulnerability is resolved in SiYuan version 3.6.5.
Potential Impact
An authenticated attacker can read arbitrary files within the SiYuan workspace, including sensitive data like the full SQLite database (siyuan.db), kernel logs, and all user documents. This can lead to unauthorized disclosure of confidential information. The vulnerability has a CVSS 4.0 score of 7.1, indicating high severity with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.6.5. Users should upgrade to version 3.6.5 or later to remediate this issue. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor's versioning information.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-22T15:11:54.671Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ebc30587115cfb68680b13
Added to database: 4/24/2026, 7:22:45 PM
Last enriched: 5/1/2026, 8:34:57 PM
Last updated: 6/9/2026, 1:00:05 AM
Views: 98
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.
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.