Skip to content
Heist/ feed
High

SiYuan before v3.7.2 Path Traversal via /export/temp/

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-65607

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-65607

siyuan

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "siyuan-note",
    "product": "siyuan",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.7.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.7.2",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:golang/github.com/siyuan-note/siyuan/kernel",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-65607

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#12795 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement