---
id: CVE-2026-109442
title: piflow 2.0.0 through 2.0.1 Unauthenticated RCE via Chat Agent exec_shell
summary: >-
  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, w…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-306
vendor: cas-bigdatalab
product: piflow
affected:
  - piflow >= 2.0.0 <= 2.0.1
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T00:46:06.694Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-109442'
references:
  - url: 'https://www.lasso.security/vulnerability-database/cve-2026-109442'
    label: Lasso.security Advisory
  - url: >-
      https://github.com/cas-bigdatalab/piflow/blob/ad8d0108a54a4257307d4946dc9250e26f24c63f/agents/tools.py#L114
  - url: >-
      https://github.com/cas-bigdatalab/piflow/blob/ad8d0108a54a4257307d4946dc9250e26f24c63f/server.py#L615
  - url: >-
      https://www.vulncheck.com/advisories/piflow-2.0.0-through-2.0.1-unauthenticated-rce-via-chat-agent-exec-shell
    label: >-
      VulnCheck Advisory: piflow 2.0.0 through 2.0.1 Unauthenticated RCE via
      Chat Agent exec_shell
tags:
  - cve.org
ingestedAt: '2026-10-20T01:49:42.627Z'
---

## Overview

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

- `piflow >= 2.0.0 <= 2.0.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
