Skip to content
Heist/ feed
Back to feed
High

SiYuan has an arbitrary file read via /api/template/render

Type: advisorySources: OSV

SiYuan is a personal knowledge management system. Prior to version 3.1.16, an arbitrary file read vulnerability exists in Siyuan's `/api/template/render` endpoint. The absence of proper validation on the path parameter allows attackers to access sensitive files on the host system. Version 3.1.16 contains a patch for the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-55657
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:25 UTC · Revision 1

Source evidence

SiYuan has an arbitrary file read via /api/template/render

core-osv · Original source

Published 11 Dec 2024, 22:44 UTC

SiYuan is a personal knowledge management system. Prior to version 3.1.16, an arbitrary file read vulnerability exists in Siyuan's `/api/template/render` endpoint. The absence of proper validation on the path parameter allows attackers to access sensitive files on the host system. Version 3.1.16 contains a patch for the issue.

osv:CVE-2024-55657
Complete source record
{
  "id": "470ad1e45b6cad957a56c2a8715938c1f7de8ff2947242412df0c76b714d0d10",
  "url": "https://osv.dev/vulnerability/CVE-2024-55657",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SiYuan has an arbitrary file read via /api/template/render",
    "summary": "SiYuan is a personal knowledge management system. Prior to version 3.1.16, an arbitrary file read vulnerability exists in Siyuan's `/api/template/render` endpoint. The absence of proper validation on the path parameter allows attackers to access sensitive files on the host system. Version 3.1.16 contains a patch for the issue.",
    "evidence": "osv:CVE-2024-55657",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-55657",
      "aliases": [
        "CVE-2024-55657",
        "GHSA-xx68-37v4-4596",
        "GO-2024-3327"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/siyuan-note/siyuan",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5129ad926a21176a352cf5f630e0651011bf9c83"
                },
                {
                  "fixed": "e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.15-NA"
                      },
                      {
                        "last_affected": "3.1.15-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1.15-NA",
            "v3.1.15"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55657.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.064157017Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55657.json",
        "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xx68-37v4-4596",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-55657",
        "https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55657.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-55657",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487076,
  "published_at": "2024-12-11T22:44:17.868+00:00"
}