CVE-2026-58171 Vibe-Trading < 0.1.10 - Path Traversal via Swarm Run Identifier
Attackers can read or overwrite arbitrary JSON files via crafted run identifiers in Vibe-Trading swarm tools.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-58171?
CVE-2026-58171 is a low-severity path traversal vulnerability in HKUDS Vibe-Trading, published on 30 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-58171?
How do I fix CVE-2026-58171?
No fix has been published for CVE-2026-58171 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-58171 being exploited?
There is no known exploitation of CVE-2026-58171 in the wild and no public exploit code.
Sources
Also known as GHSA-mjrq-xg2m-qg94.