Description
Vibe-Trading before 0.1.10 contains a DNS rebinding authentication bypass vulnerability that allows remote attackers to bypass bearer-token authentication by exploiting the server's trust of TCP peer addresses for loopback clients combined with missing Host header validation while binding to 0.0.0.0 with credentialed CORS. Attackers can craft a malicious DNS rebinding page to issue authenticated requests to the local API server, reach the shell execution endpoint with a bash-enabled preset, and achieve remote code execution as the API process user while also overwriting LLM and data-source settings to exfiltrate credentials.
Published: 2026-06-30
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A local API server in Vibe‑Trading trusts any request that appears to come from the loopback network. Because the server accepts connections bound to 0.0.0.0 and does not validate the Host header, an attacker can create a malicious DNS‑rebind page to issue requests that the server believes come from a trusted internal client. The attacker can then engage the API’s shell execution endpoint using a preset that enables the bash tool, executing arbitrary commands as the API process user. In addition, this authentication bypass allows the attacker to alter LLM and data‑source settings, potentially redirecting service traffic and exfiltrating credentials. This flaw is a classic implicit‑trust weakness (CWE‑346) that directly leads to remote code execution.

Affected Systems

HKUDS Vibe‑Trading releases older than version 0.1.10 are affected. Any deployment that uses the local API server and has not applied the 0.1.10 upgrade is vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 7.7, indicating a high impact. The EPSS score is not available and the issue is not listed in the CISA KEV catalog. The attack path is straightforward: a DNS‑rebind page can reach the API host, obtain authenticated access over the loopback interface, and then use the built‑in shell tools to execute arbitrary code. Because the API server binds to 0.0.0.0 by default and credentialed CORS is enabled, the potential attack vector is highly likely for exposed environments.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Vibe‑Trading to version 0.1.10 or later, which removes the loopback trust bypass and implements proper Host header validation.
  • Configure the API server to bind only on the local loopback interface or a restricted management address, and stop listening on 0.0.0.0.
  • Disable or remove credentialed CORS so the API is not accessible with credentials from external origins.
  • Restrict access to the /swarm/runs endpoint and disable built‑in shell tools unless they are explicitly required.

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 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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 17:30:00 +0000

Type Values Removed Values Added
Description Vibe-Trading before 0.1.10's local API server trusts the TCP peer address to bypass the API_AUTH_KEY bearer-token check for loopback clients and performs no Host header validation, while binding to 0.0.0.0 with credentialed CORS by default. A DNS-rebinding web page can therefore issue authenticated requests to the local API as a trusted loopback client. Because loopback requests also auto-enable shell tools, an attacker can reach POST /swarm/runs with a built-in preset that permits the bash tool and achieve remote code execution as the API process user; the same bypass allows starting the live runner and overwriting LLM and data-source settings to redirect provider traffic and exfiltrate credentials. Vibe-Trading before 0.1.10 contains a DNS rebinding authentication bypass vulnerability that allows remote attackers to bypass bearer-token authentication by exploiting the server's trust of TCP peer addresses for loopback clients combined with missing Host header validation while binding to 0.0.0.0 with credentialed CORS. Attackers can craft a malicious DNS rebinding page to issue authenticated requests to the local API server, reach the shell execution endpoint with a bash-enabled preset, and achieve remote code execution as the API process user while also overwriting LLM and data-source settings to exfiltrate credentials.

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

Type Values Removed Values Added
Description Vibe-Trading before 0.1.10's local API server trusts the TCP peer address to bypass the API_AUTH_KEY bearer-token check for loopback clients and performs no Host header validation, while binding to 0.0.0.0 with credentialed CORS by default. A DNS-rebinding web page can therefore issue authenticated requests to the local API as a trusted loopback client. Because loopback requests also auto-enable shell tools, an attacker can reach POST /swarm/runs with a built-in preset that permits the bash tool and achieve remote code execution as the API process user; the same bypass allows starting the live runner and overwriting LLM and data-source settings to redirect provider traffic and exfiltrate credentials.
Title Vibe-Trading < 0.1.10 - Loopback Trust and Missing Host Validation Enable DNS-Rebinding Authentication Bypass and Remote Code Execution
Weaknesses CWE-346
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/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:55.523Z

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

Link: CVE-2026-58169

cve-icon Vulnrichment

Updated: 2026-07-01T14:35:46.688Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses