PatchSiren cyber security CVE debrief
CVE-2026-85175 siyuan-note CVE debrief
CVE-2026-85175 debrief based on the supplied source corpus. The CVE record was published on 2026-10-05T17:32:48.000Z and has not been modified since then. The vulnerability allows authenticated users to retrieve TLS private keys via the `getFile` API due to an incomplete blocklist in `IsForbiddenAbsPath()`. Defenders should verify exposure, assess impact, and implement compensating controls. The `IsForbiddenAbsPath()` function in SiYuan's `kernel/util/path_guard.go` has an incomplete blocklist, allowing authenticated users to retrieve TLS private keys (conf/key.pem and conf/ca.key) via the `getFile` API in `kernel/api/file.go`.
- Vendor
- siyuan-note
- Product
- github.com/siyuan-note/siyuan/kernel
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-05
- Original CVE updated
- 2026-10-07
- Advisory published
- 2026-10-05
- Advisory updated
- 2026-10-07
Who should care
Defenders responsible for SiYuan instances, particularly those with authenticated user access, should assess exposure and potential impact. This includes SiYuan instance administrators, security teams, and vulnerability management teams who need to verify exposure, assess impact, and implement compensating controls to restrict access to sensitive files.
Why it matters
CVE-2026-85175 allows authenticated users to retrieve TLS private keys via the `getFile` API due to an incomplete blocklist in `IsForbiddenAbsPath()`. Defenders should verify exposure, assess impact, and implement compensating controls.
- Potential retrieval of TLS private keys by authenticated users
- Possible compromise of sensitive information
- Need for compensating controls to restrict access to sensitive files
- Verification priority for SiYuan instance administrators
Technical summary
The `IsForbiddenAbsPath()` function in SiYuan's `kernel/util/path_guard.go` has an incomplete blocklist, allowing authenticated users to retrieve TLS private keys (conf/key.pem and conf/ca.key) via the `getFile` API in `kernel/api/file.go`. This occurs because the blocklist only includes conf/conf.json by exact match, omitting other sensitive files in the conf/ directory. As a result, any authenticated user can retrieve these files using a POST request to `/api/file/getFile`. The files are generated on every boot regardless of whether TLS is active.
Defensive priority
Defenders should prioritize verifying exposure of SiYuan instances to authenticated users and assess the impact of potential private key retrieval.
Recommended defensive actions
- Verify SiYuan instance exposure to authenticated users
- Assess potential private key retrieval impact
- Implement compensating controls to restrict access to sensitive files
- Monitor for suspicious activity related to the `getFile` API
- Review vendor patch guidance for SiYuan
- Conduct exposure review for SiYuan instances
- Track source changes for SiYuan
Evidence notes
The CVE record and source item provide details on the vulnerability, including the incomplete blocklist in `IsForbiddenAbsPath()` and the ability for authenticated users to retrieve TLS private keys via the `getFile` API.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-85175 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-85175
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-85175 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-85175
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist)
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/Go/GHSA-4wwp-f6gw-6qm5.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4wwp-f6gw-6qm5
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/siyuan-note/siyuan/commit/256d73aa7f94aead7ba255b668e32c140af23137
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/siyuan-note/siyuan
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/siyuan-note/siyuan/releases/tag/v3.8.2
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.