SecurityContext

CVE-2026-105697: Langflow - Command Injection

  • Cve: CVE-2026-105697
  • Name: Langflow - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary OS commands on the Langflow host, potentially leading to full system compromise.
  • Remediation: Update to Langflow 1.10.3, langflow-base 0.10.3, or lfx 1.10.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker needs access to MCP server settings or MCP Tools component; default config allows unauthenticated access via auto-login token.
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.01494
  • Epss percentile: 0.74828
  • Assignee: [email protected]
  • Published at: 2026-10-05T21:16:35Z
  • Age in days: 50
  • Modified at: 2026-10-09T20:17:09Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-105697
  • Nvd status: undergoing_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirement type

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Hackerone

  • Reports: 1
  • Rank: 737

Public exploits

UrlSourceAdded date
https://github.com/Iceman2050/mcp-patch-gap-scannerpoc-in-github2026-10-18

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d
https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0
https://github.com/langflow-ai/langflow/pull/12290
https://github.com/langflow-ai/langflow/pull/14036
https://github.com/langflow-ai/langflow/releases/tag/v1.10.3
https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2
https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45
https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem
https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp

Products

ProductAffectedPlatform boundSourcesUrl
langflow:langflow>= 1.1.2, < 1.10.3nocna_alias_text/v1/products/langflow/langflow

Projects

RepositoryLink kindsIndexedUrl
langflow-ai/langflowcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/langflow-ai/langflow

Index

  • Repositories: 2
  • Repositories high signal: 2
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-10-18
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 2920
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since