Description
piflow 2.0.0 through 2.0.1 contains a remote code execution vulnerability in its DeepAgents chat agent, whose POST /chat and POST /chat/stream endpoints lack authentication. Attackers can instruct the agent to call the exec_shell tool, which runs arbitrary commands via subprocess.run without human approval or an allow-list, exposing environment secrets such as LLM API keys and database credentials.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cas-bigdatalab | piflow | 2.0.0 – ≤ 2.0.1 | — |
References
- Lasso.security Advisory technical-description exploit
- https://github.com/cas-bigdatalab/piflow/blob/ad8d0108a54a4257307d4946dc9250e26f24c63f/agents/tools.py#L114 technical-description
- https://github.com/cas-bigdatalab/piflow/blob/ad8d0108a54a4257307d4946dc9250e26f24c63f/server.py#L615 technical-description
- VulnCheck Advisory: piflow 2.0.0 through 2.0.1 Unauthenticated RCE via Chat Agent exec_shell third-party-advisory