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.
Published: 2026-10-20
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

piflow 2.0.0 through 2.0.1 contains a remote code execution vulnerability in its DeepAgents chat agent, where the POST /chat and POST /chat/stream endpoints are accessible without authentication. Attackers can instruct the agent to invoke the exec_shell tool, which runs arbitrary shell commands via subprocess.run without any validation or allow‑list, enabling the execution of malicious code and the disclosure of sensitive environment secrets such as LLM API keys and database credentials. The flaw is a classic credential‑less attack vector, classified under CWE‑306 (Improper Restriction of Operations within the Bounds of a Legitimate Function).

Affected Systems

The affected vendor is cas‑bigdatalab’s piflow; the vulnerability exists in versions 2.0.0 and 2.0.1.

Risk and Exploitability

The CVSS score of 9.3 indicates a high‑severity risk. EPSS is not available, but no listing in CISA’s KEV catalog suggests limited documented exploitation yet. The vulnerability can be leveraged by any actor who can reach the exposed POST /chat endpoints, implying an unauthenticated, remote web‑based attack. Because the flaw allows execution of arbitrary commands, the impact spans confidentiality, integrity, and availability of the entire system.

Generated by OpenCVE AI on October 20, 2026 at 06:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a piflow version that removes the unauthenticated access to the chat agent or patches the exec_shell vulnerability.
  • If an immediate upgrade is not possible, apply network‑level or application‑level controls to restrict POST /chat endpoints to authenticated or trusted IP addresses.
  • As a temporary workaround, modify agents/tools.py to disable the exec_shell tool or enforce an allow‑list of safe commands.
  • Rotate all exposed environment secrets (LLM API keys, database credentials) and consider storing them in a secure vault to limit damage if they are retrieved.

Generated by OpenCVE AI on October 20, 2026 at 06:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Cas-bigdatalab
Cas-bigdatalab piflow
Vendors & Products Cas-bigdatalab
Cas-bigdatalab piflow

Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
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.
Title piflow 2.0.0 through 2.0.1 Unauthenticated RCE via Chat Agent exec_shell
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Cas-bigdatalab Piflow
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T16:07:55.823Z

Reserved: 2026-10-12T15:52:36.683Z

Link: CVE-2026-109442

cve-icon Vulnrichment

Updated: 2026-10-20T16:04:28.640Z

cve-icon NVD

Status : Deferred

Published: 2026-10-20T01:17:10.383

Modified: 2026-10-20T20:11:29.833

Link: CVE-2026-109442

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T16:46:55Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function