Arbitrary Command Injection Affecting taskflow-ai package, versions <2.1.9


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.73% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-TASKFLOWAI-15995500
  • published12 Apr 2026
  • disclosed9 Apr 2026
  • creditUnknown

Introduced: 9 Apr 2026

NewCVE-2026-5831  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade taskflow-ai to version 2.1.9 or higher.

Overview

taskflow-ai is a TaskFlow AI - 智能PRD文档解析与任务管理助手,支持多模型AI协同、MCP编辑器集成,专为开发团队设计的CLI工具

Affected versions of this package are vulnerable to Arbitrary Command Injection via the terminal_execute process in src/mcp/server/handlers.ts. An attacker can execute arbitrary operating system commands by supplying crafted input to the affected process.

CVSS Base Scores

version 4.0
version 3.1