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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HKUDS | Vibe-Trading | < 0.1.10 | 0.1.10 |
References
- Vibe-Trading 0.1.10 Release Notes release-notes
- Fix PR issue-tracking patch
- Fix Commit patch
- https://www.vulncheck.com/advisories/vibe-trading-path-traversal-via-swarm-run-identifier third-party-advisory