# CVE-2026-54066: SiYuan: Path Traversal via Double URL Encoding in /assets/*path (publish mode arbitrary file─read)

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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): 2.17%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T21:13:25.461Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-p4m3-mgmm-c664, GO-2026-5964
- Weaknesses: CWE-22, CWE-23, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the patch for CVE-2026-41894 ("Path Traversal via Double URL Encoding") sanitized the /export/ route but the identical root cause remains in the /assets/*path route. In publish mode (anonymous read-only HTTP endpoint, default port 6808), an unauthenticated remote attacker can read arbitrary files inside WorkspaceDir — including conf/conf.json (which contains the AccessAuthCode SHA256 hash, API token, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log — by double-URL-encoding .. segments. This vulnerability is fixed in 3.7.0.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.0
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260628153353-2d5d72223df4

## Every score

- GitHub_M: 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: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-p4m3-mgmm-c664> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54066> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-54066](https://www.cve.org/CVERecord?id=CVE-2026-54066), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-p4m3-mgmm-c664](https://github.com/advisories/GHSA-p4m3-mgmm-c664), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5964](https://pkg.go.dev/vuln/GO-2026-5964), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-54066](https://nvd.nist.gov/vuln/detail/CVE-2026-54066), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54066 · Whole record: https://cve.day/CVE-2026-54066.json · Rebuilt by cve.day 2026-11-25T22:59:25.759Z
