Skip to main content

Vibe-Trading CVE-2026-58171

| EUVDEUVD-2026-40352 LOW
Path Traversal (CWE-22)
2026-06-30 VulnCheck GHSA-mjrq-xg2m-qg94
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to MCP swarm tools interface
  2. Delivery
    Craft run identifier with path traversal sequences
  3. Exploit
    Submit identifier via MCP swarm tool API
  4. Execution
    run_dir joins identifier without validation
  5. Persist
    Path resolves outside runs base directory
  6. Impact
    Read 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vibe-Trading 0 <0.1.10

Affected Packages

euvd vibe_trading fix: 0.1.10

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

Vendor (VulnCheck) PRIMARY 2.3 MEDIUM
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
vuln.today AI 5.0 MEDIUM

C:L assigned over vendor's C:N because description explicitly confirms arbitrary run.json reads; all other metrics align with the provided vector.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 30, 2026 - 17:22 NVD
MEDIUM LOW
CVSS changed
Jun 30, 2026 - 17:22 NVD
4.2 (MEDIUM) 2.3 (LOW)

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Rare
niche AI trading swarm application, limited known enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy