Langflow CVE-2026-105740: How the MCP Stdio Flaw (CVSS 9.9) Works, and Why It Has Already Drawn Over 1,400 Exploitation Attempts

By Carlos Montiel | Enterprise AI Specialist
Leer en español →
Published: 2026-10-26 | By: Carlos Montiel | Reading time: ~5 minutes
Langflow CVE-2026-105740: How the MCP Stdio Flaw (CVSS 9.9) Works, and Why It Has Already Drawn Over 1,400 Exploitation Attempts

Langflow, the open-source platform for building agent flows, has a remote command execution flaw (CVE-2026-105740, CVSS 9.9) that any authenticated user can trigger without being an administrator. Previdian's honeypots have logged 1,423 exploitation attempts since September 19.

How the Flaw Works

Langflow lets you plug MCP servers into an agent flow. With the "Stdio" transport, the MCP server is really just a local command. In versions before 1.9.0, the command field submitted by the user was passed to bash -c "exec {command}" with no validation, allowlist or sandbox. The env field also accepts arbitrary variables, which opens the door to tricks like LD_PRELOAD or replacing PATH.

The flow described by The Hacker News has two steps. First, a regular (non-admin) user sends a POST to /api/v2/mcp/servers/{name} with the malicious command, and the configuration is stored as-is. Then a GET to /api/v2/mcp/servers?action_count=true lists the servers and, in doing so, runs the command. Because the configuration is saved in the project settings, it runs again every time the list loads and isn't visible in a normal review of the flow.

CVE: CVE-2026-105740 (advisory GHSA-7w94-79vh-5mr2) CVSS: 9.9 (critical) Affected: Langflow before 1.9.0 Requirement: authenticated account (not admin) Surface: MCP "Stdio" transport → bash -c "exec {command}"

What the Honeypots Saw

According to the Previdian alert cited by The Hacker News (October 15, 2026), the honeypot logged 1,423 attempts since September 19, coming from 27 IP addresses in 15 countries. Activity picked up on October 11, with 333 attempts in a single day; the figure was later updated to 1,706 attempts from 28 IPs.

The pattern is that of an attacker who doesn't depend on a login bug: they check the Langflow version, try /api/v1/auto_login (which the honeypot had disabled and which returned 403), sign in with a common credential and use the token against the vulnerable endpoint. The observed payloads looked for environment variables such as LANGFLOW_SECRET_KEY and LANGFLOW_SUPERUSER_PASSWORD to send them to an external server, Docker commands to reach the host filesystem, reads of /etc/passwd, and id and whoami probes.

An important caveat: the figures come from a single vendor (Previdian) and a honeypot, not from confirmed production incidents. The sources I checked didn't list it in CISA's KEV catalog at the time of writing, and the attackers' goal is unclear.

Why It Matters Beyond Langflow

This isn't the first MCP Stdio flaw on the same platform: THN mentions CVE-2026-105697, another command injection through MCP server configuration (CVSS 9.9, fixed in 1.10.3), and the most active IP has also been linked to attacks on Flowise (CVE-2026-69255) and other Langflow flaws. The pattern is structural: when an agent orchestrator lets the user define "which command starts the tool," that feature is, by design, code execution. The security question becomes who can create MCP servers and with what privileges the process runs.

How to Mitigate It

What this means for your company: if your team prototyped agents with Langflow or Flowise and an instance is still reachable from the internet, treat it as a server with code execution. Inventory these "internal" tools, separate who can register MCP connectors, run the process as an unprivileged user with no access to the Docker socket, and keep secrets out of the process's environment variables.
Carlos Montiel
Enterprise AI Solutions Architect
Specialist in LLMs, Agents, and Orchestration
guatemalia.com/#contacto · info@guatemalia.com

Need to implement AI in your company?

Carlos Montiel is an enterprise AI solutions architect. He implements LLMs, Agents, RAG, and orchestrators for companies across Guatemala and Latin America. Reach out for a consultation.

Contact Carlos Montiel

info@guatemalia.com