PT-2026-25852 · Siyuan · Siyuan

Fg0X0

·

Published

2026-03-16

·

Updated

2026-03-27

·

CVE-2026-32747

CVSS v3.1

6.8

Medium

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions SiYuan versions 3.6.0 and below
Description SiYuan, a personal knowledge management system, has an issue in the globalCopyFiles API. This API reads source files using filepath.Abs() without proper workspace boundary checks. It relies on the util.IsSensitivePath() function, which has an incomplete blocklist, omitting paths like /proc/, /run/secrets/, and home directory dotfiles. This allows an administrator to copy sensitive files, such as /proc/1/environ or Docker secrets, into the workspace and subsequently read them through the standard file API. The issue enables an administrator to exfiltrate any file readable by the SiYuan process that is not blocked by the incomplete blocklist. In containerized deployments, this includes injected secrets and environment variables commonly used for passing credentials. The exfiltrated files persist in the workspace until manually deleted. The vulnerable function is globalCopyFiles located in kernel/api/file.go. The API endpoint used is /api/file/globalCopyFiles. The vulnerable parameters are srcs and destDir.
Recommendations Update SiYuan to version 3.6.1 or later.

Exploit

Fix

Incomplete List of Disallowed Inputs

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-32747
GHSA-H5VH-M7FG-W5H6
GO-2026-4705
SUSE-SU-2026:1135-1

Affected Products

Siyuan