{
  "id": "CVE-2026-59832",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59832",
  "published_at": "2026-07-09T22:18:15.776Z",
  "title": "SiYuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db",
  "vendor": "siyuan-note",
  "product": "siyuan",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A: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 is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath containment or sensitive-path checks, allowing an authenticated request such as /snippets/%2e%2e/%2e%2e/conf/conf.json to read workspace secrets and the document database. This issue is fixed in versions 3.7.1.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "siyuan-note",
        "product": "siyuan",
        "ranges": [
          "\u003c 3.7.1"
        ],
        "fixed_in": [
          "3.7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade siyuan to 3.7.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-275h-v5h9-vr82"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/siyuan-note/siyuan/commit/68cc0f537dfa4502496dfa794e71835421c25c09"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
