Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58171: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS Vibe-Trading

0
Medium
VulnerabilityCVE-2026-58171cvecve-2026-58171
Published: 06/30/2026 (06/30/2026, 15:54:34 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Affected software

GitHub Actionsmore threats →cve
Vibe-Trading
pkg:github/Vibe-Trading
Affected versions
<0.1.10

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

AILast updated: 06/30/2026, 17:07:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses