Description
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the setNotebookIcon endpoint that allows authenticated administrators to create arbitrary directory trees and write files outside the workspace boundary. Attackers can supply directory traversal sequences in the notebook parameter to escape the workspace data directory and write conf.json files to arbitrary locations accessible by the kernel process.
Published: 2026-09-26
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

SiYuan versions prior to 3.8.4 contain a path‑traversal flaw in the setNotebookIcon API. The flaw allows an authenticated administrator to escape the workspace data directory and write files to arbitrary locations. Attackers can inject a specially crafted notebook name that contains traversal sequences, causing the server to create directories and files outside the intended folder. By writing a conf.json file in a location that the kernel process can read, an attacker can influence application configuration and potentially execute arbitrary code, resulting in full control of the system.

Affected Systems

All Siyuan Note installations built by siyuan-note prior to release 3.8.4 are affected. The flaw applies to the setNotebookIcon endpoint, which can be accessed by any user with administrative privileges. Users running older versions of the software should verify whether their deployment is above 3.8.4; if not, the software is vulnerable.

Risk and Exploitability

With a CVSS score of 8.3 the vulnerability is considered high severity. The EPSS score is currently unavailable, and the issue is not listed in the CISA KEV catalog. Exploitation requires the attacker to be authenticated as an administrator, but once authenticated, the path traversal can be exercised over the network via the normal setNotebookIcon request. The resulting ability to write conf.json files that are read by the kernel process makes the outcome potentially catastrophic, equivalent to remote code execution, especially in environments where the kernel accesses configuration files for privileged operations.

Generated by OpenCVE AI on September 26, 2026 at 15:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to SiYuan version 3.8.4 or later, which removes the vulnerable endpoint implementation.
  • If an upgrade is not immediately possible, limit administrative access to trusted personnel and consider isolating the workspace data directory on a separate filesystem with restrictive permissions to prevent unauthorized writes.
  • Disable or tightly restrict the setNotebookIcon API for unauthenticated users and monitor for any attempts to write files outside the designated workspace directory.

Generated by OpenCVE AI on September 26, 2026 at 15:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description SiYuan versions before v3.8.4 contain a path traversal vulnerability in the setNotebookIcon endpoint that allows authenticated administrators to create arbitrary directory trees and write files outside the workspace boundary. Attackers can supply directory traversal sequences in the notebook parameter to escape the workspace data directory and write conf.json files to arbitrary locations accessible by the kernel process.
Title SiYuan before v3.8.4 Path Traversal via setNotebookIcon
First Time appeared B3log
B3log siyuan
Weaknesses CWE-73
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-26T13:23:11.930Z

Reserved: 2026-09-26T02:32:35.659Z

Link: CVE-2026-100638

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-26T14:16:45.480

Modified: 2026-09-26T14:16:45.590

Link: CVE-2026-100638

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T15:15:13Z

Weaknesses
  • CWE-73

    External Control of File Name or Path