CVE-2026-85175

published 3 Sep 2026 · updated 3 Sep 2026

SiYuan before v3.8.2 TLS Private Key Disclosure via getFile

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.8.2.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
siyuan-note<3.8.23.8.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-85175 severity on Zeptric[![CVE-2026-85175](https://zeptric.io/badge/cve/CVE-2026-85175.svg)](https://zeptric.io/cve/CVE-2026-85175)