Skip to main content

Vibe-Trading CVE-2026-114106

| EUVDEUVD-2026-106909 HIGH
Path Traversal (CWE-22)
2026-10-21 VulnCheck GHSA-c5xj-9gp4-c84p
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Vibe-Trading service on port 8899
  2. Delivery
    Prompt agent to invoke read_document tool
  3. Exploit
    Bypass absent/over-broad path sandbox
  4. Execution
    Read /etc/shadow and /root credentials as root
  5. Impact
    Exfiltrate API keys and SSH/AWS secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires network reachability to the Vibe-Trading FastAPI service (default port 8899), which accepts anonymous TCP clients, so no authentication or user interaction is needed against the shipped configuration. The impact is amplified specifically by the default container: the Dockerfile has no USER directive (runtime stage python:3.11-slim), so the process runs as uid=0(root) and can read root-owned secrets. Two concrete defects enable it: read_document() performs no sandbox/safe_path check at all (reads any file the process can access, e.g. /etc/shadow, /proc/self/environ), and safe_user_path() accepts any path under Path.home() or Path.cwd(), which resolve to /root and /app in the container (exposing /root/.ssh/id_rsa, /root/.aws/credentials, /root/.kube/config, /app/agent/.env). Limiting factors: only versions 0.1.0 through 0.1.6 are affected; exploitation requires the service to be network-exposed; and real-world risk is bounded by the product's very small deployment base. Secrets are only leaked to the extent they exist and are readable by the running process.

Impact

Signals are largely consistent and point to a genuine, high-severity confidentiality exposure. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) describes remote, low-complexity, unauthenticated exploitation with high confidentiality impact and no integrity/availability effect, and the GHSA advisory corroborates this: the file-read tools are reachable by any anonymous TCP client to port 8899, and the shipped container has no USER directive so the FastAPI process runs as uid=0(root), maximizing what can be read (/etc/shadow, /root/.ssh/id_rsa, /root/.aws/credentials, /app/agent/.env). No EPSS score, KEV listing, or explicit POC flag was supplied in the structured input; however, the referenced GHSA advisory embeds concrete curl-based reproducer steps, which functions as publicly available exploit code. KEV status is NOT present, so this should be treated as a disclosed-with-reproducer issue rather than confirmed active exploitation. Net assessment: a real priority for anyone actually running Vibe-Trading exposed to a network, tempered by the product's small real-world footprint - the severity is high but the population of affected deployments is likely tiny. Note one nuance to verify: exploitation is also described via prompt-injection in documents the agent processes, a path the CVSS AV:N/PR:N vector does not fully capture.

Exploit ScenarioDerived

A remote attacker with network reach to the Vibe-Trading service on port 8899 sends an anonymous request that prompts the LLM agent to call read_document (which performs no sandbox check) or a safe_user_path-gated tool. The agent returns the raw contents of /etc/shadow, /proc/self/environ (leaking API keys), or /root credential files because the process runs as root in the shipped container. Reproducer curl steps are published in the GHSA advisory, lowering the effort required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 21, 2026

Remote unauthenticated file disclosure in HKUDS Vibe-Trading 0.1.0 through 0.1.6 lets attackers read server-side secrets by inducing the LLM agent to invoke its file-read tools. The read_document tool lacks any sandbox check, while safe_user_path permits paths under the process home and working directory, which in the shipped root container expose files such as /etc/shadow, /proc/self/environ, /root/.ssh/id_rsa, and /app/agent/.env to any client that can reach the FastAPI service. No public exploit identified at time of analysis; the default container runs as root, materially increasing the confidentiality impact.

RemediationAI

Vendor-released patch: upgrade to Vibe-Trading 0.1.7 or later, for example pip install --upgrade vibe-trading-ai==0.1.7; the upstream fix is in commit https://github.com/HKUDS/Vibe-Trading/commit/9454d4a27a763b80e1d6eb5763b86c88e9e4e714 and the advisory is https://github.com/HKUDS/Vibe-Trading/security/advisories/GHSA-5rmq-chc7-m22f. If immediate upgrade is not possible, remove external reachability to the FastAPI service on port 8899 using firewall rules or a reverse proxy that enforces authentication, recognizing that this only reduces exposure and does not fix the tool defects; run the container as a non-root user by adding a USER directive or using docker run --user, which limits access to root-owned files but does not prevent reads of files readable by that user; and disable or restrict the LLM file-read tools/registry where journal or broker-export ingestion is not required, with the trade-off that legitimate document-import workflows may break. Remove unnecessary mounted secrets from the container to reduce what can be leaked if exploitation occurs.

Affected VersionsENISA

Vibe-Trading 0.1.0 <0.1.7

Affected Packages

pypi vibe-trading-ai fix: 0.1.7
euvd vibe_trading fix: 0.1.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is CWE-22 path traversal in the LLM tool layer of Vibe-Trading, a FastAPI-based trading agent service that auto-discovers tools exposed to the model. Two file-read paths are affected: read_document() performs no sandbox or safe_path check and returns any file readable by the FastAPI process, while safe_user_path() in agent/src/tools/path_utils.py only verifies that a path resolves under Path.home() or Path.cwd(). Inside the shipped Docker image those resolve to /root and /app, so the gate permits root's home and application files rather than a narrow broker-export directory. Because the runtime stage is python:3.11-slim with no USER directive, the service runs as uid=0(root), allowing access to root-owned secrets. The affected CPE is cpe:2.3:a:hkuds:vibe-trading:*:*:*:*:*:*:*:*; the assessed CVSS:3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, consistent with network-reachable, unauthenticated confidentiality impact. Prompt injection in documents processed by the agent is an additional path to the same tool calls.

Know when Vibe Trading gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Service accepts anonymous network clients (AV:N, PR:N, AC:L, UI:N); arbitrary file read yields high confidentiality (C:H) with no integrity or availability impact (I:N/A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 21, 2026 - 02:01 EUVD
CVE Published
Oct 21, 2026 - 00:37 cve.org
HIGH 8.7

DescriptionCVE.org

HKUDS Vibe-Trading from 0.1.0 before 0.1.7 contains a path traversal vulnerability that allows remote attackers to read sensitive server files through LLM agent file-read tools. Attackers can prompt the agent to invoke read_document, which lacks sandbox checks, or safe_user_path-gated tools to leak /etc/shadow, /proc/self/environ API keys, and /root credentials.

Technical POC Analysis

CWE-22 (advisory also tags CWE-23, CWE-200, CWE-552) in the LLM-callable file-read tools of vibe-trading-ai.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

HKUDS Vibe-Trading 0.1.0 through 0.1.6 can be induced to disclose server-side secrets-including container credential files and environment data-to any client able to reach the FastAPI service, and the default root-container deployment increases the chance that exposed credentials unlock broader infrastructure. Leadership should treat this as a high-priority confidentiality risk for teams running the product because leaked SSH keys, environment secrets, and shadow-file data can enable lateral movement and service compromise even without a vendor patch.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; isolate the FastAPI service behind authenticated network controls, run containers as non-root, remove or rotate secrets accessible to the container, disable unused file-read tools, and monitor agent tool invocations.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Rare
obscure open-source HKUDS AI trading agent, minimal production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Related Vulnerabilities in Vibe-Trading Auth and Command Injection Flaws

View all 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy