Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Nov 25, 2026

CVE-2026-33670 Scanner

CVE-2026-33670 Scanner - Directory Traversal vulnerability in SiYuan

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
0
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
Description

SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to traverse and retrieve the file names of all documents under a notebook. Version 3.6.2 patches the issue.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
siyuanby siyuan-note
< 3.6.2
Updated Nov 25, 2026View on NVD →
Detail

SiYuan is a note-taking application widely used by individuals and professionals for organizing and managing their notes and documents. It is popular because of its feature-rich platform that allows seamless synchronization and sharing across different devices. Users from academia, creative fields, and corporate sectors rely on SiYuan for its straightforward interface and robust functionalities. The application's default publishing service accepts input from users aiming to publish their notes but, if left unpatched, may expose sensitive information. Security-conscious organizations would typically deploy SiYuan in secure, internal networks to avoid unintended exposure of data. Regular updates are usually recommended to maintain the security posture of the application.

The Directory Traversal vulnerability affects the SiYuan application's publishing service that exposes the '/api/file/readDir' API endpoint. If not properly secured, this endpoint allows unauthenticated users to access and list directories within the application's workspace data. The vulnerability lies in the lack of proper authorization checks, enabling unauthorized users to enumerate sensitive directories and files. Exploitation of this vulnerability can occur without user interaction, making it particularly dangerous. The flaw is due to the system incorrectly handling directory read requests from unauthenticated entities. Updates post version 3.6.2 have addressed this concern by restricting access, thereby safeguarding sensitive data.

The vulnerability exists specifically within the '/api/file/readDir' endpoint of the SiYuan publishing service. By sending crafted requests without requiring authentication, attackers can exploit this endpoint to return directory contents, including workspace files and notebook lists. This issue is a direct result of missing authorization checks for directory read requests. Attackers use HTTP POST methods combined with specific headers to manipulate the API, retrieving directory names and tree structures. The endpoint, originally intended for managing file directories internally, can become a vector for data enumeration if left exposed to unauthorized access.

When malicious parties exploit this vulnerability, several adverse effects could ensue. Unauthorized directory listing could lead to information leakage, including sensitive user data or application configuration files. This data might provide attackers with further insight into the application's structure or the hosting environment, potentially facilitating additional exploits or attacks. The security breach could undermine user trust and result in reputational damage for the organization using SiYuan. Over time, if left unresolved, this vulnerability could expose critical data to the public domain, leading to further security and compliance issues. Businesses should ensure swift updates and consider modifying exposure settings of their publishing services.

REFERENCES

Solution Advice
  • Upgrade SiYuan to version 3.6.2 or later to ensure proper authorization checks are in place.
  • Disable the publishing service if it's not actively required to prevent unauthorized access.
  • Restrict access to the SiYuan publishing service by configuring firewalls or access control lists.
  • Regularly monitor audit logs for any unauthorized access attempts to the exposed APIs.
  • Implement authentication mechanisms to secure exposed endpoints, ensuring only authorized users can retrieve directory contents.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools