CVE-2026-109442 Details
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.
A remote code execution vulnerability has been identified in piflow versions 2.0.0 through 2.0.1. The issue resides in the DeepAgents chat agent, specifically within the POST /chat and POST /chat/stream endpoints, which lack authentication. This vulnerability allows attackers to command the agent to execute arbitrary shell commands using the exec_shell tool. The commands are run via subprocess.run, without any human approval or allow-list, exposing sensitive environment secrets such as LLM API keys and database credentials.
To address this vulnerability, it is recommended to require authentication for the POST /chat and POST /chat/stream endpoints. This can be done by adding a global authentication middleware or by using the Depends(get_current_user) pattern already implemented in other parts of the application. Additionally, the exec_shell tool should be executed within a real sandbox environment, such as a container or microVM, with no access to the host filesystem or network. CORS settings should be tightened, and the application should be bound to localhost unless intentional network exposure is needed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 20, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cas-bigdatalab/piflow | >= 2.0.0, <= 2.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 20, 2026 | New CVE Received | [email protected] |
Volerion