cve.bz

CVE-2026-85175

8.7 highEPSS 0.3%

High (8.7). EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/siyuan-note/siyuan/kernel 0.0.0-20260819144130-256d73aa7f94.

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

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 25% of CVEs (scores of 2026-10-31)
CWE
CWE-552
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4wwp-f6gw-6qm5Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260819144130-256d73aa7f940.0.0-20260819144130-256d73aa7f94
GO-2026-6663Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260819144130-256d73aa7f940.0.0-20260819144130-256d73aa7f94

References

Check your stackJSON