CVE-2026-85175 — siyuan-note siyuan
Summary
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).
Severity breakdown
High · 8.7
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-552: Files or Directories Accessible to External Parties
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note siyuan | < 3.8.2 | 3.8.2 |
References by type
Vendor advisories
Other references
Affected
- siyuan-note siyuan
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-85175?
SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/pathguard.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. Weakness type: Files or Directories Accessible to External Parties (CWE-552).
How severe is CVE-2026-85175?
CVE-2026-85175 has a CVSS 4.0 base score of 8.7 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-85175 being exploited?
Not as far as is known: CVE-2026-85175 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-85175?
siyuan-note siyuan < 3.8.2 (fixed in 3.8.2).
How do I fix CVE-2026-85175?
Update to a fixed release: siyuan-note siyuan 3.8.2.