SocWatch

CVE-2026-105697

Kritisch 9,9 PoC auf GitHub

Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration

CVSS
9,9 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
1,49 % (höher als 74,9 % aller Lücken)
Veröffentlicht
05.10.2026
Zuletzt geändert
09.10.2026

Öffentlicher Angriffscode

Ein Proof of Concept auf GitHub, darunter Iceman2050/mcp-patch-gap-scanner. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.

Beschreibung

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.

Betroffene Pakete

Paket Betroffen Behoben in
PyPI langflow ab 1.1.2 vor 1.10.3 1.10.3
PyPI langflow-base ab 0.1.2 vor 0.10.3 0.10.3
PyPI lfx alle Versionen vor 1.10.3 1.10.3

Quellen

Weitere Kennungen

GHSA-w794-rj3p-xv45 · PYSEC-2026-4237 · PYSEC-2026-4239 · PYSEC-2026-4241 · CWE-78

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.