CVE-2026-12940

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductLangflow
PublishedJul 30, 2026
First seenJul 30, 2026

How to fix

Update
  • langflow langflow1.10.2 or later

Affected products

ProductAffected versionsFixed in
langflow langflow1.0.0 ≤ v < 1.10.21.10.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.