---
id: "GHSA-4wwp-f6gw-6qm5"
kind: "vulnerability"
aliases: ["GHSA-4wwp-f6gw-6qm5", "GO-2026-6663"]
title: "SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist) in github.com/siyuan-note/siyuan/kernel"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "github.com/siyuan-note/siyuan/kernel", "fixed": ["0.0.0-20260819144130-256d73aa7f94"], "affected": "< 0.0.0-20260819144130-256d73aa7f94", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["go", "package", "self-hosted", "siyuan"]
not_affected_if: ["default-config"]
published_at: "2026-10-07T14:10:39+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T20:20:11+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6663", "first_seen_at": "2026-10-23T19:13:08+00:00"}]
---

# SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist) in github.com/siyuan-note/siyuan/kernel

SiYuan's getFile endpoint can read TLS private key files because its path blocklist is incomplete. An attacker who can reach the API can obtain the server's TLS private key.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- go:github.com/siyuan-note/siyuan/kernel affected < 0.0.0-20260819144130-256d73aa7f94 fixed 0.0.0-20260819144130-256d73aa7f94

## Fix

Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260819144130-256d73aa7f94 or later.

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6663

## From the sources

SiYuan: TLS Private Keys Readable via getFile (Incomplete Blocklist) in github.com/siyuan-note/siyuan/kernel

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
