Description
Vibe-Trading before 0.1.10 builds the proposal file path by joining a caller-supplied proposal identifier onto the broker proposals directory without sanitization (agent/src/live/mandate/commit.py). A proposal identifier containing path traversal sequences causes the application to load an attacker-controlled JSON file as an authoritative live trading mandate. Combined with the file upload endpoint, an admitted caller can write a JSON file to a known location and traverse to it, and because the ceilings validation is skipped when ceilings are absent, the attacker fully controls the committed mandate.
Published: 2026-06-30
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Vibe‑Trading before version 0.1.10 is vulnerable to path traversal when constructing a proposal file path from an attacker‑supplied identifier. By supplying a proposal identifier that contains traversal sequences the application can load an arbitrary JSON file as a live trading mandate. Combined with the file upload endpoint, an authorized caller can place a JSON file at a known location and reference it with a malicious identifier, thereby committing the file as a live trading mandate. Because ceiling validation is skipped when ceilings are absent, the attacker can fully control the mandate, potentially executing unauthorized trades and bypassing critical checks. This exploitation is a CWE‑22 path traversal vulnerability.

Affected Systems

The vulnerability affects the HKUDS Vibe‑Trading application on all releases prior to 0.1.10. Version 0.1.10 and later include a sanitized path construction and restored ceiling validation that mitigate the issue.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity. No EPSS data is available and the vulnerability is not yet listed in CISA KEV, but the exploit is feasible if an attacker has authenticated access to the file upload endpoint. The attack requires the ability to upload a JSON file to the broker proposals directory and craft a path traversal sequence, which is relatively straightforward with minimal skill or automated tooling. Given the potential for financial loss and the lack of mitigations in older versions, the risk is considered high.

Generated by OpenCVE AI on June 30, 2026 at 18:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Vibe‑Trading v0.1.10 or later, which includes input sanitization for proposal identifiers and restores mandatory ceiling validation before mandating commitments.
  • If an upgrade cannot be performed immediately, disable or restrict the file upload endpoint so that only trusted, authorized users can write JSON files to the broker proposals directory.
  • Add custom validation for the proposal identifier to reject any path traversal characters and ensure the resolved file path remains within the intended proposals directory before processing.
  • Monitor for unexpected mandate creation events and review trade executions for signs of unauthorized activity.

Generated by OpenCVE AI on June 30, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Hkuds
Hkuds vibe-trading
Vendors & Products Hkuds
Hkuds vibe-trading

Tue, 30 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Description Vibe-Trading before 0.1.10 builds the proposal file path by joining a caller-supplied proposal identifier onto the broker proposals directory without sanitization (agent/src/live/mandate/commit.py). A proposal identifier containing path traversal sequences causes the application to load an attacker-controlled JSON file as an authoritative live trading mandate. Combined with the file upload endpoint, an admitted caller can write a JSON file to a known location and traverse to it, and because the ceilings validation is skipped when ceilings are absent, the attacker fully controls the committed mandate.
Title Vibe-Trading < 0.1.10 - Path Traversal in Proposal Identifier Allows Forging Live Trading Mandates
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Hkuds Vibe-trading
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T21:34:56.244Z

Reserved: 2026-06-29T16:03:38.521Z

Link: CVE-2026-58170

cve-icon Vulnrichment

Updated: 2026-06-30T17:53:51.434Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T10:01:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')