Critical severity · published Jul 30, 2026
CVE-2026-12940
Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints
9.8
CVSS
0.9%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LO
Langflow OSS · IBM
1.0.0 through 1.10.1 · source: vendor
LA
Langflow · Langflow
1.0.0 before 1.10.2 · source: NVD
Affected product
LO
Langflow OSS
IBM
More from Langflow OSS
9.8
CVE-2026-9198
Unauthenticated Remote Code Execution via Auto-Login Bypass and Code Validation
10.0
CVE-2026-10134
Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows
10.0
CVE-2026-10561
Unauthenticated Remote Code Execution in Langflow OSS PythonREPLComponent via Builtins Injection
9.9
CVE-2026-19295
Langflow is affected by multiple remote code execution vulnerabilities due to insufficient code-execution policy enforcement
9.9
CVE-2026-12946
Remote Code Execution in CUGA Component CodeAgent