Skip to main content

Vibe trading ai: Vibe-Trading file-read tools expose arbitrary server-readable files

0
High
Published: 10/02/2026 (10/02/2026, 22:44:12 UTC)
Source: GCVE Database
Product: vibe-trading-ai

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

PyPIghsa
vibe-trading-ai
Affected versions
>=0.1.0 <0.1.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/03/2026, 17:40:14 UTC

Technical Analysis

Two vulnerabilities affect Vibe-Trading AI's file-read tools: (1) safe_user_path() accepts any path under Path.home() or Path.cwd(), which resolve to /root and /app in the container, allowing reading of sensitive files including SSH keys and credentials. (2) read_document() lacks any sandboxing and returns full content of any readable file, including system secrets. The container runs the FastAPI process as root, increasing exposure. These flaws enable unauthenticated TCP clients on port 8899 to instruct the LLM to read arbitrary files, leaking contents via parse-error messages. Both issues require separate patches due to different code scopes.

Potential Impact

An unauthenticated attacker can read arbitrary files within the container's /root and /app directories, including sensitive credentials and secrets such as SSH private keys, AWS credentials, Kubernetes config, and environment variables. The FastAPI process runs as root, so any file readable by root is exposed. The vulnerabilities allow leaking file contents through error messages when files are parsed as trade journals. This leads to high confidentiality impact without requiring authentication or user interaction.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-5rmq-chc7-m22f
Osv Schema Version
1.4.0
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6ac139aea43b0b3b89d69aed

Added to database: 10/03/2026, 17:21:50 UTC

Last enriched: 10/03/2026, 17:40:14 UTC

Last updated: 10/04/2026, 02:51:33 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses