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…

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

0
Medium
VulnerabilityCVE-2026-33194cvecve-2026-33194cwe-22
Published: Fri Mar 20 2026 (03/20/2026, 22:30:33 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan is a personal knowledge management system. Prior to version 3.6.2, the `IsSensitivePath()` function in `kernel/util/path.go` uses a denylist approach that was recently expanded (GHSA-h5vh-m7fg-w5h6, commit 9914fd1) but remains incomplete. Multiple security-relevant Linux directories are not blocked, including `/opt` (application data), `/usr` (local configs/binaries), `/home` (other users), `/mnt` and `/media` (mounted volumes). The `globalCopyFiles` and `importStdMd` endpoints rely on `IsSensitivePath` as their primary defense against reading files outside the workspace. Version 3.6.2 contains an updated fix.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 23:45:44 UTC

Technical Analysis

CVE-2026-33194 is a path traversal vulnerability classified under CWE-22 affecting SiYuan, a personal knowledge management system. The root cause is an incomplete denylist in the IsSensitivePath() function within kernel/util/path.go, which is intended to prevent access to sensitive system directories. Despite recent expansions to the denylist, critical Linux directories such as /opt (application data), /usr (local binaries and configs), /home (user directories), /mnt, and /media (mounted volumes) remain accessible. The vulnerability specifically affects the globalCopyFiles and importStdMd API endpoints, which rely on IsSensitivePath() to restrict file reads to the workspace directory. Authenticated users with high privileges can exploit this flaw to read arbitrary files outside the workspace, potentially exposing sensitive system or user data. The vulnerability does not allow modification or deletion of files, nor does it affect system availability. The issue was fixed in SiYuan version 3.6.2 by enhancing the path restriction logic. No public exploits have been reported, but the vulnerability poses a significant confidentiality risk if exploited. The CVSS v3.1 score is 6.8, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high confidentiality impact with no integrity or availability impact.

Potential Impact

The primary impact of CVE-2026-33194 is unauthorized disclosure of sensitive information due to the ability to read arbitrary files outside the intended workspace. This can lead to exposure of system configuration files, user data, application secrets, or other sensitive information stored in directories like /opt, /usr, or /home. For organizations, this can result in data breaches, loss of confidentiality, and potential escalation paths if sensitive credentials or configurations are exposed. Since the vulnerability requires authenticated users with high privileges, the risk is somewhat mitigated by access controls, but insider threats or compromised accounts could exploit it. The vulnerability does not affect data integrity or system availability, limiting its impact to confidentiality. Organizations relying on SiYuan for knowledge management on Linux systems are at risk, especially if they have sensitive data stored in accessible directories. The lack of known exploits reduces immediate risk but does not eliminate the threat, especially in targeted attacks.

Mitigation Recommendations

1. Upgrade SiYuan to version 3.6.2 or later, which contains the patched IsSensitivePath() function with comprehensive directory restrictions. 2. Restrict high-privilege user access to SiYuan to trusted personnel only, minimizing the risk of insider exploitation. 3. Implement strict Linux file system permissions to limit access to sensitive directories such as /opt, /usr, /home, /mnt, and /media, reducing the impact if the vulnerability is exploited. 4. Monitor and audit access logs for the globalCopyFiles and importStdMd endpoints to detect suspicious file access attempts. 5. Consider deploying application-layer firewalls or endpoint detection solutions that can identify anomalous file read patterns. 6. Educate users about the importance of safeguarding credentials and promptly reporting suspicious activity. 7. If upgrading immediately is not feasible, apply temporary compensating controls such as disabling or restricting the vulnerable endpoints where possible.

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-03-17T22:16:36.721Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bdda59b462d409683a8cc7

Added to database: 3/20/2026, 11:38:01 PM

Last enriched: 3/20/2026, 11:45:44 PM

Last updated: 3/21/2026, 1:16:22 AM

Views: 7

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