Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 83%

CVE-2026-41894: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-41894cvecve-2026-41894cwe-22
Published: Fri Apr 24 2026 (04/24/2026, 18:56:54 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 20:34:57 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/8/2026, 5:05:20 PM

Views: 97

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses