CVE-2026-33476

SiYuan has an Unauthenticated Arbitrary File Read via Path Traversal

Published Mar 20, 2026 CVSS 3.1 · 7.5 High EPSS 3.4% KEV · Not listed
Description
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the Siyuan kernel exposes an unauthenticated file-serving endpoint under `/appearance/*filepath.` Due to improper path sanitization, attackers can perform directory traversal and read arbitrary files accessible to the server process. Authentication checks explicitly exclude this endpoint, allowing exploitation without valid credentials. Version 3.6.2 fixes this issue.

Analysis

AI-generated

Technical impact

SiYuan, a personal knowledge management system, contains a vulnerability where an unauthenticated attacker can read arbitrary files on the server by accessing the /appearance/*filepath endpoint, which lacks proper path sanitization. The flaw is a path traversal issue (CWE‑22) combined with unchecked file access (CWE‑73), allowing the web server process to read files that it has permission to access and thereby compromising confidentiality.

Affected Systems

The affected product is Siyuan, released by Siyuan‑Note. Versions prior to 3.6.2 are impacted; these include all builds that expose the /appearance service. Upgrading to version 3.6.2 or later removes the vulnerability.

Risk and Exploitability

The CVSS score of 7.5 classifies the flaw as high severity. The EPSS score is 3%, indicating a moderate likelihood of exploitation in the wild. The vulnerability is not present in the CISA KEV catalog, but because the endpoint is reachable without authentication, an attacker can exploit it from any internet‑exposed location, reading files such as credentials, configuration, or user data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading to version 3.6.2 or later.
  • If an upgrade is not immediately possible, block or limit network access to the /appearance/*filepath endpoint or to the entire Siyuan instance using firewall or hosting controls.
  • Verify that no anonymous file‑serving endpoints remain active to ensure no residual path traversal vulnerabilities.

Generated by OpenCVE AI on June 18, 2026 at 13:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hhgj-gg9h-rjp7 Siyuan has an Unauthenticated Arbitrary File Read via Path Traversal
History
Type Values Removed Values Added
Metrics ssvc

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

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
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 Siyuan kernel exposes an unauthenticated file-serving endpoint under `/appearance/*filepath.` Due to improper path sanitization, attackers can perform directory traversal and read arbitrary files accessible to the server process. Authentication checks explicitly exclude this endpoint, allowing exploitation without valid credentials. Version 3.6.2 fixes this issue.
Title SiYuan has an Unauthenticated Arbitrary File Read via Path Traversal
Weaknesses CWE-22
CWE-73
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

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

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 23, 2026, 9:41 PM
Reserved
Mar 20, 2026, 4:16 PM
Status
Modified
Published
Mar 20, 2026, 11:16 PM
Modified
Jun 17, 2026, 10:37 AM