# CVE-2026-32747: SiYuan: Incomplete sensitive path blocklist in globalCopyFiles allows reading /proc and Docker secrets

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/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.60%, higher than 43% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T18:46:14.000Z
- Modified: 2026-06-17T10:36:18.913Z
- Also known as: GHSA-h5vh-m7fg-w5h6, GO-2026-4705
- Weaknesses: CWE-22, CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the globalCopyFiles API  eads source files using filepath.Abs() with no workspace boundary check, relying solely on util.IsSensitivePath() whose blocklist omits /proc/, /run/secrets/, and home directory dotfiles. An admin can copy /proc/1/environ or Docker secrets into the workspace and read them via the standard file API. An admin can exfiltrate any file readable by the SiYuan process that falls outside the incomplete blocklist. In containerized deployments this includes all injected secrets and environment variables - a common pattern for passing credentials to containers. The exfiltrated files are then accessible via the standard workspace file API and persist until manually deleted. This issue has been fixed in version 3.6.1.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.1
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260313024916-fd6526133bb3; all versions
- b3log siyuan: before 3.6.1

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h5vh-m7fg-w5h6> (exploit, advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/9914fd1d39e5f0a8dcc9fb587e1c0b46f31490a1> (patch, web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32747> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-32747](https://www.cve.org/CVERecord?id=CVE-2026-32747), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-h5vh-m7fg-w5h6](https://github.com/advisories/GHSA-h5vh-m7fg-w5h6), CC-BY-4.0, modified 2026-03-30
- Go Vulnerability Database: [GO-2026-4705](https://pkg.go.dev/vuln/GO-2026-4705), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-32747](https://nvd.nist.gov/vuln/detail/CVE-2026-32747), Public domain, modified 2026-06-17

---

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