MediumVulnerability
GHSA-p23f-cm6q-2qp8: SiYuan MCP asset.upload Reads Arbitrary Absolute File Paths (Workspace Boundary Bypass)
- Identifier
- GHSA-p23f-cm6q-2qp8
- Published
- Record updated
- Affected
- github.com/siyuan-note/siyuan/kernel < 0.0.0-20260813142104-b26a4a307b8a
- Fixed in
- 0.0.0-20260813142104-b26a4a307b8a
- released August 13, 2026, 50 days before disclosure
Summary
SiYuan's MCP tool `asset.upload` accepts a comma-separated `files` list of absolute paths and performs no workspace boundary or sensitive-path check before `model.InsertLocalAssets` opens each file and copies it into the workspace `assets/` directory. An attacker who can steer the AI Agent through prompt injection could make it upload files such as `~/.ssh/id_rsa` into the workspace, where they become reachable. Affected versions are `<= 3.8.0`, and the issue is a residual gap from the remediation of CVE-2026-66012.
Mitigation
Fixed in 3.8.1.
Topics
Related items
- MediumCVE-2026-130358: AdminNeo before 5.9.1 contains a missing authentication vulnerability in the ClaudeSqlPlugin, GeminiSqlPlugin, and…Similar attack · NVD/CVE Database
- HighGHSA-8vf2-hxg5-crqh: Kubeshark: MCP `start_kubeshark` argument injection via `pod_regex` → image redirect → cluster takeoverSimilar attack · GitHub Advisory Database
- MediumCVE-2026-126681: AWS Labs Timestream for InfluxDB MCP Server exposes API tokenSimilar attack · NVD/CVE Database
- HighCVE-2026-126681 - Improper restriction of intended endpoints in AWS Labs Timestream for InfluxDB MCP ServerSimilar attack · AWS Security Bulletins
- InfoIn Other News: New CISA Director Nominee, Connected Car Hacking, Baker Tilly Data BreachSimilar attack · SecurityWeek