Vibe trading ai: Vibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chain
Affects vibe-trading-aiSource GCVE Database
CVSS 10.0 Critical : upgrade to 0.1.7 as a priority.
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:C/C:H/I:H/A:HWhat 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 for these vulnerabilities. Operators should apply the official fix to ensure authentication is properly enforced and to restrict file uploads and CORS policies. Until patched, do not expose port 8899 to untrusted networks. Configure the Docker container to run the FastAPI process as a non-root user by adding a USER directive in the Dockerfile. Verify that the API_AUTH_KEY environment variable is set to enforce authentication. Review and restrict CORS settings to prevent unauthorized cross-origin requests. Follow the vendor advisory for detailed remediation steps.
Description
Vibe-Trading AI version 0.1.0 through 0.1.6 contains multiple critical security vulnerabilities, including unauthenticated full API exposure and remote code execution (RCE). The primary critical issue allows unauthenticated attackers to execute arbitrary shell commands as root inside the container via the /sessions/{id}/messages endpoint due to missing authentication enforcement when API_AUTH_KEY is unset. Additional findings include authorization gaps, unauthenticated file uploads, permissive CORS configurations, and partial API key disclosure. The Docker container runs as root by default, increasing the impact of exploitation. A patch is available to address these issues.
References
- github.com/HKUDS/Vibe-Trading/security/advisories/GHSA-v2f8-6655-7grj (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)