CVE-2026-85175

High

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

SeverityHigh
CVSS8.8
Exploit probability—
ProductGithub.com/siyuan-note/siyuan/kernel
PublishedSep 3, 2026
First seenSep 3, 2026
Weakness typeCWE-552CWE-552

How to fix

Update
  • github.com/siyuan-note/siyuan/kernel0.0.0-20260819144130-256d73aa7f94 or later

Affected products

ProductAffected versionsFixed in
github.com/siyuan-note/siyuan/kernelGov < 0.0.0-20260819144130-256d73aa7f940.0.0-20260819144130-256d73aa7f94

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-85175 · Github.com/siyuan-note/siyuan/kernel · Dark Radar