PT-2026-57011 · Siyuan · Siyuan
CVE-2026-59854
·
Published
2026-07-09
·
Updated
2026-07-10
CVSS v3.1
4.9
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.7.1
Description
An authenticated administrator or API-token user can exfiltrate sensitive files from the host system. The 'POST /api/file/globalCopyFiles' endpoint accepts absolute source paths and uses the
util.IsSensitivePath function in kernel/util/path.go to validate them. However, the denylist used by this function fails to include common home-directory credential files, such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing these files to be copied into the workspace and accessed via the file API.Recommendations
Update to version 3.7.1 or 3.7.1-alpha.2.
Exploit
Fix
Protection Mechanism Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Siyuan