Skip to content
RedCVE

CVE-2026-105697Langflow AI Langflow OS command injection

langflow-aiPublished:

CVSS score

9.9

Critical

CVSS 3.1 from github.com

Exploit probability (EPSS)

1.49%

1.49% chance of exploitation in the next 30 days, higher than 74.8% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running langflow-ai Langflow-base, langflow-ai Lfx and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Langflow to 0.10.3, 1.10.3 or later, on the branch you run.
    • Update Lfx to 1.10.3 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

Affected productsVersions
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

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-105697 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-105697?

CVE-2026-105697 has a CVSS 3.1 base score of 9.9 (critical).

Which versions are affected?

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)

Is there a patch for CVE-2026-105697?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.