CVE-2026-58171 Details
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.
A path traversal vulnerability has been identified in Vibe-Trading versions prior to 0.1.10. The issue arises because the application constructs the swarm run directory by concatenating a user-supplied run identifier with the base directory, without proper validation. This flaw allows a crafted run identifier, delivered through the MCP swarm tools, to manipulate the application into reading arbitrary run.json files from outside the designated runs directory. Additionally, it can overwrite existing run.json files in the traversed locations.
Users can upgrade to Vibe-Trading version 0.1.10 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 30, 2026CISA-ADP
Assessed Jun 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/HKUDS/Vibe-Trading/commit/f45fd85392f07b5e404e41d4fcb0ef0d6c2f87ab | [email protected] | Source CodeVendor |
| https://github.com/HKUDS/Vibe-Trading/pull/258 | [email protected] | Issue TrackingVendor |
| https://github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/vibe-trading-path-traversal-via-swarm-run-identifier | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| HKUDS Vibe-Trading | < 0.1.10 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 30, 2026 | CVE Modified | CISA-ADP |
| Jun 30, 2026 | New CVE Received | [email protected] |
Volerion