PT-2026-25852 · Siyuan · Siyuan

·

CVE-2026-32747

·

Publicado

2026-03-16

·

Atualizado

2026-07-30

CVSS v3.1

6.8

Média

VetorAV: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

Correção

Incomplete List of Disallowed Inputs

Path traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

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

Produtos afetados

Siyuan