{"cve":"CVE-2026-85175","nvd":{"published":"2026-09-03T13:06:25.270","modified":"2026-09-08T20:18:59.270","status":"Deferred","description":"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).","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-552"],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4wwp-f6gw-6qm5","https://www.vulncheck.com/advisories/siyuan-before-3.8.2-tls-private-key-disclosure-via-getfile","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4wwp-f6gw-6qm5"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:50:50.842544443+00:00"},"epss":{"cve":"CVE-2026-85175","score":0.00325,"percentile":0.25582,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4wwp-f6gw-6qm5","url":"https://osv.dev/vulnerability/GHSA-4wwp-f6gw-6qm5","summary":"SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist)","modified":"2026-10-07T17:55:53.527130104Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260819144130-256d73aa7f94"],"fixed":["0.0.0-20260819144130-256d73aa7f94"]}]},{"id":"GO-2026-6663","url":"https://osv.dev/vulnerability/GO-2026-6663","summary":"SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist) in github.com/siyuan-note/siyuan/kernel","modified":"2026-10-07T17:55:53.527130104Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260819144130-256d73aa7f94"],"fixed":["0.0.0-20260819144130-256d73aa7f94"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}