---
id: CVE-2026-58171
title: Vibe-Trading < 0.1.10 - Path Traversal via Swarm Run Identifier
summary: >-
  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 th…
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-22
vendor: HKUDS
product: Vibe-Trading
affected:
  - Vibe-Trading < 0.1.10
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-30T17:07:34.012289Z'
published: '2026-06-30'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:06:52.002Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-58171'
references:
  - url: 'https://github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10'
    label: Vibe-Trading 0.1.10 Release Notes
  - url: 'https://github.com/HKUDS/Vibe-Trading/pull/258'
    label: Fix PR
  - url: >-
      https://github.com/HKUDS/Vibe-Trading/commit/f45fd85392f07b5e404e41d4fcb0ef0d6c2f87ab
    label: Fix Commit
  - url: >-
      https://www.vulncheck.com/advisories/vibe-trading-path-traversal-via-swarm-run-identifier
tags:
  - cve.org
epss: 0.00344
epssPercentile: 0.28152
ingestedAt: '2026-11-08T14:51:22.303Z'
---

## Overview

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.

## Affected

- `Vibe-Trading < 0.1.10`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
