LIVE LOG · entries last verified against sources October 14, 2026 · site updated Oct 15, 2026, 10:28 PM ET

← All incidents

CVE-2026-105740 and CVE-2026-105697: Langflow's MCP server settings let any logged-in user run commands on the server

Vulnerability · Langflow · CRITICAL

Incident dateNot stated
DisclosedSep 10, 2026 (GitHub advisory GHSA-7w94-79vh-5mr2) and Sep 28, 2026 (GHSA-w794-rj3p-xv45). NVD published both CVEs Oct 5, 2026. Fixes released Apr 14, 2026 (1.9.0) and Jul 23, 2026 (1.10.3). Added here as a backfill on Oct 15, 2026.
Added hereOct 15, 7:45 PM ET
Last verifiedOct 15, 2026

Summary

Langflow, the open-source tool for building AI agents and workflows, has two critical advisories for the same weakness in how it starts MCP servers over the stdio transport. Before the fixes, the command a user typed into an MCP server configuration was run on the Langflow host with no allowlist, inside bash -c. GitHub advisory GHSA-7w94-79vh-5mr2 (CVE-2026-105740, published Sep 10, 2026) covers the Add MCP Server settings path, fixed in Langflow 1.9.0. GHSA-w794-rj3p-xv45 (CVE-2026-105697, published Sep 28, 2026) covers the remaining paths, such as MCP configs embedded in flows, and says the issue is fully fixed in Langflow 1.10.3. Both are rated CVSS 3.1 9.9. With Langflow's default auto-login setting, the advisory says an exposed instance can be attacked without an account. NVD published both CVE records on Oct 5, 2026. The fixes shipped months before disclosure. On Oct 15, 2026, The Hacker News reported that security firm Previdian's honeypots had logged 1,423 attempts to exploit CVE-2026-105740 since Sep 19, 2026, from 27 IP addresses. We have not seen exploitation reports for CVE-2026-105697.

Severity

CRITICAL Critical (CVSS 3.1 9.9 from the GitHub advisories; network attack, low privileges, no user interaction). Any account can run OS commands on the host, and with the default LANGFLOW_AUTO_LOGIN=true no account is needed on an exposed instance. Fixed in 1.10.3 since Jul 23, 2026. Previdian reports active exploitation attempts against CVE-2026-105740 on its honeypots. Neither CVE is in CISA's Known Exploited Vulnerabilities catalog as of Oct 15, 2026, though the catalog lists six other Langflow CVEs.

Timeline

  1. Mar 27, 2026
    Langflow merges pull request #12290, adding a command allowlist and argument and environment checks to the MCP server API.
  2. Apr 14, 2026
    Langflow 1.9.0 is released with that change, closing the Add MCP Server path.
  3. Jul 14, 2026
    Pull request #14036 is merged, applying the same checks where the process is spawned and dropping the bash -c wrapper.
  4. Jul 23, 2026
    Langflow 1.10.3 is released with the full fix.
  5. Sep 10, 2026
    Langflow publishes GitHub advisory GHSA-7w94-79vh-5mr2.
  6. Sep 19, 2026
    Previdian's honeypots record the first exploitation attempts against CVE-2026-105740, according to The Hacker News.
  7. Sep 28, 2026
    Langflow publishes GitHub advisory GHSA-w794-rj3p-xv45.
  8. Oct 5, 2026
    NVD publishes CVE-2026-105740 and CVE-2026-105697.
  9. Oct 11, 2026
    Attempts jump to 333 in a single day, per Previdian's data.
  10. Oct 15, 2026
    The Hacker News reports Previdian's alert: 1,423 attempts from 27 IP addresses since Sep 19.

How it happened

Langflow can connect agents to MCP servers, and a stdio MCP server is just a local program Langflow starts and talks to. The settings page (Settings, MCP Servers, Add MCP Server) and the POST and PATCH /api/v2/mcp/servers/{server_name} endpoints accepted a command, arguments and environment variables from any authenticated user, not only admins. In versions 1.5.0 through 1.8.x, Langflow ran the stored command through bash -c "exec {command}" without any validation, and it did so as soon as it tried to connect, for example when listing servers or loading tools, even if the UI then said the server failed to start. The env field also allowed variables such as LD_PRELOAD or a changed PATH. Langflow's default LANGFLOW_AUTO_LOGIN=true hands out a token from GET /api/v1/auto_login without credentials, so on an exposed instance with default settings an attacker does not need an account. The advisory notes auto-login is documented as a development-only setting. Langflow 1.9.0 blocked commands outside an allowlist at the API, but MCP configs that reached the spawn code by other routes, such as configs embedded in flows or tweaks and the older MCP Stdio component, were still unchecked. Langflow 1.10.3 enforces the policy at every entry point and right before the process starts, and launches it without a shell. The second advisory says the reporter found several internet-facing Langflow servers that were vulnerable. It also notes that the allowlist still lets npx and uvx run any package by default, so multi-tenant deployments need extra settings. In one attack sequence Previdian described to The Hacker News, the attacker checked the Langflow version, tried /api/v1/auto_login, and when that was disabled signed in with a common username and password, then went straight to the MCP server configuration endpoint. Captured payloads tried to send LANGFLOW_SECRET_KEY and LANGFLOW_SUPERUSER_PASSWORD from the environment to an outside server, read host files through Docker, or ran simple probes such as id and whoami.

How to check your app

Sources

Corrections and updates

  1. Oct 15, 2026
    Added Previdian's report, via The Hacker News, of 1,423 honeypot exploitation attempts against CVE-2026-105740 since Sep 19, 2026, plus the attack pattern it observed and two new checks. We previously said no exploitation of these CVEs had been reported.