Live threats
VulnFox

All CVEs / siyuan-note

CVE-2026-65607siyuan-note siyuan

High 7.1

Priority
43
CVSS 4.0
7.1
EPSS
—
Auth required
Yes
Published
Jul 23, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for siyuan.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260510110132-b763d787d1f2 0.0.0-20260510110132-b763d787d1f2 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260510110132-b763d787d1f2
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260510110132-b763d787d1f2 0.0.0-20260510110132-b763d787d1f2 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260510110132-b763d787d1f2

Per OSV / GitHub Advisories (GHSA-gw25-m53r-qh88, GO-2026-6365). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.