CVE-2026-105697: Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
langflow-ai · langflow
No fix listed · Affected: langflow-ai · Exploitation: public proof of concept (unverified)
Verdict
Patch this cycleExploit code is public; no attacks reported yet.
- NoAttacks seen
- YesPublic exploit code since 18 Oct
- 1.4%Chance of exploitation in 30 days, higher than 72% of scored CVEs
- NoFix available: No fix on record
How we decide
Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.
What it isNVD
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.
Exploit requirementsfrom the CVSS 3.1 vector
- Where from
- Remotely, over the network
- Login
- A regular user account
- User action
- None needed
- Conditions
- None stated in the score
Also needed, according to the published text
- The attacker must be able to reach MCP server settings or build a flow with the MCP Tools component“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” · the CVE record
- With AUTO_LOGIN disabled, the attacker must have an authenticated account“with it disabled, any authenticated (non-admin) user can exploit it” · the CVE record
Higher than 72% of scored CVEs
ExploitationProof of concept public
ExploitationProof of concept public
Not in CISA KEV as of catalogue 2026.11.27 (27 Nov)
- Proof of concept public1 public GitHub repository (unverified), listed by PoC-in-GitHub18 Oct
Not seen so far: in CISA KEV · exploited (reported) · scanning observed.
Weakness and public checksOS Command Injection
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- OS Command Injection · Command and Code Injection
Related CVEslangflow
Other CVEs in langflow
Every published CVE for langflow-ai langflow, by how far exploitation has gone. This one is among them.
What changed2 changes, latest 12 Nov
What changed
- FIRST’s EPSS score rose from 0.8% to 1.5%, past 1% FIRST
- PoC-in-GitHub lists 1 public GitHub repository (unverified) PoC-in-GitHub
Coverage1 article · 1 outlet
Coverage1 article · 1 outlet
First in our coverage: The Hacker News, 15 Oct.
- Langflow RCE flaw lets any authenticated user run malicious commandsThe Hacker News · first in our coverage · mentions it in passing
New articles also arrive in the RSS feed.