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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-105697— Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration

Quick assessment

Affected
langflow-ai langflow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Langflow 是一款用于构建和部署 AI 驱动的智能体(agents)与工作流的工具。在 Langflow 1.10.3 版本之前,MCP 的 stdio 传输机制会执行用户在任何 MCP 服务器配置中提供的任意命令/参数,且未设置任何白名单限制。此外,在 1.10.3 之前,这些命令还被包裹在 中执行。 任何能够访问 MCP 服务器设置界面(路径为:“Settings → MCP Servers → Add MCP Server”,或通过 HTTP POST/PATCH 请求 )的用户,或者能够使用 MCP

CVSS 9.9 · Critical
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-105697

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
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
Source: CVE Program / CVE List V5
Vulnerability Description
Langflow is a tool for building and deploying AI-powered agents and workflows. Before Langflow 1.10.3, the MCP stdio transport launched whatever command / args a user put in an MCP server configuration, with no allowlist and (before 1.10.3) wrapped in bash -c "exec {command} ...". Any user able to reach the MCP server settings ("Settings → MCP Servers → Add MCP Server", POST/PATCH /api/v2/mcp/servers/{server_name}) or to build a flow with the MCP Tools component could add a "server" whose command is an arbitrary OS command (touch, rm -rf, a reverse shell, ...). The command runs on the Langflow host as the Langflow process user as soon as Langflow tries to connect to the server (listing servers, loading tools, running the flow) — even when the UI then reports that the stdio server failed to start. With the default LANGFLOW_AUTO_LOGIN=true, GET /api/v1/auto_login hands out a token without credentials, so on an exposed instance running the default configuration this is reachable without an account. AUTO_LOGIN is documented as a development-only setting; with it disabled, any authenticated (non-admin) user can exploit it. This issue is fixed in Langflow 1.10.3, langflow-base 0.10.3, and lfx 1.10.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
langflow-ai langflow >= 1.1.2, < 1.10.3 -
langflow-ai langflow-base >= 0.1.2, < 0.10.3 -
langflow-ai lfx < 1.10.3 -

II. Public POCs for CVE-2026-105697

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-105697

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

Other References for CVE-2026-105697 (6)

Same Patch Batch · langflow-ai · 2026-10-05 · 5 CVEs total

CVE-2026-105740 9.9 CRITICAL Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary O
CVE-2026-105699 7.1 HIGH Langflow: Authenticated Cross-Project File Disclosure via Unscoped MCP Resource Handlers
CVE-2026-105741 7.1 HIGH Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write
CVE-2026-105698 5.4 MEDIUM Langflow: Cross-user flow access and vertex execution via deprecated /api/v1/build/{flow_i

IV. Related Vulnerabilities

V. Comments for CVE-2026-105697

No comments yet


Leave a comment