Remote Code Execution Vulnerability in IBM Langflow
CVE-2026-12940
9.8CRITICAL
What is CVE-2026-12940?
IBM Langflow OSS versions 1.0.0 through 1.10.1 are exposed to a remote code execution vulnerability due to improper handling of environment variables in the MCP (Model Context Protocol) stdio launcher. Specifically, the vulnerability lies in the failure of the software to include critical variables like SHELLOPTS, BASHOPTS, and PS4 in its DANGEROUS_ENV_VARS blocklist, potentially allowing attackers to execute arbitrary code without authentication.
Affected Version(s)
Langflow OSS 1.0.0 <= 1.10.1