{"id":"CVE-2024-55657","aliases":["CVE-2024-55657","GHSA-xx68-37v4-4596","GO-2024-3327"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAn 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.\n\n### Impact\n\nArbitrary file read on the host","format":"markdown","source":"ghsa"},{"lang":"en","text":"SiYuan has an arbitrary file read via /api/template/render in github.com/siyuan-note/siyuan/kernel","format":"markdown","source":"go"},{"lang":"es","text":"SiYuan es un sistema de gestión de conocimiento personal. Antes de la versión 3.1.16, existía una vulnerabilidad de lectura de archivos arbitrarios en el endpoint `/api/template/render` de Siyuan. La ausencia de una validación adecuada en el parámetro path permite a los atacantes acceder a archivos confidenciales en el sistema host. La versión 3.1.16 contiene un parche para el problema.","source":"nvd"}],"published":"2024-12-11T18:44:52.000Z","modified":"2026-06-17T08:11:21.383Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 3.1.16","status":"affected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.0-20241210012039-5129ad926a21"}],"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","source":"go"},{"ranges":[{"status":"affected","version":"3.1.15"}],"vendor":"b3log","product":"siyuan","cpe":"cpe:2.3:a:b3log:siyuan:3.1.15:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xx68-37v4-4596","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55657","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/siyuan-note/siyuan","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3327","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-12-12T16:30:43.853Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-55657","url":"https://www.cve.org/CVERecord?id=CVE-2024-55657","licence":"CVE Terms of Use","modified":"2024-12-12T16:30:52.826Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xx68-37v4-4596","url":"https://github.com/advisories/GHSA-xx68-37v4-4596","licence":"CC-BY-4.0","modified":"2025-06-05T21:59:05.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3327","url":"https://pkg.go.dev/vuln/GO-2024-3327","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:08.527Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-55657","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55657","licence":"Public domain","modified":"2026-06-17T08:11:21.383Z"}],"updatedAt":"2026-11-25T22:58:50.023Z","epss":{"score":0.00741,"percentile":0.55859,"date":"2026-12-01T12:00:22.000Z"}}