Submit #789515: Agions taskflow-ai 2.1.8 Command Injectioninfo

TitleAgions taskflow-ai 2.1.8 Command Injection
DescriptionA command injection vulnerability (CWE-78) has been identified in taskflow-ai, specifically within the MCP server handlers and executor components. An attacker with access to the MCP CallTool handler can invoke a hidden terminal_execute tool—not advertised in list_tools—and supply a crafted command string. The executor validates only the first whitespace-delimited token against an allowlist while passing the remainder of the command unsanitized to execSync, enabling shell metacharacters to execute arbitrary OS commands. This can lead to full host compromise, including data exposure, integrity loss, and service disruption. Versions up to and including 2.1.8 are confirmed affected.
Source⚠️ https://github.com/Agions/taskflow-ai/issues/2
User
 BruceJin (UID 96538)
Submission03/26/2026 03:56 (4 months ago)
Moderation04/08/2026 19:03 (14 days later)
StatusAccepted
VulDB entry356278 [Agions taskflow-ai up to 2.1.8 terminal_execute handlers.ts os command injection]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!