CVE-2026-12940: Vulnerability in Langflow
Critical. 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.
CWE-78
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-78
- Published
- 30 Jul 2026
- Last change
- 23 Oct 2026
Affected products
Affected versions and the first fixed release
- Langflow From 1.0.0 before 1.10.2. Fixed in 1.10.2
Advisories
Vendor and security advisories
Related
- Langflow vulnerabilities Recent advisories, watch this product