{"id":"CVE-2026-54066","published":"2026-06-24T21:13:25Z","modified":"2026-06-25T12:33:20Z","title":"SiYuan: Path Traversal via Double URL Encoding in /assets/*path (publish mode arbitrary file─read)","vendor":"siyuan-note","product":"siyuan","tier":"core","eol":null,"affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.7.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-25T12:33:17.088814Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"SiYuan (siyuan-note's personal knowledge management product) contains a path traversal flaw in the /assets/*path route, which remains exploitable in publish mode after an earlier fix covered only the /export/ route. An unauthenticated remote attacker reaching the publish-mode HTTP endpoint on the default port can use double URL encoding of \"..\" segments to read arbitrary files within the workspace directory, including configuration and database files that hold credential hashes and tokens, and this requires no user interaction and no authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:50:15Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02175,"percentile":0.82666,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-08-03","exploitedFirstSeen":"2026-08-03","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2026-54066","date":"2026-08-03"},{"url":"https://previdian.com/CVE-2026-54066","date":"2026-08-04"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Jul 3, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a467360fd5345a95c1134b5","created":"2026-07-02"},{"name":"Known_Cve | Jul 2, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a4521db141f0288bb17ee33","created":"2026-07-01"},{"name":"Known_Cve | Jul 1, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a43d1031ebc95f74029d4f0","created":"2026-06-30"},{"name":"Known_Cve | Jun 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a427edbd4dca6604a2cc3e8","created":"2026-06-29"},{"name":"Known_Cve | Jun 29, 2026","url":"https://otx.alienvault.com/pulse/6a412c4864f54db469879a52","created":"2026-06-28"},{"name":"Known_Cve | Jun 28, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a3fdb781c71f37c26792282","created":"2026-06-27"},{"name":"Known_Cve | Jun 27, 2026","url":"https://otx.alienvault.com/pulse/6a3e89c3497e2f5f6104c391","created":"2026-06-26"},{"name":"Known_Cve | Jun 26, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6a3d38c4245503db43d1c490","created":"2026-06-25"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-p4m3-mgmm-c664","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260628153353-2d5d72223df4"],"patched":["0.0.0-20260628153353-2d5d72223df4"],"from":["GHSA-p4m3-mgmm-c664","GO-2026-5964"],"provenance":"source"}],"advisories":[{"id":"GHSA-p4m3-mgmm-c664","url":"https://github.com/advisories/GHSA-p4m3-mgmm-c664","severity":"HIGH","ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260628153353-2d5d72223df4"],"patched":["0.0.0-20260628153353-2d5d72223df4"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-39122","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39122","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-54066","name":"SiYuan <= 3.6.5 - Unauthenticated Path Traversal","severity":"high","path":"http/cves/2026/CVE-2026-54066.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-54066.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-06-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-54066","provenance":"source"},{"date":"2026-08-03","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2026-54066","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":68.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 113 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":16.53,"detail":"percentile 0.8267"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}