Vibe-Trading LLM-callable tools permit command execution, code injection, and SSRF
GHSA-jqmf-mx4f-hfr6 · published 2026-10-02
- Severity
- Critical
- CVSS score
- 10.0
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 0.1.7
5 findings — BashTool shell-injection sink (F6, the canonical RCE primitive), BackgroundRunTool async shell-injection sink (F7), backtest exec_module() runs top-level statements before the SignalEngine class check (F8 — independent RCE path that does not match BashTool signatures), read_url outbound HTTP forwarding without schema/host validation (F-B4 SSRF), and Jinja2 codegen with autoescape disabled for .py.j2 templates (F-B5, defense-in-depth code-injection sink).
Upgrade vibe-trading-ai to 0.1.7 or later.
6. F6 — Replace subprocess.run(command, shell=True) with and an allowlist of permitted command prefixes; or remove BashTool from the default auto-discovered registry and require explicit operator opt-in via env var (e.g. ENABLE_BASH_TOOL=1). 7. F7 — Same as F6 applied to BackgroundManager.run() at line 41. The BackgroundRunTool registration at line 83 should be gated by the same opt-in flag. 8. F8 — Before calling spec.loader.exec_module(module) at line 115, parse the source with ast.parse() and reject any top-level statements that are not import declarations, class definitions, or function definitions. …
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| vibe-trading-ai | PyPI | >= 0.1.0, < 0.1.7 | 0.1.7 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalVibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chainvibe-trading-ai
- HighVibe-Trading file-read tools expose arbitrary server-readable filesvibe-trading-ai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.