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-06-16
AI Q&A
2026-03-27
EPSS Evaluated
2026-06-15
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 Quick Actions
Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Mitigation Strategies

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.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-33670. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart