CVE-2026-12940
Published:July 30, 2026
Updated:August 06, 2026
IBM Langflow OSS 1.0.0 through 1.10.1 are vulnerable to unauthenticated remote code execution via environment variable injection in the MCP (Model Context Protocol) stdio launcher. The vulnerability exists in src/lfx/src/lfx/base/mcp/util.py where the DANGEROUS_ENV_VARS blocklist fails to include SHELLOPTS , BASHOPTS , and PS4 environment variables.
Affected Packages
langflow (CONDA):
Affected version(s) =1.10.1 <1.10.2Fix Suggestion:
Update to version 1.10.2https://github.com/langflow-ai/langflow.git (GITHUB):
Affected version(s) >=v1.7.0 <v1.10.2Fix Suggestion:
Update to version v1.10.2langflow (PYTHON):
Affected version(s) >=1.0.0 <1.10.2Fix Suggestion:
Update to version 1.10.2Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.48