CVE-2026-33670
Received Received - Intake
Directory Traversal in SiYuan /api/file/readDir Pre

Publication date: 2026-03-26

Last updated on: 2026-03-30

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-26
Last Modified
2026-03-30
Generated
2026-05-07
AI Q&A
2026-03-27
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
b3log siyuan to 3.6.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The vulnerability exists in SiYuan, a personal knowledge management system, specifically in versions prior to 3.6.2. The issue is with the /api/file/readDir interface, which was used to traverse and retrieve the file names of all documents under a notebook. This could allow unauthorized access to file information.


How can this vulnerability impact me? :

This vulnerability has a high severity with a CVSS base score of 9.8, indicating it can be exploited remotely without any privileges or user interaction. It can lead to complete confidentiality, integrity, and availability compromise, meaning an attacker could access sensitive file names, modify data, or disrupt the service.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade SiYuan to version 3.6.2 or later, as this version patches the issue related to the /api/file/readDir interface.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart