Skip to content
IBMCVE-2026-12940

IBM Langflow OSS: remote code execution

Critical9.8CVE-2026-12940 · Published Jul 30, 2026 · updated Aug 4, 2026

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.

IBM advisory

Affected versions

PackageAffectedFixed in
Langflow OSS
Product
>= 1.0.0, <= 1.10.1No fix yet
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-78

More IBM advisories

All IBM
Advisory
IBM WebSphere Application Server: remote code execution
High8.5Jul 30
IBM Langflow OSS: code injection
Critical9.9Jul 30
UCD - IBM: information disclosure
Medium4.3Jul 30
IBM Langflow OSS: improper input validation
Critical9.9Jul 30
IBM Langflow OSS: attacker could access another user's private vector
High8.1Jul 30
IBM Langflow OSS: path traversal
High7.5Jul 30

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.