CVE-2026-33670

SiYuan has directory traversal within its publishing service

Published Mar 26, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.9% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SiYuan’s /api/file/readDir endpoint permits directory traversal, enabling an attacker to enumerate file names of all documents within a notebook. This can lead to disclosure of sensitive information if the system holds confidential notes. The flaw is classified as CWE-22, indicating improper validation of directory paths.

Affected Systems

SiYuan products before version 3.6.2 are affected. Any deployment running a prior release is vulnerable and must be upgraded.

Risk and Exploitability

The vulnerability carries a CVSS score of 9.8, indicating high severity, but its EPSS score is 3%, indicating a higher probability of exploitation than previously noted. It is not listed in the CISA KEV catalog. The likely attack vector is a web API request to the /api/file/readDir endpoint, which appears reachable without authentication based on the description, although this is an inference.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.6.2 or later.
  • Restrict external access to the publishing service or remove the publishing feature if not needed.
  • Disable the publishing service entirely if the functionality is not required.

Generated by OpenCVE AI on November 26, 2026 at 17:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xmw9-6r43-x9ww SiYuan has directory traversal within its publishing service
History
Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
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.
Title SiYuan has directory traversal within its publishing service
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 30, 2026, 11:43 AM
Reserved
Mar 23, 2026, 4:34 PM
Status
Analyzed
Published
Mar 26, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:37 AM