Vibe-Trading code execution via unauthenticated FastAPI endpoints
HKUDS Vibe-Trading
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| vibe-trading-ai PyPI |
|
|
Original description
HKUDS Vibe-Trading from 0.1.0 before 0.1.7 contains a missing authentication vulnerability that allows unauthenticated attackers to access the FastAPI surface because require_auth() returns early when API_AUTH_KEY is unset. Attackers can post messages to /sessions/{id}/messages to trigger root shell commands via BashTool, upload .py or .sh files via /upload, read session histories, and obtain partial API keys.
From the CVE record · VulnCheck