---
id: CVE-2026-116168
title: SiYuan before v3.8.7 Path Traversal Local File Read via MCP Asset Tool
summary: >-
  SiYuan before 3.8.7 contains a path traversal vulnerability in the MCP asset
  tool because validateAssetUploadPaths relies on an incomplete sensitive-path
  blacklist that omits .env and other secret files. Authenticated attackers
  driving t…
severity: medium
cvss: 6.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-22
vendor: siyuan-note
product: siyuan
affected:
  - siyuan < 3.8.7
published: '2026-10-25'
updated: '2026-10-25'
sourceUpdated: '2026-10-25T14:27:41.242Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116168'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q768-4j87-gf3w
    label: GitHub Security Advisory (GHSA-q768-4j87-gf3w)
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.7-path-traversal-local-file-read-via-mcp-asset-tool
    label: >-
      VulnCheck Advisory: SiYuan before v3.8.7 Path Traversal Local File Read
      via MCP Asset Tool
tags:
  - cve.org
ingestedAt: '2026-10-25T22:08:29.936Z'
---

## Overview

SiYuan before 3.8.7 contains a path traversal vulnerability in the MCP asset tool because validateAssetUploadPaths relies on an incomplete sensitive-path blacklist that omits .env and other secret files. Authenticated attackers driving the MCP asset upload action can copy such local files into the workspace and read them back via /assets/ over HTTP.

## Affected

- `siyuan < 3.8.7`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
