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). It joins a caller-supplied run identifier onto the base runs directory without validating the input, enabling crafted identifiers to traverse directories. This allows reading arbitrary run.json files outside the runs directory and overwriting existing run.json files at those locations. The vulnerability is classified as a path traversal issue with a medium CVSS score of 4.2, indicating limited attack complexity but potential impact on integrity and availability.
Potential Impact
An attacker with low privileges and no user interaction can exploit this vulnerability remotely to read arbitrary run.json files outside the intended directory and overwrite existing run.json files. This compromises data integrity and availability of the application. Confidentiality is not impacted according to the CVSS vector. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input for run identifiers or implement input validation to restrict directory traversal characters. Monitor vendor channels for updates regarding an official patch or mitigation.
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). It joins a caller-supplied run identifier onto the base runs directory without validating the input, enabling crafted identifiers to traverse directories. This allows reading arbitrary run.json files outside the runs directory and overwriting existing run.json files at those locations. The vulnerability is classified as a path traversal issue with a medium CVSS score of 4.2, indicating limited attack complexity but potential impact on integrity and availability.
Potential Impact
An attacker with low privileges and no user interaction can exploit this vulnerability remotely to read arbitrary run.json files outside the intended directory and overwrite existing run.json files. This compromises data integrity and availability of the application. Confidentiality is not impacted according to the CVSS vector. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input for run identifiers or implement input validation to restrict directory traversal characters. Monitor vendor channels for updates regarding an official patch or mitigation.
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: 06/30/2026, 17:07:42 UTC
Last updated: 07/01/2026, 00:07:08 UTC
Views: 6
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.