CVE Catalog

CVE-2026-85175

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function, 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). Because the getFile handler skips the blocklist for RoleAdministrator and all authenticated users receive RoleAdministrator, any user can retrieve these private keys via POST /api/file/getFile. On deployments with TLS enabled, this allows decryption of captured HTTPS traffic and forging of certificates trusted by clients that imported SiYuan's CA.

Risk Assessment

Risk of private key disclosure, allowing decryption of traffic and impersonation of trusted certificates, potentially leading to confidentiality and integrity breaches.

Recommendation

Update SiYuan to version 3.8.2 or later, which includes the fix.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS