Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MCP swarm tools interface
-
DeliveryCraft run identifier with path traversal sequences
-
ExploitSubmit identifier via MCP swarm tool API
-
Executionrun_dir joins identifier without validation
-
PersistPath resolves outside runs base directory
-
ImpactRead or overwrite target run.json files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must have low-privilege authenticated access to the MCP swarm tools interface (consistent with CVSS PR:L), meaning unauthenticated exploitation is not possible. The vulnerability is triggered specifically when a run identifier is passed through the MCP swarm tool API to the run_dir function in agent/src/swarm/store.py - installations that do not expose the MCP swarm tools interface to untrusted users are not at practical risk. The high attack complexity (AC:H) further limits exploitation: successful traversal to a meaningful target likely requires the attacker to know or enumerate the directory structure of the runs base path and the filenames of target run.json files. Only run.json files are confirmed as readable or writable via this traversal - arbitrary file types and content are not indicated by the description. Exploitation is limited by the authentication requirement, the AC:H complexity rating, and the constrained impact to run.json files within path-traversable reach. |
| Impact | The vendor-assigned CVSS 3.1 score of 4.2 (Medium) reflects a network-accessible but high-complexity attack (AV:N/AC:H) requiring low-privilege authentication (PR:L) with unchanged scope (S:U). The assigned C:N conflicts with the description, which explicitly states arbitrary run.json files can be read outside the runs directory - this analyst assesses C:L as more accurate. The I:L and A:L ratings are consistent with the ability to overwrite existing run.json files, disrupting trading swarm state. No EPSS data was provided, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed active exploitation. No public POC has been identified. Real-world risk is moderate and primarily relevant to multi-tenant or shared Vibe-Trading deployments where a malicious authenticated user could tamper with or read another user's swarm run data. The AC:H rating meaningfully limits opportunistic mass exploitation, as successful traversal likely requires knowledge of target path structure. |
| Exploit ScenarioDerived | An authenticated low-privileged user of a shared Vibe-Trading deployment submits a swarm run identifier containing path traversal sequences (e.g., '../../other-user/sensitive') through the MCP swarm tools API. The run_dir function in agent/src/swarm/store.py joins this value onto the base runs directory without canonicalization, resolving a path outside the intended directory. The attacker reads run.json files belonging to other users to extract trading configuration or strategy data, then overwrites a target run.json to corrupt or hijack another user's active swarm run. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
Path traversal in Vibe-Trading's swarm run directory handler allows low-privileged network attackers to read and overwrite arbitrary run.json files on the host filesystem. All releases before 0.1.10 are affected via the MCP swarm tools interface, where a crafted run identifier is passed to the run_dir function in agent/src/swarm/store.py without sanitization, enabling directory escape. No public exploit is identified at time of analysis and the vulnerability is not in the CISA KEV catalog; a vendor-released patch is available as v0.1.10.
RemediationAI
Upgrade to Vibe-Trading v0.1.10 or later, which resolves the path traversal via the patch committed at https://github.com/HKUDS/Vibe-Trading/commit/f45fd85392f07b5e404e41d4fcb0ef0d6c2f87ab (merged via PR #258, https://github.com/HKUDS/Vibe-Trading/pull/258). The vendor release is documented at https://github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10. If an immediate upgrade is not possible, restrict access to the MCP swarm tools interface exclusively to fully trusted users, since exploitation requires authenticated low-privilege access (PR:L) - limiting the user pool directly reduces attack surface. Additionally, apply filesystem-level access controls (OS permissions or chroot/container isolation) to prevent the application process from resolving paths outside the intended runs directory. Note that restricting MCP tool access may degrade collaborative swarm functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Vibe-Trading (CPE: cpe:2.3:a:hkuds:vibe-trading) is an AI-powered trading swarm orchestration application developed by HKUDS. The vulnerability resides in agent/src/swarm/store.py in the run_dir function, which constructs filesystem paths by joining a caller-supplied run identifier string directly onto a base runs directory using Python path operations without neutralizing traversal sequences such as '../'. This is a textbook CWE-22 (Path Traversal) root cause: user-controlled input is consumed in a filesystem operation before being validated or canonicalized. The attack surface is the MCP (Model Context Protocol) swarm tools interface, which is network-accessible and allows authenticated users to submit run identifiers programmatically, making the traversal remotely triggerable.
Know when Vibe Trading gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
C:L assigned over vendor's C:N because description explicitly confirms arbitrary run.json reads; all other metrics align with the provided vector.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Vibe Trading
View allMissing authentication in the HKUDS Vibe-Trading FastAPI server (pip package vibe-trading-ai 0.1.0 through 0.1.6) lets u
Indirect prompt injection in HKUDS Vibe-Trading 0.1.0 through 0.1.6 lets remote unauthenticated attackers achieve root-l
Remote unauthenticated file disclosure in HKUDS Vibe-Trading 0.1.0 through 0.1.6 lets attackers read server-side secrets
Remote code execution in HKUDS Vibe-Trading before 0.1.10 is reachable via a DNS-rebinding attack against its local API
Trading mandate forgery in HKUDS Vibe-Trading before 0.1.10 lets an admitted (low-privileged) caller supply a proposal i
Path traversal in Vibe-Trading before version 0.1.10 allows low-privileged authenticated network attackers to write arbi
EUVD-2026-40352
GHSA-mjrq-xg2m-qg94
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB