CVE-2026-58171: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS Vibe-Trading
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.
AI Analysis
Technical Summary
Vibe-Trading before version 0.1.10 improperly limits pathname construction in the run_dir function (agent/src/swarm/store.py) by joining a caller-supplied run identifier onto the base runs directory without validation. This allows an attacker supplying a crafted run identifier via MCP swarm tools to perform path traversal, enabling reading arbitrary run.json files outside the runs directory and overwriting existing run.json files at traversed locations.
Potential Impact
The vulnerability allows an attacker with low privileges and no user interaction to read and overwrite arbitrary run.json files outside the intended runs directory. This can impact the integrity and availability of data managed by the application. Confidentiality is not affected according to the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions prior to 0.1.10 or restrict access to the MCP swarm tools to trusted users to mitigate exploitation risk.
CVE-2026-58171: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS Vibe-Trading
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.
CVSS v3.1
Score 4.2medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Vibe-Trading before version 0.1.10 improperly limits pathname construction in the run_dir function (agent/src/swarm/store.py) by joining a caller-supplied run identifier onto the base runs directory without validation. This allows an attacker supplying a crafted run identifier via MCP swarm tools to perform path traversal, enabling reading arbitrary run.json files outside the runs directory and overwriting existing run.json files at traversed locations.
Potential Impact
The vulnerability allows an attacker with low privileges and no user interaction to read and overwrite arbitrary run.json files outside the intended runs directory. This can impact the integrity and availability of data managed by the application. Confidentiality is not affected according to the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions prior to 0.1.10 or restrict access to the MCP swarm tools to trusted users to mitigate exploitation risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-29T16:03:38.521Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43f43127e9c79719185f7a
Added to database: 06/30/2026, 16:52:01 UTC
Last enriched: 07/15/2026, 09:59:20 UTC
Last updated: 08/12/2026, 12:41:10 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.