SecurityContext

CVE-2026-65607: SiYuan - Path Traversal

  • Cve: CVE-2026-65607
  • Name: SiYuan - Path Traversal
  • 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.
  • Impact: Authenticated attackers can read arbitrary sensitive files, potentially exposing credentials and workspace data.
  • Remediation: Upgrade to version 3.7.2 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00586
  • Epss percentile: 0.48927
  • Assignee: [email protected]
  • Published at: 2026-07-23T12:18:47Z
  • Age in days: 124
  • Modified at: 2026-10-24T13:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-65607
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gw25-m53r-qh88
https://www.vulncheck.com/advisories/siyuan-before-path-traversal-via-export-temp

Products

ProductAffectedPlatform boundSourcesUrl
b3log:siyuan< 3.7.2nocna/v1/products/b3log/siyuan

Projects

RepositoryLink kindsIndexedUrl
siyuan-note/siyuancommit, fix, security_advisoryyes/v1/repositories/siyuan-note/siyuan

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 354
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports