CVE-2026-85175
HIGH 8.7CVSS 4.0SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist)
SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/path_guard.go), which only blocks conf/conf.json by exact match and does not restrict the TLS private key (conf/key.pem) or CA private key (conf/ca.key) stored in the same conf/ directory. Because the getFile handler skips the blocklist for RoleAdministrator and all authenticated users receive RoleAdministrator in v3.8.1, any user (or any client on a default no-auth-code instance) can retrieve these private keys via POST /api/file/getFile. On deployments with TLS enabled, this allows decryption of captured HTTPS traffic (key.pem) and forging of certificates trusted by clients that imported SiYuan's CA (ca.key).
- Published
- 3 Sep 2026
- Last modified
- 7 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-552
- Also known as
- GHSA-4wwp-f6gw-6qm5GO-2026-6663
- Sources
- NVDJSONOSV GHSA-4wwp-f6gw-6qm5JSONOSV GO-2026-6663JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/siyuan-note/siyuan/kernel | < 0.0.0-20260819144130-256d73aa7f94 | 0.0.0-20260819144130-256d73aa7f94 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4wwp-f6gw-6qm5 · WEB, ADVISORY
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-tls-private-key-disclosure-via-getfile
- https://github.com/siyuan-note/siyuan/commit/256d73aa7f94aead7ba255b668e32c140af23137 · WEB
- https://github.com/siyuan-note/siyuan · PACKAGE
- https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2 · WEB
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 3 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Oct 2026)