Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58195— Agentic-Flow: OS Command Injection in agentic-flow MCP server tools via unsanitized tool-parameter interpolation into execSync

Quick assessment

Affected
ruvnet agentic-flow
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ruvnet Agentic-Flow是ruvnet公司开源的一个智能体工作流框架。 ruvnet Agentic-Flow 2.0.14之前版本存在命令注入漏洞,该漏洞源于在MCP server tools中,将agent、task、name、language和agentdb等工具参数直接注入到传递给execSync()的shell命令字符串中,可能导致任意操作系统命令执行。

CVSS 8.8 · High EPSS 0.87% · P58

Affected Version Matrix 1

VendorProduct Version RangeStatus
ruvnet agentic-flow < 2.0.14 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58195

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Agentic-Flow: OS Command Injection in agentic-flow MCP server tools via unsanitized tool-parameter interpolation into execSync
Source: CVE Program / CVE List V5
Vulnerability Description
Agentic-Flow is an AI agent orchestration platform. Prior to 2.0.14, agentic-flow MCP server tools in src/mcp/standalone-stdio.ts, src/mcp/fastmcp/servers/claude-flow-sdk.ts, src/mcp/fastmcp/servers/stdio-full.ts, src/mcp/fastmcp/servers/http-streaming-updated.ts, src/mcp/fastmcp/servers/http-sse.ts, src/mcp/fastmcp/servers/poc-stdio.ts, src/mcp/fastmcp/tools/agent/{execute,list,parallel}.ts, src/mcp/fastmcp/tools/swarm/orchestrate.ts, and src/mcp/fastmcp/tools/hooks/pretrain.ts interpolated attacker-influenceable tool parameters such as agent, task, name, language, and agentdb directly into shell command strings passed to execSync(), allowing arbitrary OS command execution with the privileges of the MCP server user. This issue is fixed in version 2.0.14.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
ruvnet Agentic-Flow 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ruvnet Agentic-Flow是ruvnet公司开源的一个智能体工作流框架。 ruvnet Agentic-Flow 2.0.14之前版本存在命令注入漏洞,该漏洞源于在MCP server tools中,将agent、task、name、language和agentdb等工具参数直接注入到传递给execSync()的shell命令字符串中,可能导致任意操作系统命令执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ruvnet agentic-flow < 2.0.14 -

II. Public POCs for CVE-2026-58195

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 9054 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-58195

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-58195 (4)

Vendor Advisories for CVE-2026-58195 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-58195

No comments yet


Leave a comment