Live threats

All CVEs / siyuan-note

CVE-2026-85175siyuan-note siyuan

High 8.7

Priority
52
CVSS 4.0
8.7
EPSS
—
Auth required
Yes
Published
Sep 3, 2026
Updated
Sep 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-552
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for siyuan.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260819144130-256d73aa7f94 0.0.0-20260819144130-256d73aa7f94 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260819144130-256d73aa7f94
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260819144130-256d73aa7f94 0.0.0-20260819144130-256d73aa7f94 go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260819144130-256d73aa7f94

Per OSV / GitHub Advisories (GHSA-4wwp-f6gw-6qm5, GO-2026-6663). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.