CVE-2026-85175
published high CVSS 4.0 · 8.7SiYuan before v3.8.2 TLS Private Key Disclosure via getFile
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan0 to < 3.8.2 (affected · semver) · 3.8.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| siyuan-note | siyuan | 0 to < 3.8.2 (affected · semver)3.8.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-552 Files or Directories Accessible to External Parties
References
2- GitHub Security Advisory (GHSA-4wwp-f6gw-6qm5) https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4wwp-f6gw-6qm5
- VulnCheck Advisory: SiYuan before v3.8.2 TLS Private Key Disclosure via getFile https://www.vulncheck.com/advisories/siyuan-before-3.8.2-tls-private-key-disclosure-via-getfile
Provider assertions
2VulnCheck · cna
SiYuan before v3.8.2 TLS Private Key Disclosure via getFile
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c913434c1efa36a750348e8a13ad02aa7d1f626acae19f4166827fadb5d5983
- Ingested
- 23 Sep 2026, 09:36:40 UTC
- Source record
- Official CVE record