Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Vibe-Trading service on port 8899
-
DeliveryPrompt agent to invoke read_document tool
-
ExploitBypass absent/over-broad path sandbox
-
ExecutionRead /etc/shadow and /root credentials as root
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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 3More in Vibe Trading
View allRemote code execution in HKUDS Vibe-Trading before 0.1.10 is reachable via a DNS-rebinding attack against its local API
Trading mandate forgery in HKUDS Vibe-Trading before 0.1.10 lets an admitted (low-privileged) caller supply a proposal i
Path traversal in Vibe-Trading before version 0.1.10 allows low-privileged authenticated network attackers to write arbi
Path traversal in Vibe-Trading's swarm run directory handler allows low-privileged network attackers to read and overwri
EUVD-2026-106909
GHSA-c5xj-9gp4-c84p
NVD
CVE.org
EPSS
Exploit-DB