Skip to main content

CVE-2026-105697: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in langflow-ai langflow

0
Critical
VulnerabilityCVE-2026-105697cvecve-2026-105697cwe-78
Published: 10/05/2026 (10/05/2026, 20:16:58 UTC)
Source: CVE Database V5
Vendor/Project: langflow-ai
Product: langflow

Description

CVE-2026-105697 is a critical OS command injection vulnerability in langflow-ai's Langflow tool prior to version 1.10.3. It allows users with access to MCP server settings or the MCP Tools component to execute arbitrary OS commands on the host running Langflow. The vulnerability arises because user-supplied commands are executed without an allowlist and wrapped in a bash shell, leading to command injection. The default configuration with LANGFLOW_AUTO_LOGIN=true allows unauthenticated access to exploit this flaw. The issue is fixed in Langflow 1.10.3 and related components.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

langflow-ai

langflow

Affected versions
>=1.1.2 <1.10.3

langflow-ai

langflow-base

Affected versions
>=0.1.2 <0.10.3

langflow-ai

lfx

Affected versions
<1.10.3
langflow-ai/langflow
pkg:pypi/langflow-ai/langflow
Affected versions
<1.10.3>=1.1.2 <1.10.3
langflow-ai/langflow-base
pkg:pypi/langflow-ai/langflow-base
Affected versions
<0.10.3>=0.1.2 <0.10.3
langflow-ai/lfx
pkg:pypi/langflow-ai/lfx
Affected versions
<1.10.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/05/2026, 21:33:30 UTC

Technical Analysis

Langflow versions before 1.10.3 contain an OS command injection vulnerability (CWE-78) in the MCP stdio transport feature. The MCP server configuration accepts arbitrary commands from users without validation or allowlisting, executing them on the Langflow host as the Langflow process user. This occurs when Langflow attempts to connect to the configured MCP server, including during server listing, tool loading, or flow execution. The default LANGFLOW_AUTO_LOGIN=true setting allows unauthenticated attackers to obtain tokens and exploit this remotely. The vulnerability is fixed in Langflow 1.10.3, langflow-base 0.10.3, and lfx 1.10.3.

Potential Impact

Successful exploitation allows an attacker with access to MCP server settings or the MCP Tools component to execute arbitrary OS commands on the Langflow host with the privileges of the Langflow process user. This can lead to full system compromise, including data loss, system disruption, or remote code execution. The default auto-login setting exacerbates risk by allowing unauthenticated exploitation on exposed instances.

Mitigation Recommendations

This vulnerability is fixed in Langflow 1.10.3, langflow-base 0.10.3, and lfx 1.10.3. Users should upgrade to these versions or later. Additionally, disable the LANGFLOW_AUTO_LOGIN setting in production environments to prevent unauthenticated access. Restrict access to MCP server settings and the MCP Tools component to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-05T17:48:58.627Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac415412cdf04f6563b25dd

Added to database: 10/05/2026, 21:23:13 UTC

Last enriched: 10/05/2026, 21:33:30 UTC

Last updated: 10/05/2026, 21:33:30 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses