{
  "id": "CVE-2026-65607",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-65607",
  "published_at": "2026-07-23T11:42:14.89Z",
  "title": "SiYuan before v3.7.2 Path Traversal via /export/temp/",
  "vendor": "siyuan-note",
  "product": "siyuan",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "siyuan-note",
        "product": "siyuan",
        "ranges": [
          "\u003c 3.7.2"
        ],
        "fixed_in": [
          "3.7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade siyuan to 3.7.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gw25-m53r-qh88"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
