# CVE-2024-55657: SiYuan has an arbitrary file read via /api/template/render

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-12-11T18:44:52.000Z
- Modified: 2026-06-17T08:11:21.383Z
- Also known as: GHSA-xx68-37v4-4596, GO-2024-3327
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.1.16
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20241210012039-5129ad926a21; all versions
- b3log siyuan: 3.1.15

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xx68-37v4-4596> (advisory, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55657> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)
- <https://pkg.go.dev/vuln/GO-2024-3327> (web)

## Sources

- CVE List: [CVE-2024-55657](https://www.cve.org/CVERecord?id=CVE-2024-55657), CVE Terms of Use, modified 2024-12-12
- GitHub Advisory Database: [GHSA-xx68-37v4-4596](https://github.com/advisories/GHSA-xx68-37v4-4596), CC-BY-4.0, modified 2025-06-05
- Go Vulnerability Database: [GO-2024-3327](https://pkg.go.dev/vuln/GO-2024-3327), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-55657](https://nvd.nist.gov/vuln/detail/CVE-2024-55657), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-55657 · Whole record: https://cve.day/CVE-2024-55657.json · Rebuilt by cve.day 2026-11-25T22:58:50.023Z
