# CVE-2026-59854: SiYuan: Incomplete IsSensitivePath denylist: globalCopyFiles reads home-dir credential dotfiles into the workspace

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-07-09T22:25:39.675Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vmm8-3ccv-ppvw>
- <https://github.com/siyuan-note/siyuan/commit/914c5180a88d17f6d38716a56483327b367ef55f>
- <https://github.com/siyuan-note/siyuan/commit/b54fee401799d987d2fd2888220938ad599b8c5e>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1>

## Sources

- CVE List: [CVE-2026-59854](https://www.cve.org/CVERecord?id=CVE-2026-59854), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-59854](https://nvd.nist.gov/vuln/detail/CVE-2026-59854), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59854 · Whole record: https://cve.day/CVE-2026-59854.json · Rebuilt by cve.day 2026-11-25T22:59:27.578Z
