Skip to main content
VulnerabilityPublished

github.com/siyuan-note/siyuan/kernel · Kernel: SiYuan MCP asset.upload Reads Arbitrary Absolute File Paths (Workspace Boundary Bypass)

Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database

0

Mentioned vulnerabilities

CVSS 5.7 Medium : upgrade to 0.0.0-20260813142104-b26a4a307b8a when convenient.

Data as of 3 Oct 2026, 17:38 UTC

CVSS 3.1 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.0.0-20260813142104-b26a4a307b8a
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

What to do

Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260813142104-b26a4a307b8a.

Affected software

ProductAffectedFixed in
Gogithub.com/siyuan-note/siyuan/kernelAffected
  • <0.0.0-20260813142104-b26a4a307b8a
Fixed in
  • 0.0.0-20260813142104-b26a4a307b8a

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in SiYuan version 3.8.1 that adds workspace boundary checks to the asset.upload tool, preventing arbitrary absolute path reads. Users should upgrade to version 3.8.1 or later to remediate this vulnerability. Until patched, administrators should be cautious about enabling the Agent/MCP interface and ensure users are aware of the risks of approving asset upload prompts, as the confirmation does not reveal the actual file paths being accessed.

Description

SiYuan MCP's asset.upload tool allows reading arbitrary absolute file paths without workspace boundary checks, enabling an attacker who can influence the AI Agent to upload sensitive local files into the workspace. This vulnerability affects versions up to 3.8.0 and was patched in version 3.8.1. Exploitation requires user approval of a generic confirmation prompt, making the attack vector reliant on prompt injection and user interaction. The vulnerability leads to confidentiality breaches by exposing sensitive files such as SSH keys and cloud credentials via the workspace file API.

References

Community reviews

Loading reviews…