---
id: "GHSA-rp7c-4prv-9rrg"
kind: "vulnerability"
aliases: ["GHSA-rp7c-4prv-9rrg"]
title: "Duplicate Advisory: SiYuan: MCP file tool's blocklist is incomplete relative to the HTTP file API it claims to align with, exposing publish-mode passwords and other sensitive workspace filesDuplicate Advisory:"
severity: "medium"
cvss: 4.9
epss: null
exploited: false
status: "withdrawn"
category: "package"
products: [{"name": "github.com/siyuan-note/siyuan", "fixed": [], "affected": "< 3.8.0", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["cwe-863", "mcp", "package", "self-hosted", "siyuan"]
not_affected_if: ["auth-required", "default-config"]
published_at: "2026-08-22T15:31:02+00:00"
first_seen_at: "2026-10-27T14:47:35+00:00"
updated_at: "2026-10-27T14:49:40+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-rp7c-4prv-9rrg", "first_seen_at": "2026-10-27T14:47:35+00:00"}]
---

# Duplicate Advisory: SiYuan: MCP file tool's blocklist is incomplete relative to the HTTP file API it claims to align with, exposing publish-mode passwords and other sensitive workspace filesDuplicate Advisory:

SiYuan versions before 3.8.0 have an incomplete path blocklist in the MCP file tool, so it does not block some files the HTTP file API protects. An authenticated administrator can read publish-mode passwords from data/.siyuan/publishAccess.json and other sensitive files such as data/templates and data/snippets/conf.json.

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

## Affected

- go:github.com/siyuan-note/siyuan affected < 3.8.0 fixed ?

## How to check

- Check the installed SiYuan version with `siyuan --version` or the About panel; versions below `3.8.0` are affected.
- Confirm whether the MCP file tool is enabled in the SiYuan setup.

## Fix

- Upgrade SiYuan to `3.8.0` or later.
- This advisory is withdrawn as a duplicate of GHSA-c8r8-95hg-mp34; follow that advisory for the authoritative fix guidance.

## Timeline

- 2026-10-27T14:47:35+00:00 ghsa https://github.com/advisories/GHSA-rp7c-4prv-9rrg

## From the sources

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-c8r8-95hg-mp34. This link is maintained to preserve external references.

## Original Description
SiYuan versions before v3.8.0 contain an incomplete path blocklist in the MCP file tool that fails to restrict access to sensitive workspace files protected by the HTTP API. Authenticated administrators can read plaintext publish-mode passwords from data/.siyuan/publishAccess.json and access other sensitive files like data/templates and data/snippets/conf.json.

---

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