{"id":"GHSA-rp7c-4prv-9rrg","kind":"vulnerability","aliases":["GHSA-rp7c-4prv-9rrg"],"related":[],"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:","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-c8r8-95hg-mp34. This link is maintained to preserve external references.\n\n## Original Description\nSiYuan 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.","summary":"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.","severity":"medium","cvss":4.9,"epss":null,"exploited":false,"exploited_at":null,"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"],"how_to_check":"- Check the installed SiYuan version with `siyuan --version` or the About panel; versions below `3.8.0` are affected.\n- Confirm whether the MCP file tool is enabled in the SiYuan setup.","fix":"- Upgrade SiYuan to `3.8.0` or later.\n- This advisory is withdrawn as a duplicate of GHSA-c8r8-95hg-mp34; follow that advisory for the authoritative fix guidance.","status":"withdrawn","published_at":"2026-08-22T15:31:02+00:00","first_seen_at":"2026-10-27T14:47:35+00:00","triaged_at":"2026-10-27T14:49:40+00:00","updated_at":"2026-10-27T14:49:40+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-27T14:49:40Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade SiYuan to `3.8.0` or later.\n- This advisory is withdrawn as a duplicate of GHSA-c8r8-95hg-mp34; follow that advisory for the authoritative fix guidance.","reach":"network","title":"SiYuan: MCP file tool blocklist misses sensitive workspace files","impact":"medium","summary":"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.","category":"package","nicknames":[],"who_cares":["siyuan","self-hosted","mcp"],"confidence":0.6,"needs_auth":"yes","worst_case":"Authenticated admin reads publish passwords and sensitive workspace config files","analyst_note":"","how_to_check":"- Check the installed SiYuan version with `siyuan --version` or the About panel; versions below `3.8.0` are affected.\n- Confirm whether the MCP file tool is enabled in the SiYuan setup.","needs_analyst":false,"not_affected_if":["default-config","auth-required"],"who_is_affected":"Teams running self-hosted SiYuan below 3.8.0 where an administrator-level account can reach the MCP file tool. The flaw is an authorization gap rather than an unauthenticated one, so exposure depends on who holds admin access. Deployments on 3.8.0 or later are not affected.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000646,"input_tokens":3513,"output_tokens":589,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-863':47B '/siyuan-note/siyuan':45A '3.8.0':57B '4prv':36A,41A '95hg':116C '9rrg':37A,42A 'access':146C,168C 'administr':82B,157C 'advisori':2A,32A,101C,103C 'align':20A 'api':16A,78B,155C 'authent':81B,156C 'block':72B 'blocklist':8A,62B,136C 'c8r8':115C 'claim':18A 'contain':132C 'cwe':46B 'data/.siyuan/publishaccess.json':90B,166C 'data/snippets/conf.json':99B,175C 'data/templates':97B,173C 'descript':127C 'duplic':1A,100C,111C 'expos':22A 'extern':124C 'fail':143C 'file':5A,15A,66B,74B,77B,94B,140C,150C,171C 'filesdupl':31A 'ghsa':34A,39A,114C 'ghsa-c8r8-95hg-mp34':113C 'ghsa-rp7c-4prv-9rrg':33A,38A 'github.com':44A 'github.com/siyuan-note/siyuan':43A 'host':52B 'http':14A,76B,154C 'incomplet':10A,60B,134C 'like':172C 'link':119C 'maintain':121C 'mcp':4A,48B,65B,139C 'mode':25A,87B,163C 'mp34':117C 'origin':126C 'packag':49B 'password':26A,88B,164C 'path':61B,135C 'plaintext':160C 'preserv':123C 'protect':79B,151C 'publish':24A,86B,162C 'publish-mod':23A,85B,161C 'read':84B,159C 'refer':125C 'relat':11A 'restrict':145C 'rp7c':35A,40A 'self':51B 'self-host':50B 'sensit':29A,93B,148C,170C 'siyuan':3A,53B,54B,128C 'tool':6A,67B,141C 'v3.8.0':131C 'version':55B,129C 'withdrawn':106C 'workspac':30A,149C","nicknames":[],"mitigations":[],"who_affected":"Teams running self-hosted SiYuan below 3.8.0 where an administrator-level account can reach the MCP file tool. The flaw is an authorization gap rather than an unauthenticated one, so exposure depends on who holds admin access. Deployments on 3.8.0 or later are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-08-22T15:31:02+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-rp7c-4prv-9rrg","url":"https://github.com/advisories/GHSA-rp7c-4prv-9rrg","severity":"medium","published_at":"2026-08-22T15:31:02+00:00","modified_at":"2026-10-27T14:43:49+00:00","first_seen_at":"2026-10-27T14:47:35+00:00","fetched_at":"2026-10-27T14:47:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}