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
- HighCVE-2026-133448: AutoGPT Claude Code CLI prompt preprocessing bypasses tool allow-listSimilar attack · NVD/CVE Database
- LowElastic ships 143 detection rules for AI agents and LLM platformsSimilar attack · Elastic Security Labs
- InfoThinking fast about prompt injection: New System 1 models in ElasticSimilar attack · Elastic Security Labs
- InfoConartist: Adaptive Agentic Red-Teaming of Computer-Using Agents against Multi-Step Prompt InjectionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoRelativising Integrity and Robustness: Prompt Injection and Partitioned EnclavesSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)