Vulnerability

CVE-2026-85175

highCVSS 4.0 8.7Published 3 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /siyuan-note/siyuan/security/advisories/GHSA-4wwp-f6gw-6qm5
  • www.vulncheck.com /advisories/siyuan-before-3.8.2-tls-private-key-disclosure-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning