Vibe trading ai: Vibe-Trading file-read tools expose arbitrary server-readable files
Affects vibe-trading-aiSource GCVE Database
CVSS 7.5 High : upgrade to 0.1.7 soon.
Data as of 3 Oct 2026, 17:40 UTC
- Patch
- Available – fixed in 0.1.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWhat to do
Upgrade vibe-trading-ai to 0.1.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIvibe-trading-ai | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available to fix both vulnerabilities: one to restrict safe_user_path() to a proper safe envelope and another to add sandboxing in read_document(). Users should apply the official fixes promptly. Since the container runs as root, it is also recommended to run the service under a non-root user to reduce risk. Until patched, avoid exposing the service to untrusted networks. Check the vendor advisory for the latest remediation details.
Description
Vibe-Trading AI contains two related path traversal vulnerabilities in its file-read tools, allowing unauthenticated users to read arbitrary files within the container's root home (/root) and application directory (/app). The safe_user_path() function incorrectly permits any path under these directories, exposing sensitive files such as SSH keys, AWS credentials, and environment variables. Additionally, the read_document() function lacks sandboxing, enabling reading of any file accessible to the FastAPI process, including critical system files like /etc/shadow. The container runs as root, exacerbating the risk. These vulnerabilities can leak sensitive file contents via error messages when the files are parsed as trade journals. A patch is available to address both issues.
References
- github.com/HKUDS/Vibe-Trading/security/advisories/GHSA-5rmq-chc7-m22f (opens in a new tab)
- github.com/HKUDS/Vibe-Trading/commit/9454d4a27a763b80e1d6eb5763b86c88e9e4e714 (opens in a new tab)
- github.com/HKUDS/Vibe-Trading (opens in a new tab)
- github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.7 (opens in a new tab)