# CVE-2026-65607: SiYuan before v3.7.2 Path Traversal via /export/temp/

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA: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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-07-23T11:42:14.890Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-gw25-m53r-qh88, GO-2026-6365
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

SiYuan before v3.7.2 contains a path traversal vulnerability in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go). Unlike the main export branch, this branch joins the raw, percent-decoded request path with util.TempDir and serves the file without the IsSubPath or IsSensitivePath checks added in the earlier export-disclosure hardening (GHSA-6865-qjcf-286f). An authenticated attacker can send percent-encoded traversal sequences (e.g. /export/temp/%2e%2e/.../etc/passwd, where %2e%2e is decoded to '..') to read arbitrary files outside TempDir, including /etc/passwd, SSH keys (~/.ssh/*), and SiYuan workspace *.db and *.log files, bypassing the sensitive-file protection.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.2 (not affected: 3.7.2)
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260510110132-b763d787d1f2

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gw25-m53r-qh88> (advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7> (patch)
- <https://www.vulncheck.com/advisories/siyuan-before-path-traversal-via-export-temp> (third-party-advisory)
- <https://github.com/siyuan-note/siyuan/commit/b763d787d1f2b862c577049e4ee147c5857fe413> (web)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-65607](https://www.cve.org/CVERecord?id=CVE-2026-65607), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-gw25-m53r-qh88](https://github.com/advisories/GHSA-gw25-m53r-qh88), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6365](https://pkg.go.dev/vuln/GO-2026-6365), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-65607](https://nvd.nist.gov/vuln/detail/CVE-2026-65607), Public domain, modified 2026-10-24

---

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