---
title: "CVE-2026-105697: Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration"
url: https://erroneo.us/security/cve/CVE-2026-105697/
description: "CVE-2026-105697 (langflow (PyPI)): Langflow is a tool for building and deploying AI-powered agents and workflows. Before Langflow 1.10.3, the MCP stdio…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-10-05
date_modified: 2026-10-09
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-105697"
kev: false
cvss: 9.9
epss: 0.00471
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.5% , percentile 40: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 40% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes langflow (PyPI) >= 1.1.2, < 1.10.3, fixed in 1.10.3 ; langflow-base (PyPI) >= 0.1.2, < 0.10.3, fixed in 0.10.3 ; lfx (PyPI) < 1.10.3, fixed in 1.10.3 . Check your lockfile, including transitive dependencies.

## What it is

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/{servername}) 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 LANGFLOWAUTOLOGIN=true, GET /api/v1/autologin hands out a token without credentials, so on an exposed instance running the default configuration this is reachable without an account. AUTOLOGIN 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.

## Affected packages

- PyPI `langflow` >= 1.1.2, < 1.10.3 → fixed: 1.10.3
- PyPI `langflow-base` >= 0.1.2, < 0.10.3 → fixed: 0.10.3
- PyPI `lfx` < 1.10.3 → fixed: 1.10.3

## Affected products (CVE record)

- 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

## Severity

- GitHub_M CVSS 3.1: 9.9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.47% probability of exploitation activity in the next 30 days; percentile 40.

## Sources

- [GitHub Advisory GHSA-w794-rj3p-xv45](https://github.com/advisories/GHSA-w794-rj3p-xv45)
- [CVE.org record CVE-2026-105697](https://www.cve.org/CVERecord?id=CVE-2026-105697)
- [NVD entry CVE-2026-105697](https://nvd.nist.gov/vuln/detail/CVE-2026-105697)
- [github.com](https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45)
- [github.com](https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2)
- [github.com](https://github.com/langflow-ai/langflow/pull/12290)
- [github.com](https://github.com/langflow-ai/langflow/pull/14036)
- [github.com](https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d)
- [github.com](https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0)
- [github.com](https://github.com/langflow-ai/langflow/releases/tag/v1.10.3)
- [ox.security](https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem)
- [ox.security](https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp)

---
Source page: https://erroneo.us/security/cve/CVE-2026-105697/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
