CVE-2026-58170

Vibe-Trading < 0.1.10 - Path Traversal in Proposal Identifier Allows Forging Live Trading Mandates

Published Jun 30, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Hkuds
Hkuds vibe-trading
Vendors & Products Hkuds
Hkuds vibe-trading
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:06 PM
Reserved
Jun 29, 2026, 4:03 PM
Status
Deferred
Published
Jun 30, 2026, 5:16 PM
Modified
Oct 25, 2026, 9:10 PM