Description
Vibe-Trading before 0.1.10 constructs the swarm run directory by joining a caller-supplied run identifier onto the runs base directory without validation in run_dir (agent/src/swarm/store.py). A crafted run identifier supplied through the MCP swarm tools causes the application to read arbitrary run.json files outside the runs directory and to overwrite existing run.json files at traversed locations.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 0.1.10
Credits
Chia Min Jun Lennon
References
github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10 (Release Notes)
github.com/HKUDS/Vibe-Trading/pull/258 (Fix PR)
github.com/...ommit/f45fd85392f07b5e404e41d4fcb0ef0d6c2f87ab (Fix Commit)
www.vulncheck.com/...path-traversal-via-swarm-run-identifier