Inadequate Path Protection in SiYuan Allows Unauthorized Access to Private Keys
CVE-2026-85175

8.7HIGH

Key Information:

Status
Vendor
CVE Published:
3 September 2026

What is CVE-2026-85175?

Versions of SiYuan up to 3.8.1 are susceptible to a vulnerability that stems from an improper blocklist in the IsForbiddenAbsPath() function. This bug allows authenticated users and clients to bypass restrictions on accessing sensitive files, namely the TLS private key (conf/key.pem) and CA private key (conf/ca.key), due to limited blocking capabilities that only address conf/conf.json. Consequently, any user can exploit the /api/file/getFile endpoint to access these keys, which compromises the integrity of deployments with TLS enabled, permitting unauthorized decryption of HTTPS traffic and the opportunity to forge certificates trusted by clients that have imported SiYuan's CA.

Affected Version(s)

siyuan 0 < 3.8.2

siyuan 3.8.2

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

GhostOverflow
.