CVE-2026-12940
Langflow is affected by remote code execution due to multiple unauthenticated and insufficiently authorized API endpoints
CRITICAL 9.8EPSS 0.9%
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
- IBM · Langflow OSS
- CVSS v3.1 IBM
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.94% chance of exploitation in the next 30 days, 60th percentile
- Published
- 2026-07-30
- Updated
- 2026-07-31
Proof-of-concept exploits (1)
- BiiTts/CVE-2026-12940-Langflow-Unauth-RCE4★ · 2026-08-03